All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
SSHD install failing
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
SSHD install failing - Aug. 29, '06, 4:23:39 PM
|
|
|
higgs_bo
Posts: 2
Joined: Mar. 7, '06,
Status: offline
|
SSHD eval copy install failing with what appears to be pkg_add errors:
We will now do configuration of the installation.
Check that the most current Interix installer is installed.
Starting checks for updates
Done.
The most current Interix installer is installed.
Checking for shared library support
Adding needed shared library support
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
pkg_add(sharedgcc-5.2.0-bin): tar extract of /dev/fs/C/Program Files (x86)/Inter
opSecureShell/5.2-authenticamd/sharedgcc-5.2.0-bin.tgz failed!
pkg_add(sharedgcc-5.2.0-bin): unable to extract table of contents from `/dev/fs/
C/Program Files (x86)/InteropSecureShell/5.2-authenticamd/sharedgcc-5.2.0-bin.tg
z'
Is this a Package, or a simple .tgz archive ? See tar(1).
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
pkg_add(sharedlibs-5.2.0-bin): tar extract of /dev/fs/C/Program Files (x86)/Inte
ropSecureShell/5.2-authenticamd/sharedlibs-5.2.0-bin.tgz failed!
pkg_add(sharedlibs-5.2.0-bin): unable to extract table of contents from `/dev/fs
/C/Program Files (x86)/InteropSecureShell/5.2-authenticamd/sharedlibs-5.2.0-bin.
tgz'
Is this a Package, or a simple .tgz archive ? See tar(1).
Shared library support added
Configuring InteropSecureShell packages/components.
Resolve any conflicts first.
Resolve all packages now.
Starting checks for updates
Trying to add/update package issh
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
pkg_add(issh-4.2.0.2-bin): tar extract of /dev/fs/C/Program Files (x86)/InteropS
ecureShell/3.5-x86/issh-4.2.0.2-bin.tgz failed!
pkg_add(issh-4.2.0.2-bin): unable to extract table of contents from `/dev/fs/C/P
rogram Files (x86)/InteropSecureShell/3.5-x86/issh-4.2.0.2-bin.tgz'
Is this a Package, or a simple .tgz archive ? See tar(1).
pkg_update: Problem updating package. Continuing. : Undefined error: 0
Done.
All packages/components are now installed and configured.
Press the Enter key to continue
Anybody else experiencing the same problem?
This works on several other machines. The servers are identical in OS, os version, cpus, Service packs, SUA version.
|
|
|
RE: SSHD install failing - Aug. 29, '06, 6:23:38 PM
|
|
|
higgs_bo
Posts: 2
Joined: Mar. 7, '06,
Status: offline
|
Greg,
Thanks for the info. It's funny here because we are DBAs members of the administrators group and can install SSHD fine on other identical hosts.
The difference on this install was the addition of the SDK. Apparently the SA that installed the SDK had trouble re-installing SUA and the SDK.
It appears the un-install is the process that does not work correctly. FIle timestamps exist from the original SUA install.
I'm having an SA completely remove the files/dirs and edit the registry.
We'll see if the re - install works.
Thanks again,
-Tracy
|
|
|
RE: SSHD install failing - Aug. 30, '06, 11:09:02 AM
|
|
|
gwojan
Posts: 28
Joined: Apr. 28, '04,
Status: online
|
There's nothing in the registry that I can tell that would really affect the install. All the problems I've had result from the default Windows permissions applied to the SUA/SFU install directory. I'm not sure who actually sets/resets Windows permissions -- the SFU/SUA or the tools install.
If I look at the perms on the SFU/SUA on a machine in which I installed the tools as the local Administrator -- the local Administrator account is the only one that has write privilges into the /var/db/pkg directory. The Administrators GROUP only has read/execute privs.
--Greg
|
|
|
RE: SSHD install failing - Aug. 30, '06, 12:38:36 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
If you do a "chmod g+w /var/db /var/db/pkg" that should clear it up.
I spent last night looking into this more. I've made changes to the pkg
tools to check and correct this on a go-forward basis for the default location
and any location named by the environment variables. There are some other updates
and extensions too. I hope to release this later today. I have to roll through
and update the CD's after that (which will take longer).
|
|
|
RE: SSHD install failing - Aug. 30, '06, 6:03:59 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
> Anyway, I'll do my best/worst to try and break things for you.
thanks, I think
It's something that showed up elusively. Your posting helped clarify it. thanks.
> Along the same line, is there any reference material that discusses the issues of Windows NTFS permissions vs. Interix shell permissions? Am I trying to make things harder than they really are?
The Interix/Unix permissions that you see are interpretations of the underlying filesystems permissions.
Whatever the fileystem the permissions are still kept on that filesystem as "native" (for lack of a better term).
References, mmm, I remember Mark wrote something up about 10 years ago. But I don't know where that is now.
I might see Mark or John (the guy who was the Tech Writer at Softway) in a couple hours. I'll ask them.
For NTFS it can be as simple as 3 ACE's in the ACL. But it's usually more to ensure proper behavior.
So often there is a deny ACE or two added in. A twisted example is when a file denies the user/owner read
permission while group and other can read the file.
> In the past it has been mentioned that you shouldn't change perms on the SFU/SUA folders with Explorer. However, I would like to understand some of the reasons for this.
The simple reason is File Explorer (FE) is an idiot about ACL's.
The order of ACE's in an ACL matter. FE will rearrange the order of the ACE's.
The change of order changes the meaning -- particularly when deny ACE's are involved.
Additionally FE groups or masks settings from the ACE's. What you see is not what
is actually there -- FE is showing its interpretation. So it can result in settings/actions
that you don't want. The "fine control" gets lost. Doing a comparison of the API's to the
behavior of "cacls" and FE can tease this out too -- it's a lot of API reading though.
> Please try and set my clueless soul straight.
I've made the assumption you know about ACL's and ACE's.
But finding a useful web page is hard. I've read some good overviews in books.
Most books just rehash what a Win32 user sees (not useful).
This MS web page is a basic overview of ACL's and ACE's:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/how_dacls_control_access_to_an_object.asp
It's not a lot to read but it gives the clear rules about when access is given or denied.
From this you can see why ACE order matters.
|
|
|
RE: SSHD install failing - Aug. 30, '06, 11:13:58 PM
|
|
|
markfunk
Posts: 669
Joined: Mar. 31, '03,
Status: offline
|
here's a link to the white paper I wrote:
http://www.microsoft.com/technet/interopmigration/unix/sfu/sfu3perm.mspx
|
|
|
RE: SSHD install failing - Sep. 1, '06, 6:35:43 AM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
But I'm not getting the SEGV you see. It's pkg_add SEGV'ing not pkg_update
by the way the messages appears, which makes it kinda worse for you. It's kinda late
right now -- let me think on it a bit more.
|
|
|
RE: SSHD install failing - Sep. 3, '06, 2:08:27 AM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
I've placed a script at ftp://ftp.interopsystems.com/pub/patchbin for you.
Download the script to, say, "/tmp". Then run it ("sh patchbin") as the
local administrator or member of the administrators group.
Then give it try and do your "pkg_update -a" again.
Let's do any followups on the thread http://www.interopsystems.com/tools/tm.aspx?m=9939
to keep it all in one posting (this thread isn't really the right one now). Thanks.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|