bugzilla-daemon at mindrot.org
2006-Jan-03  16:19 UTC
[Bug 1142] sshd: lnode attach failed in setuid
http://bugzilla.mindrot.org/show_bug.cgi?id=1142
           Summary: sshd: lnode attach failed in setuid
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: UltraSparc
        OS/Version: Solaris
            Status: NEW
          Severity: minor
          Priority: P2
         Component: sshd
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: cem.turgay at eurocontrol.int
We are running Solaris 8 on a Sunfire 6800. 
I have successfully compiled and installed Openssh 4.2p1,  
it works but everytime a user uses ssh command
we get a strange message in /var/adm/messages, 
originated from limdaemon (system resource manager)
example:
[scrdux22] /var/adm > grep sshd messages | tail
Jan  3 15:38:39 scrdux22 limdaemon: [ID 347701 daemon.error] Message from pid
26
563, lnode sshd: lnode attach failed in setuid
Jan  3 15:39:18 scrdux22 limdaemon: [ID 348742 daemon.error] Message from pid
26
775, lnode sshd: lnode attach failed in setuid
Jan  3 15:40:28 scrdux22 limdaemon: [ID 988006 daemon.error] Message from pid
27
085, lnode sshd: lnode attach failed in setuid
Jan  3 15:49:38 scrdux22 limdaemon: [ID 210649 daemon.error] Message from pid
29
299, lnode sshd: lnode attach failed in setuid
/opt/OBSDssh/bin/ssh -V
OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005
[scrdux22] /var/adm > uname -a
SunOS scrdux22 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Fire
config string:
 $ ./configure --prefix=/opt/OBSDssh --with-pam --without-rsh --sysconfdir=/etc
 --with-ssl-dir=/usr/local/ssl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-11  11:53 UTC
[Bug 1142] sshd: lnode attach failed in setuid
http://bugzilla.mindrot.org/show_bug.cgi?id=1142
------- Comment #1 from dtucker at zip.com.au  2006-01-11 22:53 -------
The message if from limdaemon not sshd.  Google finds this:
http://docs.sun.com/app/docs/doc/816-7751/6mdo2so14?a=view
[quote]
lnode attach failed in setuid
    If the Solaris Resource Manager software is installed and enabled, then the
setuid system call, in addition to its standard function, attaches the calling
process to the lnode associated with its new real UID. If attachment fails, it
is usually because there is no lnode associated with the new UID.
[/quote]
It sounds like you need to associate an lnode with the UID in question
(whatever that means; I (and sshd) know nothing of lnodes).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-11  12:00 UTC
[Bug 1142] sshd: lnode attach failed in setuid
http://bugzilla.mindrot.org/show_bug.cgi?id=1142 ------- Comment #2 from dtucker at zip.com.au 2006-01-11 23:00 ------- For those wondering (as I was) what the heck an "lnode" is, from Chapter 5 of the URL above: [quote] The Solaris Resource Manager system is built around a fundamental addition to the kernel: a per-user structure called an lnode. An lnode is essentially a fixed-size place in which many kinds of per-user data can be stored and updated. For every unique UID defined in the password map, there should be a corresponding lnode. (This refers to every unique UID returned by successive getpwent(3C)calls.) An lnode may exist without a corresponding password map entry, but this is not recommended. Lnodes are stored on disk and automatically moved in and out of memory by the kernel. In-memory copies of lnodes that have been changed since they were read from disk are written back as part of the regular system synchronization operations, as well as on demand when the sync command is run, or when necessary to free space in the lnode cache for reading in further lnodes. Lnodes are maintained as a tree hierarchy, with the central system administrator as the head of the tree, and other users as group headers of smaller groups of users within the tree. The central administrator is the superuser, or root user of the system. [/quote] It sounds like a local system configuration/administration issue, not a bug in in sshd. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-29  13:26 UTC
[Bug 1142] sshd: lnode attach failed in setuid
http://bugzilla.mindrot.org/show_bug.cgi?id=1142
dtucker at zip.com.au changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
------- Comment #3 from dtucker at zip.com.au  2006-01-30 00:26 -------
Since this appears to be a system configuration issue not a problem with sshd
itself I am closing this bug.  Please reopen if you have any further
information that points to sshd doing something wrong.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.