Comment 2 for bug 457896

Revision history for this message
Steve Langasek (vorlon) wrote :

Error is:

Setting up nfs-common (1:1.2.0-2ubuntu8) ...
statd start/running, process 12034
gssd stop/pre-start, process 12057
start: Job is already running: idmapd
invoke-rc.d: initscript idmapd, action "restart" failed.
dpkg: error processing nfs-common (--configure):
 subprocess installed post-installation script returned error exit status 1

Seems to be hitting this bit in upstart-job:

    PID=$(status "$JOB" 2>/dev/null | awk '/[0-9]$/ { print $NF }')
    if [ -z "$PID" ] && [ "$COMMAND" = "stop" ]; then
        exit 0
    elif [ -n "$PID" ] && [ "$COMMAND" = "start" ]; then
        exit 0
    elif [ -z "$PID" ] && [ "$COMMAND" = "restart" ]; then
        start "$JOB"
        exit 0
    fi

so status is not returning a PID, but 'start' is failing saying that it's already running.