Here is the md5sum output:

# md5sum /lib/init/upstart-job
a62543700eb4d3c63f105a7e85d5e99e  /lib/init/upstart-job

I can see that the start|stop|restart part of my upstart-job looks a bit
different:

=== code ===

start|stop|restart)
    $ECHO
    $ECHO "Since the script you are attempting to invoke has been converted to 
an"
    $ECHO "Upstart job, you may also use the $COMMAND(8) utility, e.g. $COMMAND 
$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
    $COMMAND "$JOB"
    ;;

=== /code ===

Pay attention to the part that says " PID=$(status "$JOB" 2>/dev/null |
awk '/[0-9]$/ { print $NF }') ", and $JOB is resolvconf. So I guess it's
trying to get PID by "status resolvconf"? of course $PID would be null
(or whatever the bash equivalent is).

Here is a debug output:

=== code ===

# sh -x /etc/init.d/resolvconf start
+ set -e
+ basename /etc/init.d/resolvconf
+ INITSCRIPT=resolvconf
+ JOB=resolvconf
+ [ resolvconf = upstart-job ]
+ [ -z start ]
+ COMMAND=start
+ shift
+ [ -z  ]
+ ECHO=echo
+ echo Rather than invoking init scripts through /etc/init.d, use the service(8)
Rather than invoking init scripts through /etc/init.d, use the service(8)
+ echo utility, e.g. service resolvconf start
utility, e.g. service resolvconf start
+ echo

+ echo Since the script you are attempting to invoke has been converted to an
Since the script you are attempting to invoke has been converted to an
+ echo Upstart job, you may also use the start(8) utility, e.g. start resolvconf
Upstart job, you may also use the start(8) utility, e.g. start resolvconf
+ awk /[0-9]$/ { print $NF }
+ status resolvconf
+ PID=
+ [ -z  ]
+ [ start = stop ]
+ [ -n  ]
+ [ -z  ]
+ [ start = restart ]
+ start resolvconf
start: Job is already running: resolvconf

=== /code ===

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

Title:
  Upgrade of resolvconf from 1.63ubuntu* to 1.63ubuntu15 fails: start:
  Job failed to start

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

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

Reply via email to