Public bug reported:

Ubuntu: 12.04.3 LTS
Package: Installed: 0.2.0-7ubuntu1.2
From: http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
Expected Behavior: Correct configuration, no boot-time warning
Incorrect Behavior:
  1) initctl check-config complains about a bogus event emitted, in 
rpcbind-boot.conf
  2) Invalid warnings about the .xdr files occur at boot time

Verbose Summary & Explanation (below):

There are multiple problems with the current upstart-job for rpcbind.

The first is that the upstart job events are incorrectly defined per the
manual.

The second, is that upon boot rpcbind will complain of two missing
files, /run/rpcbind/rpcbind.xdr and /run/rpcbind/portmap.xdr

The files changed (patch should be attached) provided fixes to both of
these problems.

The solution is to include the correct line, and to not start with -w on
boot, since -w implies a 'warmstart' which only makes sense if the
rpcbind has recently been running. Instead, only run with -w when both
files are present - both files should be created when the rpcbind
terminates, by default.

Note: The patch is for the source package downloaded using:

'apt-get source rpcbind'

Note 2: there is a related bug in Debian, using init.d, not upstart:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620800

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: rpcbind 0.2.0-7ubuntu1.2
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Sat Sep  7 18:21:01 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rpcbind
UpgradeStatus: Upgraded to precise on 2012-05-14 (481 days ago)
mtime.conffile..etc.init.portmap.conf: 2013-09-07T18:16:00.121056
mtime.conffile..etc.init.rpcbind.boot.conf: 2013-09-06T23:12:01.614469

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


** Tags: amd64 apport-bug precise rpcbind upstart-job

** Patch added: "generated diff patch using dpkg-diffs"
   https://bugs.launchpad.net/bugs/1222274/+attachment/3808219/+files/patch.diff

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

Title:
  Incorrect upstart-job configuration

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to