rpcbind portmap terminates on startup
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
ProcVersionSign
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)
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?