[Bug 603363] Re: sshd never stops, prevents umount of /usr partition

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/603363

Title:
  sshd never stops, prevents umount of /usr partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/603363/+subscriptions

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-03-28 Thread Clint Byrum
cgi, can you post the broken file and the one that works?

I did rather extensive testing, rebooting  with the package
1:5.3p1-3ubuntu6 in several ways, and have not seen this sort of
failure.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/603363

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-03-26 Thread cgi
After applying this patch today and doing a reboot I COULDN'T ACCESS my
(virtual) server via ssh (Ubuntu 10.04). The sshd-service failed to
start and report these two lines in /var/log/daemon.log:

--
init: ssh main process terminated with status 255
init: Failed to spawn ssh pre-start process: unable to set oom adjustment: 
Operation not permitted
--

I have to replace the new /etc/init/ssh.conf with the old config-file
and to reboot again. Fortunally the update-manager had made a backup of
the old file.

best regards,
cgi

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/603363

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-03-24 Thread Launchpad Bug Tracker
This bug was fixed in the package openssh - 1:5.3p1-3ubuntu6

---
openssh (1:5.3p1-3ubuntu6) lucid-proposed; urgency=low

  * Stop Upstart job on runlevel [!2345] rather than just S, since
/etc/init.d/sendsigs no longer kills jobs under Upstart's control
(thanks, Rob Donovan; LP: #603363).
 -- Clint Byrum cl...@ubuntu.com   Sat, 12 Feb 2011 08:38:43 -0800

** Changed in: openssh (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-03-15 Thread Oliver Siegmar
Test was successful - the /usr partition could be unmounted correctly.
One strange thing remains - the /var partition can only be mounted in
read-only mode, but that might have nothing to do with this issue.

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-03-15 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-23 Thread Michael Vogt
I uploaded the SRU to lucid-proposed now and unsubscribed ubuntu-
sponsors and subscribed ubuntu-sru.

Many thanks for this update Clint!

** Changed in: openssh (Ubuntu Lucid)
   Status: Confirmed = In Progress

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-23 Thread Martin Pitt
Accepted openssh into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: openssh (Ubuntu Lucid)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-12 Thread Oliver Siegmar
I hope it will be part of 10.04.2

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-12 Thread Clint Byrum
Attaching the backport to lucid's upstart job file as a debdiff (I was
unable to bzr branch lp:ubuntu/lucid-updates/openssh .. likely a package
import problem).

Will subscribe sponsors for upload to proposed and add SRU info to the
description as well.

** Patch added: sru-603363.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/603363/+attachment/1845557/+files/sru-603363.debdiff

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-12 Thread Clint Byrum
** Description changed:

  Under Ubuntu 10.04 Lucid, sshd is an upstart job controlled by
  /etc/init/ssh.conf  This file provides for start and stop as follows:
  
  start on filesystem
  stop on runlevel S
  
  At shutdown or reboot, therefore, sshd is not stopped.
  
  Since sshd is in /usr/sbin/sshd and also accesses lib files in /usr/lib
  this means that
  
  /etc/rc0.d/S40umountfs
  
  cannot successfully umount /usr at shutdown when /usr is on its own
  partition.
  
  This definitely leads to umount reporting errors in the shutdown console
  messages.
  
  It may also lead to fsck running on reboot and problems with mountall...
  I can't say for certain yet as I am also having problems umounting /var,
  possibly due to a power failure, which is what led me to notice and
  investigate these messages.
  
  My guess is that when sshd was a System V init process, it was killed by
  the killall5 process in /etc/rc0.d/S20sendsigs.  Under Lucid sshd has
  been made an upstart job and as such is exempt from the killall5 and so
  needs to be stopped explicitly.
  
  I admit I am by no means an expert on upstart or sshd, but the fix
  appears to me to be to modify /etc/init/ssh.conf to read
  
  stop on runlevel [!2345]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: openssh-server 1:5.3p1-3ubuntu4
  ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Thu Jul  8 14:45:50 2010
  InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release amd64 (20100427.1)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: openssh
+ 
+ == SRU Report ==
+ 
+ === Impact / Justification ===
+ 
+ This bug can lead to filesystem corruption if /usr is on a separate
+ filesystem or if sshd isn't restarted on libc6 upgrade (which is almost
+ guaranteed due to bug #531912)
+ 
+ === Dev fix ===
+ 
+ This was fixed in the dev branch by making sshd stop on runlevel
+ [!2345], which is fairly standard for network services.
+ 
+ === Patch ===
+ 
+ See attached debdiff
+ 
+ === TEST CASE: ===
+ 
+ On a lucid system with all updates applied
+ 1. sudo apt-get install openssh-server
+ 2. verify it is started and running with 'sudo status ssh'
+ 3. sudo apt-get install --reinstall libc6
+ 4. If portmap is installed, Manually stop the portmap daemon which has a 
similar problem (sudo stop portmap)
+ 5. upon reboot, look in dmesg for the word 'Orphaned' 
+ 6. upgrade system and repeat steps 3-5, you should not see Orphaned anymore
+ 
+ === REGRESSION POTENTIAL ===
+ 
+ Its possible that people expect sshd to still be reachable until the
+ network is shutdown, which is fairly late in the shutdown process.

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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


Re: [Bug 603363] Re: sshd never stops, prevents umount of /usr partition

2011-02-12 Thread Colin Watson
A more useful branch to start from might be
lp:~cjwatson/ubuntu/lucid/openssh/lucid-proposed.  But I'll deal with it
on Monday anyway.

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-01-05 Thread Clint Byrum
Yes, that has been fixed as of Ubuntu 10.10. The fix just needs to be
backported in an SRU to 10.04.

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2011-01-04 Thread Oliver Siegmar
I think the problem is the upstart configuration for the ssh daemon
/etc/init/ssh.conf -

stop on runlevel S

Shouldn't that be:

stop on runlevel [!2345]

?

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-12-17 Thread Clint Byrum
** Changed in: openssh (Ubuntu Lucid)
   Importance: Undecided = High

** Changed in: openssh (Ubuntu Lucid)
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

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

Title:
  sshd never stops, prevents umount of /usr partition

-- 
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-11-21 Thread Oliver Siegmar
Sometimes it is not even possible to remount the filesystem readonly.
This can cause damage to the filesystem, thus this issue should get high
priority.

** Changed in: openssh (Ubuntu Lucid)
   Status: New = Incomplete

** Changed in: openssh (Ubuntu Lucid)
   Status: Incomplete = Confirmed

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-11-06 Thread Paul van Berlo
Good question. I'm experiencing some issues with the root filesystem
(only one fs on this system) being busy on reboots, running a lsof from
umountroot shows that sshd is still running, which could be a reason for
the root fs to be busy. How can this be fixed properly in lucid?

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-10-20 Thread Daniel Néri
Why is this bug still not fixed in Lucid?

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-18 Thread Spuerhund
Will the fix also be released for Lucid or only for future versions of
Ubuntu?

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-16 Thread C de-Avillez
** Also affects: openssh (Ubuntu Lucid)
   Importance: Undecided
   Status: New

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-09 Thread Colin Watson
At some point sendsigs was changed to omit processes under upstart's
control, and apparently I didn't notice.  I've made the appropriate
change for the next openssh upload.  Thanks.

** Changed in: openssh (Ubuntu)
 Assignee: (unassigned) = Colin Watson (cjwatson)

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/openssh

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-09 Thread Launchpad Bug Tracker
This bug was fixed in the package openssh - 1:5.5p1-4ubuntu2

---
openssh (1:5.5p1-4ubuntu2) maverick; urgency=low

  * Stop Upstart job on runlevel [!2345] rather than just S, since
/etc/init.d/sendsigs no longer kills jobs under Upstart's control
(thanks, Rob Donovan; LP: #603363).
 -- Colin Watson cjwat...@ubuntu.com   Fri, 09 Jul 2010 12:21:17 +0100

** Changed in: openssh (Ubuntu)
   Status: New = Fix Released

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-09 Thread Clint Byrum
** Changed in: openssh (Ubuntu)
   Status: Fix Released = Triaged

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-09 Thread Colin Watson
Clint, thanks for the investigation, but please see earlier messages on
this bug - I've already fixed this.


** Changed in: openssh (Ubuntu)
   Status: Triaged = Fix Released

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-08 Thread Rob Donovan

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/51594460/Dependencies.txt

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-08 Thread Clint Byrum
Marking this as medium, and investigating.

** Changed in: openssh (Ubuntu)
   Importance: Undecided = Medium

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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 603363] Re: sshd never stops, prevents umount of /usr partition

2010-07-08 Thread Rob Donovan
Jolly good.  I'm blogging my progress on this thread

http://ubuntuforums.org/showthread.php?t=1474942

which also describes the boot time messages that _may_ be related to this 
problem.
I'll post here directly if/when I can confirm that they are/aren't.

-- 
sshd never stops, prevents umount of /usr partition
https://bugs.launchpad.net/bugs/603363
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