bugzilla-daemon at mindrot.org
2002-May-17 14:58 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From wknox at mitre.org 2002-05-18 00:58 ------- Same issue with Solaris 8 built with gcc 2.95.2 with the following configure options: --without-rsh --with-tcp-wrappers --with-pam --disable-suid-ssh --with-prngd-socket --with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin Running a ssh -v -v -v hangs up at the following point (I will happily attach the entire output of this if anyone wants) $ exit logout debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 Hung here until sshd killed debug1: channel_free: channel 0: client-session, nchannels 1 debug3: channel_free: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 5/6) debug3: channel_close_fds: channel 0: r 5 w 6 e 7 Connection to oraadm closed by remote host. Connection to oraadm closed. debug1: Transferred: stdin 0, stdout 0, stderr 75 bytes in 55.7 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1.3 debug1: Exit status 0 Unfortunately, running sshd with -d -d -d doesn't completely capture the problem, as the sshd promptly exits after the first connection closes down (though this does point to the fact that sshd is able to close). The only oddity in the sshd -d -d -d is the following message (last message issued before finishing): debug1: Cannot delete credentials[7]: Permission denied ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Nicolas.Williams at ubsw.com
2002-May-17 15:31 UTC
[Bug 245] SSH can not log out under Solaris 2.6
Sounds like a race condition bug. There used to be one like this on the client side at one point. There also used to be one on the server side. Nico --> -----Original Message----- > From: bugzilla-daemon at mindrot.org [mailto:bugzilla-daemon at mindrot.org] > Sent: Friday, May 17, 2002 10:58 AM > To: openssh-unix-dev at mindrot.org > Subject: [Bug 245] SSH can not log out under Solaris 2.6 > > > http://bugzilla.mindrot.org/show_bug.cgi?id=245 > > > > > > ------- Additional Comments From wknox at mitre.org 2002-05-18 > 00:58 ------- > Same issue with Solaris 8 built with gcc 2.95.2 with the > following configure > options: > > --without-rsh --with-tcp-wrappers --with-pam --disable-suid-ssh > --with-prngd-socket > --with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/local/sb > in:/usr/sbin:/sbin > > Running a ssh -v -v -v hangs up at the following point (I > will happily attach > the entire output of this if anyone wants) > > $ exit > logout > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > > Hung here until sshd killed > > debug1: channel_free: channel 0: client-session, nchannels 1 > debug3: channel_free: status: The following connections are open: > #0 client-session (t4 r0 i0/0 o0/0 fd 5/6) > > debug3: channel_close_fds: channel 0: r 5 w 6 e 7 > Connection to oraadm closed by remote host. > Connection to oraadm closed. > debug1: Transferred: stdin 0, stdout 0, stderr 75 bytes in > 55.7 seconds > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1.3 > debug1: Exit status 0 > > Unfortunately, running sshd with -d -d -d doesn't completely > capture the > problem, as the sshd promptly exits after the first > connection closes down > (though this does point to the fact that sshd is able to > close). The only oddity > in the sshd -d -d -d is the following message (last message > issued before > finishing): > > debug1: Cannot delete credentials[7]: Permission denied > > > > > > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
bugzilla-daemon at mindrot.org
2002-May-17 18:54 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 stevesk at pobox.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |js at phil.uu.nl ------- Additional Comments From stevesk at pobox.com 2002-05-18 04:54 ------- *** Bug 247 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-17 19:28 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From stevesk at pobox.com 2002-05-18 05:28 ------- i don't know why yet, but the setsid() added to sshd.c seems to break pty_make_controlling_tty(). will add a patch to try. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-17 19:30 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From stevesk at pobox.com 2002-05-18 05:30 ------- Created an attachment (id=96) remove call to setsid() ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-17 20:16 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From wknox at mitre.org 2002-05-18 06:16 ------- The patch allows logout to occur, and I note that version 3.1p1 run with -d -d -d also ends with "debug1: Cannot delete credentials[7]: Permission denied", so this is not related. I also note that this patch solves the problem reported on openssh-unix-dev at mindrot.org in an e-mail by Greg Jewell <gjewell at cnnxn.com>, wherein hitting Ctrl-C will break a connection (I both confirmed the problem without the patch and the lack of the problem with the patch). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-17 20:27 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From bfriesen at simple.dallas.tx.us 2002-05-18 06:27 ------- The suggested patch resolves the logout problem on my system. Is it the right fix? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-18 01:34 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 stevesk at pobox.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sam at kalessin.jpl.nasa.gov ------- Additional Comments From stevesk at pobox.com 2002-05-18 11:34 ------- *** Bug 249 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-18 01:37 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 stevesk at pobox.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |AVShutko at mail.khstu.ru ------- Additional Comments From stevesk at pobox.com 2002-05-18 11:37 ------- *** Bug 250 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-18 07:48 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From rl at math.technion.ac.il 2002-05-18 17:48 ------- Another manifestation of the bug, on solaris 8, was that the ps command broke, with the message "no controlling terminal". Using the proposed patch solved the problem completely. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-19 23:38 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From robert at gslt.hum.gu.se 2002-05-20 09:38 ------- i think this is related to this bug, compiling 3.2.2p1 for solaris 8, using gcc 3.2 or 2.95.3 will give the following error when logging into tcsh "Warning: no access to tty (Inappropriate ioctl for device). Thus no job control in this shell." in addition to hang on logout. this error does not occur in openssh 3.1p1 on the same machine. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-19 23:43 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From robert at gslt.hum.gu.se 2002-05-20 09:42 ------- right forgot to mention in my earlier comment regarding this bug -- login into sh seems to work just fine. not tcsh though, have not tried other shells ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-20 18:54 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From carson at taltos.org 2002-05-21 04:54 ------- An explanation of the problem is provided by the man page for setsid() on Solaris. I'm fairly sure that the behaviour specified is per POSIX. DESCRIPTION The setsid() function creates a new session, if the calling process is not a process group leader. Upon return the cal- ling process will be the session leader of this new session, will be the process group leader of a new process group, and will have no controlling terminal. The lack of controlling terminal appears to be the key issue. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-21 17:17 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From robert at gslt.hum.gu.se 2002-05-22 03:17 ------- hey the patch, id=96, seemed to fix these problems altogether... :) thanks ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-21 18:40 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From stevesk at pobox.com 2002-05-22 04:40 ------- - (stevesk) [sshd.c] bug 245; disable setsid() for now ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-May-28 10:59 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 ------- Additional Comments From pitu at caipy.de 2002-05-28 20:59 ------- Hi there, additional informations: I installed openssh3.2.2p1 under Solaris 2.6 with the following solution I found in the mailinglist (I wonder that the same error is still in it ...) #define _FILE_OFFSET_BITS 64 (This is already in) #define _LARGEFILE64_SOURCE (This I added) into config.h. So I got also the message that is meantioned from tcsh, it apears when starting a new shell. "Warning: no access to tty (Inappropriate ioctl for device). Thus no job control in this shell." But also I got a similar message when starting bash instead: "bash: no job control in this shell" So if one already applied the patch please check this behavior? greetings, pitu ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Jun-12 00:43 UTC
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.carroll at usap.gov ------- Additional Comments From dtucker at zip.com.au 2002-06-12 10:43 ------- *** Bug 272 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.