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

ejprinz ejprinz at austin.rr.com
Sun Oct 16 04:03:33 UTC 2011


Public bug reported:

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)

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric

-- 
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 “nfs-utils” package in Ubuntu:
  New

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/nfs-utils/+bug/875471/+subscriptions




More information about the foundations-bugs mailing list