Displaying 20 results from an estimated 10000 matches similar to: "Subject: RE: so called hang-on-exit bug"
2002 Aug 07
2
so called hang-on-exit bug
>
> Yes, you can "police" these things as a sysadmin. How? Use
> /usr/proc/bin/ptree, ps, lsof and what not to find all sshd
> processes and their associated ptys - the sshds that have no
> children processes but whose master pty's slave pty still has
> processes associated with said pty, those are the sshds that must be
> killed in order to clean up (or you
2001 Oct 07
3
socks and misc patch to 2.9.9p2
Attached is a very small patch that allows the ssh clients to use the
socks5 library. It should work with socks4 but is untested.
Tested on linux only
configure --with-socks
configure --with-socks5
Also included is a configure option to disable scp statistics
--disable-scp-stats
modified files
openssh-2.9.9p2/acconfig.h
openssh-2.9.9p2/channels.c
openssh-2.9.9p2/configure.in
2002 Aug 07
1
Unrelated (was RE: so-called-hang-on-exit)
Add -n to the ssh command line - see if that fixes it.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent: Wednesday, August 07, 2002 11:15 AM
> To: openssh-unix-dev at mindrot.org
> Subject: Re: so-called-hang-on-exit
>
>
> That may be, but it only "hangs" when run from cron, if I run it
> manually it executes
2002 Aug 06
0
(no subject)
> On Tuesday, August 06, Michael Robinton wrote:
> > Make it an option that can be set in both sshd-config and
> > ssh-config so
> > that both client and server operators have the choice to
> > never lose data
> > or to always disconnect, damn the data, full speed ahead :-)
>
> You can't make it a client-side option if it's implemented on the
>
2002 Jul 31
18
so-called-hang-on-exit
so, should this go into 3.5?
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.103
diff -u -r1.103 serverloop.c
--- serverloop.c 24 Jun 2002 14:33:27 -0000 1.103
+++ serverloop.c 12 Jul 2002 16:34:20 -0000
@@ -388,6 +388,11 @@
buffer_append(&stderr_buffer, buf, len);
}
}
+ /*
2002 Aug 08
2
The complete answer (was Re: so-called-hang-on-exit)
Ok, so I think I have a complete explanation for the difference between
the *BSD behaviour and the Linux/Solaris behaviour. Well, almost
complete :)
Pull out your trusty copies of "The Design and Implementation of the
4.4BSD Operating System" as well as "Unix Internals: The New Frontiers".
Specifically, pages 111-112 and 344 of the former and page 108 of
the latter.
It comes
2001 Dec 10
10
hang on exit bug under Linux
>From what I understand, the problem is due to people's disagreement about what the "correct" behavior should be. I'm pretty sure that the following is the correct behavior from running rsh and ssh often (both fsecure and openssh).
Lets say you have a stupid script that does
while 1
do
sleep 1
done
Called foreverSleep on your remote host:
rsh remotehost
2007 Feb 27
2
wine or wine-preloader exit with code 2 on x86_64
Hello,
I have build wine with the help of wiki WineOn64bit
LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32"
./configure --prefix=/opt/wine --datadir=/usr/share
But wine or wine-preloader always return 2 as you can see :
[root@nico wine-0.9.31]# loader/wine-preloader
[root@nico wine-0.9.31]# echo $?
2
[root@nico wine-0.9.31]# ./wine --version
2003 Apr 06
1
[Bug 537] Identification should depend on port number
http://bugzilla.mindrot.org/show_bug.cgi?id=537
Summary: Identification should depend on port number
Product: Portable OpenSSH
Version: 3.5p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy:
2002 Nov 22
4
smbd weirdness
I have two identical installations of samba v2.25 on linux boxes. On one
system everything works fine but on the other, copies of smbd start but
never terminate. The result is that the winduhs boxes that are trying to
access the samba share get locked out and never find the samba server. The
configurations of the two systems are identical and I am unable to
determine why one works and the other
2002 Jul 12
0
[Bug 273] sshd hangs on shell exit if user spawned child with/bin/nohup
Perhaps the man page should be fixed then, because neither
rsh nor rlogin provide any kind of port forwarding, or X11
forwarding, etc...
Also, the comparison between ssh and rsh is more appropriate
if you're talking about SSHv1 and much less so if you're
talking about SSHv2.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent:
2002 Aug 07
1
Unrelated (was RE: so-called-hang-on-exit)
"ssh -n ..." means ssh will close stdin and open /dev/null for stdin. It does not mean losing th eoutput of ssh.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent: Wednesday, August 07, 2002 12:11 PM
> To: openssh-unix-dev at mindrot.org
> Subject: Re: Unrelated (was RE: so-called-hang-on-exit)
>
>
> Sadly, no such
2001 Nov 14
6
[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay
The hang-on-exit bug still hasn't been fixed in OpenSSH-3.0p1... :-(
Here again is the patch to fix this bug under Linux, updated for OpenSSH-3.0p1.
This has been exhaustively tested for six months now. It also add an exit
delay option that can be useful.
The patch does not lead to data loss under Linux.
Please see the Secure NFS page (SNFS) for further details:
2006 Jan 13
1
missing Enum class (windows install)
Hey, mac died this week (launch is Monday), trying to deal by getting
Windows set up for development. I''ve got everything up and running,
but when I try to hit my app I get an "unitialized contstant Enum
error". Sure enough, enum.rb doesn''t exist (according to windows
search) on the machine.
Now I''m trying to figure out how to fix this. I installed Ruby by
2001 Mar 11
6
what about socks support?
Is there any plan to add socks 4 or socks 5 support to openssh like
the original ssh developed in finland??
Michael
Michael at bizsystems.com
2005 Dec 10
2
known_hosts and multiple hosts through a NAT router
The .ssh/known_hosts table cannot handle reaching different sshd
servers behind a NAT router. The machines are selected by having
the SSHDs respond to differnt ports.
A second request would be to allow known_hosts checking solely on
the dns name, wildcarding the IP address. This would be useful
to avoid continuously warning the user every time you connect
to a machine with a changing IP address
2019 Feb 04
3
Signing KRLs?
Hi!
While reading through PROTOCOL.krl I came across "5. KRL signature sections".
If my understanding is correct - and that's basically what I would like to
get knocked down for if appropriate ;) - this is a way for SSHDs to ensure
they only accept KRLs signed by a trusted CA.
However, I cannot seem to find a way to actually _sign_ a KRL with ssh-keygen?
The aforementioned
2001 Oct 26
2
SSHv2 sshd exit criteria
When should sshd disconnect an SSHv2 connection?
Markus Friedl says "for protocol v2 the client decides when to close the
connection."
In principle, I agree, because SSHv2 supports multiple sessions over the
same connection, with the client able to launch new sessions anytime
then it should be upto the client.
But this would be a major cultural change for most users, and would
break
2001 Oct 03
5
hang on exit - bug or no bug?
The hang on exit has become quite an issue in my organization(Sun and HP
hosts). I see this note in the changelog which indicates that there
will not be a fix for this problem:
20001129
- (djm) Back out all the serverloop.c hacks. sshd will now hang again
if there are background children with open fds.
Also, I am aware of the workaround as noted in the FAQ. However this
workaround is not
2010 Jul 20
1
blank pdf output when called in a loop
Hi,
I'm hitting a strange problem where pdf plots that I'm trying to make
are blank, only when produced from within a loop. The pdf contains 0 page.
I've narrowed the problem to this minimal script that invariably
produces an empty pdf with my setup:
pdf("/local/scratch/1.pdf", width=8, height=8)
for (k in 1) {
wireframe(volcano)
}
dev.off()
The odd thing is that