[Bug 874989] Re: cgroup mount point in fstab causes boot process to hang

Brian May brian at microcomaustralia.com.au
Thu Oct 27 23:21:35 UTC 2011


This bug is particularly troublesome because it is so difficult to
debug; I spent hours trying to work out what was wrong. The fact
mountall looks like a daemon that should continue running doesn't help
(it is run as "mountall --daemon"). The fact there is no man page
doesn't help either. You are suppose to know to use "mountall --help".

Anyway if you run mountall in verbose mode ("mountall -v" from memory)
you see it complain that it can't mount cgroup because it is already
mounted. I think as a result it hangs and prevents the system from
booting, without logging any messages or showing any messages to the
user.

For the record in my /etc/fstab I had:

cgroup  /var/cgroup  cgroup  defaults  0  0

This was required in earlier Ubuntu releases because Ubuntu didn't mount
the filesystem itself.

Brian May

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

Title:
  cgroup mount point in fstab causes boot process to hang

Status in “mountall” package in Ubuntu:
  Confirmed

Bug description:
  I did a release-upgrade from 11.04 to 11.10 and noticed boot process
  hanging at 'init: Handling mount event'. I didn't wait for more than 5
  minutes to see if it ever proceeded from there. As a temporary
  solution, I went into recovery mode, selected the remount option and
  resume normal boot. Eventually I just tried removing the cgroup mount
  point ( cgroup          /cgroup         cgroup  defaults        0
  0 ) from fstab, did a normal mode boot, and it works.

  The behavior is reproducible. Just add a cgroup mountpoint in fstab
  and try booting.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: mountall 2.31
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Sat Oct 15 17:51:47 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_IN:en
   PATH=(custom, user)
   LANG=en_IN
   SHELL=/bin/bash
  SourcePackage: mountall
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list