[Bug 798963] [NEW] Incorrect upstart dependencies cause race conditions with NFS mount points

david david at kabelverhau.ch
Fri Jun 17 21:15:17 UTC 2011


Public bug reported:

Binary package hint: mountall

I use an NFS mounted home directory (in /etc/fstab: 192.168.0.2:/home
/home      nfs
defaults,tcp,async,noatime,rsize=16384,wsize=16384,_netdev) and
automatic login in GDM. Usually, /home is not mounted when GDM tries to
log in, causing various errors due to the non-existing /home directory.

If I try again a few seconds later, all works fine (because by then
/home is mounted).

I think the upstart dependencies are wrong:
- /etc/init/mountall.conf has no dependency on network, so it only mounts local file systems. However, it emits "filesystem" and "remote-filesystems"
- /etc/init/gdm.conf depends on "filesystem" (obviously assuming that "filesystem" also includes network filesystems)

** Affects: mountall (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Incorrect upstart dependencies cause race conditions with NFS mount
  points

Status in “mountall” package in Ubuntu:
  New

Bug description:
  Binary package hint: mountall

  I use an NFS mounted home directory (in /etc/fstab: 192.168.0.2:/home
  /home      nfs
  defaults,tcp,async,noatime,rsize=16384,wsize=16384,_netdev) and
  automatic login in GDM. Usually, /home is not mounted when GDM tries
  to log in, causing various errors due to the non-existing /home
  directory.

  If I try again a few seconds later, all works fine (because by then
  /home is mounted).

  I think the upstart dependencies are wrong:
  - /etc/init/mountall.conf has no dependency on network, so it only mounts local file systems. However, it emits "filesystem" and "remote-filesystems"
  - /etc/init/gdm.conf depends on "filesystem" (obviously assuming that "filesystem" also includes network filesystems)

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




More information about the foundations-bugs mailing list