[Bug 875471] Re: nfs-kernel-server does not start on boot because portmap is not running

Steve Langasek steve.langasek at canonical.com
Mon Oct 17 18:03:39 UTC 2011


Confirmed; even though the real location of the state files is now under
run, rpcbind is using the /var/run compatibility symlink to get there,
which isn't guaranteed to exist until /var is mounted.

This needs to be fixed by having rpcbind use /run directly, and depend
on the necessary package versions to ensure its existence on upgrade.

** Package changed: nfs-utils (Ubuntu) => rpcbind (Ubuntu)

** Changed in: rpcbind (Ubuntu)
   Importance: Undecided => High

** Changed in: rpcbind (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: rpcbind (Ubuntu)
     Assignee: (unassigned) => Steve Langasek (vorlon)

** Also affects: rpcbind (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

** Also affects: rpcbind (Ubuntu Precise)
   Importance: High
     Assignee: Steve Langasek (vorlon)
       Status: Triaged

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

** Changed in: rpcbind (Ubuntu Oneiric)
   Importance: Undecided => High

** Changed in: rpcbind (Ubuntu Oneiric)
     Assignee: (unassigned) => Steve Langasek (vorlon)

** Changed in: rpcbind (Ubuntu Oneiric)
    Milestone: None => oneiric-updates

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

Title:
  nfs-kernel-server does not start on boot because portmap is not
  running

Status in “rpcbind” package in Ubuntu:
  Triaged
Status in “rpcbind” source package in Oneiric:
  Triaged
Status in “rpcbind” source package in Precise:
  Triaged

Bug description:
  I have a fully upgraded 11.10 desktop release and installed nfs-common, nfs-kernel-server, and rpcbind which provides portmap. After I boot up, nfs-kernel-server is not running. When I try to start nfs-kernel-server with
  service nfs-kernel-server-start
  I get the error message that portmap is not running. But, with 
  service portmap status
  I get the message that portmap is running. To start nfs-kernel-server, I have to do:
  service statd start
  service portmap stop
  service portmap start
  service nfs-kernel-server start
  This may be related to the fact that the script /etc/init/portmap-wait.conf portmap returns "2" on exit which I think confuses the "system ... status" command.
  Also, in /etc/init/statd.conf there is a reference to a file "portmap-boot.conf" but that file is missing in /etc/init.

  A temporary workaround may be to put the lines
  service statd start
  service portmap stop
  service portmap start
  service nfs-kernel-server start
  into /etc/rc.local

  Note that I have /, /boot, /var, /tmp, /usr in different partitions.
  Not sure this makes a difference.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: nfs-kernel-server 1:1.2.4-1ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Sat Oct 15 22:53:34 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nfs-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list