[Bug 497781] [NEW] sshd stop on two SIGHUP

2009-12-17 Thread PierreF
Public bug reported:

When you send two SIGHUP to sshd (to reload it configuration), sshd
simply die.

How to reproduce:

1)start an sshd server

if you do killall -s SIGHUP sshd. The server restart successfully.

2) To kill sshd with SIGHUP, run killall -s SIGHUP sshd  killall -s SIGHUP 
sshd
i.e. run two killall -s SIGHUP sshd at the same time.

3) # ps waux | grep sshd
root 19265  0.0  0.0   3352   820 pts/10   S+   15:42   0:00 grep sshd

No sshd running :(


I think it's because the second SIGHUP happend before sshd finished his startup.
Their is not problem running several killall -s SIGHUP sshd we a little delay 
(like the time to press up arrow and enter). But two SIGHUP at the same time 
cause sshd to die nearly everytime.

This is an issues because afaik SIGHUP is sent by networking script
(ifup ?) when an interface have an IP. On a server with 3 static IP, the
sshd process get killed this way. No sshd, not possible to do an ssh on
that server. Rebooted the server and everything get fine.

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New

-- 
sshd stop on two SIGHUP
https://bugs.launchpad.net/bugs/497781
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 497781] [NEW] sshd stop on two SIGHUP

2009-12-17 Thread PierreF
Public bug reported:

When you send two SIGHUP to sshd (to reload it configuration), sshd
simply die.

How to reproduce:

1)start an sshd server

if you do killall -s SIGHUP sshd. The server restart successfully.

2) To kill sshd with SIGHUP, run killall -s SIGHUP sshd  killall -s SIGHUP 
sshd
i.e. run two killall -s SIGHUP sshd at the same time.

3) # ps waux | grep sshd
root 19265  0.0  0.0   3352   820 pts/10   S+   15:42   0:00 grep sshd

No sshd running :(


I think it's because the second SIGHUP happend before sshd finished his startup.
Their is not problem running several killall -s SIGHUP sshd we a little delay 
(like the time to press up arrow and enter). But two SIGHUP at the same time 
cause sshd to die nearly everytime.

This is an issues because afaik SIGHUP is sent by networking script
(ifup ?) when an interface have an IP. On a server with 3 static IP, the
sshd process get killed this way. No sshd, not possible to do an ssh on
that server. Rebooted the server and everything get fine.

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New

-- 
sshd stop on two SIGHUP
https://bugs.launchpad.net/bugs/497781
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs