[Bug 1064074] Re: mountall blocks boot

Steve Langasek steve.langasek at canonical.com
Mon Oct 22 02:26:46 UTC 2012


Oh, so with your re-post of the adjusted job I've noticed something in
your bug report.  You reported that the only output on your console was:

 mkdir: can't create /dev/pts: already exists

And I didn't think this was related to the problem you were having.  But
now, I realize that the 'mkdir' command you've added to your
mountall.conf file does not use the '-p' option.  So it *is* related to
the problem: you have a broken 'mkdir' command added to your
mountall.conf, and when it fails the mountall job exits without ever
calling mountall.

So this is not an Ubuntu bug at all.  You've modified the mountall.conf
in a non-standard way, and this is causing it to fail.  When you fix the
mountall.conf to remove the extra commands you've added, it should start
to work again.

** Changed in: mountall (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1064074

Title:
  mountall blocks boot

Status in “mountall” package in Ubuntu:
  Invalid

Bug description:
  after upgrading to Quantal the system no longer boots.
  I've debugged the issue by booting with init=/bin/bash and it seems that mountall fails to spawn a few processes because PATH is wrong.
  Here is the strace output:

  [pid  3302] execve("swapon", ["swapon", "/dev/sda2"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)
  [pid  3302] execve("/bin/swapon", ["swapon", "/dev/sda2"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)
  [pid  3302] execve("/usr/bin/swapon", ["swapon", "/dev/sda2"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)
  [pid  3302] write(2, "mountall: swapon /dev/sda2 [3302"..., 61mountall: swapon /dev/sda2 [3302]: No such file or directory
  ) = 61
  [pid  3302] write(15, "!", 1)           = 1
  [pid  3277] <... read resumed> "!", 1)  = 1
  [pid  3277] close(14)                   = 0
  [pid  3302] exit_group(0)               = ?

  here mountall fails to spawn swapon, but the same happens to fsck.

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




More information about the foundations-bugs mailing list