[Bug 858122] Re: incomplete migration to /run
Steve Langasek
steve.langasek at canonical.com
Tue Sep 27 19:18:57 UTC 2011
On Tue, Sep 27, 2011 at 05:51:33PM -0000, Tom Chiverton wrote:
> lrwxrwxrwx 1 root root 22 2010-09-26 10:08 K08umountnfs.sh -> ../init.d/umountnfs.sh
[...]
> lrwxrwxrwx 1 root root 16 2009-11-23 21:38 S01reboot -> ../init.d/reboot
> lrwxrwxrwx 1 root root 18 2009-11-23 21:38 S01sendsigs -> ../init.d/sendsigs
> lrwxrwxrwx 1 root root 18 2009-11-23 21:38 S01umountfs -> ../init.d/umountfs
> lrwxrwxrwx 1 root root 20 2009-11-23 21:38 S01umountroot -> ../init.d/umountroot
Aha, here's the problem! This is certainly not the order in which these
scripts are supposed to be run. I'm surprised you didn't encounter serious
problems before now, given the above... your system is configured to reboot
before (or in parallel with) cleanly shutting down processes and unmounting
filesystems. So /etc/init.d/umountroot never gets a chance to run, or if it
does things are still mounted at the time!
Does the file /etc/init.d/.legacy-bootordering exist on your system? If
not, it looks like something has happened to fail to block insserv from
rearranging your symlinks. Did you make any deliberate changes to your
system involving insserv? How was this system originally installed?
Here are the correct symlinks on an oneiric system:
lrwxrwxrwx 1 root root 18 Apr 30 2009 S20sendsigs -> ../init.d/sendsigs
lrwxrwxrwx 1 root root 17 Apr 30 2009 S30urandom -> ../init.d/urandom
lrwxrwxrwx 1 root root 22 Apr 30 2009 S31umountnfs.sh -> ../init.d/umountnfs.sh
lrwxrwxrwx 1 root root 20 Jun 9 05:43 S35networking -> ../init.d/networking
lrwxrwxrwx 1 root root 18 Apr 30 2009 S40umountfs -> ../init.d/umountfs
lrwxrwxrwx 1 root root 20 Apr 30 2009 S60umountroot -> ../init.d/umountroot
lrwxrwxrwx 1 root root 16 Apr 30 2009 S90reboot -> ../init.d/reboot
I don't know if there's a good way to undo insserv mangling automatically,
or if you'll need to adjust these by hand.
Opening a task on sysv-rc, which is supposed to ensure that
/etc/init.d/.legacy-bootordering exists.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/858122
Title:
incomplete migration to /run
Status in “sysvinit” package in Ubuntu:
Incomplete
Bug description:
I had the exact same issue documented as
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/807306
on upgrade from 11.04 to 11.10. Opening new bug as req.
Removing the existing /var/run and /var/run/lock and replacing with
sym links as per comment 76 there fixed it.
The impact of this was a total lack of system (wireless) networking
coming up - this gives a >! minute pause during boot, as well as a
subsequent total failure to be able to log into X (KDE or GNOME
sessions give a cryptic error related to DBUS).
I've just run an apt-get update/upgrade after *finally* getting back
into my new 11.10 beta 2 system, and no updates to the mountall show
up... therefore I assume this bug is still present.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: initscripts 2.88dsf-13.10ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Sat Sep 24 10:49:58 2011
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sysvinit
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/858122/+subscriptions
More information about the foundations-bugs
mailing list