[Bug 1371564] Re: statd fails to come up on boot

Steve Langasek steve.langasek at canonical.com
Sat Sep 20 20:16:51 UTC 2014


FWIW I've confirmed locally with strace that statd is looking in
/var/lib/nfs (/var/lib/nfs/sm; /var/lib/nfs/state) at start-up.  I'm
surprised that this is the case; I didn't explicitly test with /var on a
separate partition when preparing these upstart jobs, but I think I
would've checked for references to /var/lib/nfs in the code.  At any
rate, this behavior seems to have been in place since at least 12.04.

Given the requirement that this data persist across reboots (in fact,
that's more or less the entire purpose of rpc.statd), I don't have a
good solution for making this work with a separate /var partition at the
moment.

** Changed in: nfs-utils (Ubuntu)
       Status: Incomplete => Triaged

** Summary changed:

- statd fails to come up on boot
+ statd incompatible with /var as a separate filesystem

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

Title:
  statd incompatible with /var as a separate filesystem

Status in “nfs-utils” package in Ubuntu:
  Triaged

Bug description:
  I've a server that stubbornly doesn't mount NFS filesystems on boot.
  I upgraded it to 14.04 and the problem persists.  This time I dug
  deeper and discovered that the mount upstart jobs are blocked waiting
  for statd-mounting, which are waiting for statd to come up, but statd
  is in "stop/waiting" state and doesn't want to come up.

  /var/log/syslog shows

      Sep 19 12:21:58 muskatas kernel: [    9.356501] init: statd main process (1268) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.356511] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.363809] init: statd main process (1272) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.363819] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.370785] init: statd main process (1276) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.370795] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.382239] init: statd main process (1281) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.382250] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.394097] init: statd main process (1285) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.394107] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.400026] init: statd main process (1289) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.400037] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.411247] init: statd main process (1293) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.411258] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.421803] init: statd main process (1297) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.421813] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.429929] init: statd main process (1302) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.429939] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.442795] init: statd main process (1306) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.442805] init: statd main process ended, respawning
      Sep 19 12:21:58 muskatas kernel: [    9.457698] init: statd main process (1310) terminated with status 1
      Sep 19 12:21:58 muskatas kernel: [    9.457708] init: statd respawning too fast, stopped

  If I 'sudo start statd' after logging in, the statd-mounting jobs are
  terminated and mountall proceeds to mount the NFS filesystems.

  I'm not sure how to debug this further.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1371564/+subscriptions



More information about the foundations-bugs mailing list