[Bug 858122] Re: incomplete migration to /run

Steve Langasek steve.langasek at canonical.com
Sat Sep 24 20:35:05 UTC 2011


> If you are relying on a one-time script at shutdown to do the migration,
> maybe you need to verify it worked OK and re-run it ASAP in the boot process too.

Unfortunately, the shutdown script itself explains why this is not
possible:

        # These must be turned into symlinks for the /run transition.  We
        # can't do this at boot time because / is remounted read-write too
        # late, so do it on shutdown instead.

There is no point in the boot sequence when / is writable that we are
guaranteed to be able to replace /var/run with a symlink safely, because
/run is mounted *before* / is writable and this causes other processes
to start up that may be creating sockets in /var/run.

So we really, really need to figure out why this script isn't working
for you at shutdown.  Unfortunately this is difficult to do since there
are certainly no logs from this point in the shutdown sequence, and the
problem has not been widely reproducible.

Could you attach a copy of your full /etc/fstab from this system?  Maybe
something will jump out...

** Changed in: sysvinit (Ubuntu)
   Importance: Undecided => High

** Changed in: sysvinit (Ubuntu)
       Status: New => Confirmed

** Changed in: sysvinit (Ubuntu)
       Status: Confirmed => Incomplete

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