Comment 5 for bug 603934

Revision history for this message
Steve Langasek (vorlon) wrote : Re: package nfs-common 1:1.2.0-2ubuntu8 failed to install/upgrade: start: Job is already running: idmapd

I've sorted through what's going on here. Partly this is caused by bug #643289, which causes a race condition for idmapd at boot time and leaves the idmapd job in an inconsistent "start/running" state with no associated process (bug #545673). And partly, this is a bug in /lib/init/upstart-job: when the service *is* "start/running" with no PID, the 'restart' command is mapped to 'start', which fails because the job is already "running". I think upstart needs to restart in this case whether there's a pid or not.