[Bug 1048017] [NEW] mountall generates duplicate 'mounting' events for in-progress network mounts

Steve Langasek steve.langasek at canonical.com
Sat Sep 8 21:22:24 UTC 2012


Public bug reported:

Unlike local mounts, network mounts are handled asynchronously by
mountall.  As a result, if a SIGUSR1 (network device up) signal comes in
while a mount is already in progress, mountall will generate a second,
spurious 'mounting' event for the device.  It does not appear to go so
far as to spawn a redundant mount process, fortunately, but at least in
the case of nfs mounts this results in extra calls to the statd-mounting
job.

I noticed this in the process of applying the fix for bug #643289, the
patch for which actually seems to improve the situation (only 3 mount
attempts on boot for my test nfs filesystem, instead of 5).

** Affects: mountall (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: mountall (Ubuntu)
       Status: New => Triaged

** Changed in: mountall (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  mountall generates duplicate 'mounting' events for in-progress network
  mounts

Status in “mountall” package in Ubuntu:
  Triaged

Bug description:
  Unlike local mounts, network mounts are handled asynchronously by
  mountall.  As a result, if a SIGUSR1 (network device up) signal comes
  in while a mount is already in progress, mountall will generate a
  second, spurious 'mounting' event for the device.  It does not appear
  to go so far as to spawn a redundant mount process, fortunately, but
  at least in the case of nfs mounts this results in extra calls to the
  statd-mounting job.

  I noticed this in the process of applying the fix for bug #643289, the
  patch for which actually seems to improve the situation (only 3 mount
  attempts on boot for my test nfs filesystem, instead of 5).

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




More information about the foundations-bugs mailing list