rpcbind portmap terminates on startup

Bug #877485 reported by David Bell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rpcbind (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

On a fresh install of Ubuntu 11.10 "portmap" crashes on system startup, however it did not do this on Ubuntu 11.04 using exactly the same build process:

Oct 18 12:04:11 ip-048-154 kernel: [ 5.528634] init: portmap main process (540) terminated with status 1
Oct 18 12:04:11 ip-048-154 kernel: [ 5.528655] init: portmap main process ended, respawning

However it doesn't actually respawn:

root@uos-9:~# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory

Evidently statd still tries to run, causing it to spawn over and over again:

Oct 18 12:04:11 ip-048-154 kernel: [ 7.023628] init: statd main process (673) terminated with status 1
Oct 18 12:04:11 ip-048-154 kernel: [ 7.023648] init: statd main process ended, respawning

This repeats until:

Oct 18 12:04:11 ip-048-154 kernel: [ 7.116902] init: statd main process (749) terminated with status 1
Oct 18 12:04:11 ip-048-154 kernel: [ 7.116923] init: statd respawning too fast, stopped

Once started up upstart says:

root@uos-9:~# service portmap status
portmap start/running

But it isn't (there is no process running). However running restart on portmap works, and then everything works, including NIS (which is what I need portmap for!)

root@uos-9:~# service portmap restart
portmap start/running, process 2913

root@uos-9:~# rpcinfo -p
   program vers proto port service
    100000 4 tcp 111 portmapper
    100000 3 tcp 111 portmapper
    100000 2 tcp 111 portmapper
    100000 4 udp 111 portmapper
    100000 3 udp 111 portmapper
    100000 2 udp 111 portmapper
    100024 1 udp 45863 status
    100024 1 tcp 41820 status

With the exact same installation type (network boot) on Ubuntu 11.04 this doesn't happen and portmap starts correctly on boot.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rpcbind 0.2.0-6ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 18 15:38:25 2011
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB
 SHELL=/bin/bash
SourcePackage: rpcbind
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Bell (evad) wrote :
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

Do you have a separate partition for /var on this system? If so, this may be bug #875471. Can you test whether the rpcbind package in oneiric-proposed fixes this problem for you?

Changed in rpcbind (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

If the package in oneiric-proposed does fix the problem, please comment on bug #875471 to that effect.

Revision history for this message
David Bell (evad) wrote :

Hi Steve, thank you kindly for your prompt reply.

I upgraded to rpcbind (0.2.0-6ubuntu3.1) from oneiric-proposed and the problem is now fixed, so this is a duplicate of bug #875471. I look forward to this package entering main!

Revision history for this message
David Bell (evad) wrote :

(And yes, I have a separate /var partition)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.