[Bug 672177] Re: libc6 upgrade causes umount to fail on shutdown because init cannot be restarted

Clint Byrum clint at fewbar.com
Tue Feb 1 21:15:35 UTC 2011


On Tue, 2011-02-01 at 20:23 +0000, ingo wrote:
> > But there is no way to codify that point in the shutdown into the
> > upstart job, which I suspect is why it has no stop on. I believe the
> > proper way to handle this is to have a matching event to
> > remote-filesystems , unmounted-remote-filesystems, with which to stop
> > on, and then have umountnfs.sh emit that.
> 
> Thanks for opening the new bug, Clint.
> On my machine portmap is started/running anyhow, also if no nfs share has been mounted ever. In Lucid I have just installed 'nfs-common' (not the kernel server!). It is only used when I temporarely mount some nfs3-exports from guests in VBox, or nfs4-exports from my nas (running Lenny-armel).
> 
> You need to install nfs-common also if you only want just the client - and that brings portmap and rpc.statd.
> Amaizingly; stopping portmap also stops rpc.statd?
> 

Yes, statd stops and starts with portmap...

from statd.conf:

start on (started portmap ON_BOOT=
          or (local-filesystems and started portmap ON_BOOT=y))
stop on stopping portmap

> Another observation:
> sshd cannot be stopped manually:
> 
> # /etc/init.d/ssh stop
>  * Stopping OpenBSD Secure Shell server sshd                             [ OK ]
> 

This is bug #531912, which is awaiting review. The init.d script is only
retained for chroots. Use 'service ssh stop' until that bug is fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/672177

Title:
  libc6 upgrade causes umount to fail on shutdown because init cannot be
  restarted



More information about the Ubuntu-server-bugs mailing list