[Bug 1041234] Re: Upgrade of resolvconf from 1.63ubuntu* to 1.63ubuntu15 fails: start: Job failed to start

Thomas Hood 1041234 at bugs.launchpad.net
Wed Aug 29 15:15:42 UTC 2012


Version 1.63ubuntu15 of resolvconf includes the self-triggering feature
of the Debian resolvconf package. (This feature was removed from later
versions of Ubuntu resolvconf.) Consequently the postinst runs twice,
once with argument "configure" and once with argument "triggered". (In
Debian resolvconf, updates are enabled only on the "triggered" pass.)
In 1.63ubuntu15 the postinst contains

    # Automatically added by dh_installinit
    if [ -e "/etc/init/resolvconf.conf" ]; then
            invoke-rc.d resolvconf start || exit $?
    fi

which starts resolvconf on the *first* pass and should do nothing and
return 0 on the second pass.

Here is what I see on my quantal system which illustrates that a second
"invoke-rc.d" has no effect and returns 0.

==============BEGIN=========
# status resolvconf
resolvconf start/running
# stop resolvconf
resolvconf stop/waiting
# invoke-rc.d resolvconf start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service resolvconf start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start resolvconf
resolvconf start/running
# status resolvconf
resolvconf start/running
# invoke-rc.d resolvconf start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service resolvconf start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start resolvconf
# echo $?
0
# status resolvconf
resolvconf start/running
=============END============

The submitter, however, gets:

    invoke-rc.d: initscript resolvconf, action "start" failed.

Why?

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

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

Status in “resolvconf” package in Ubuntu:
  Incomplete

Bug description:
  I can see that the other bug (https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/929552) has expired, and it was actually addressing a different version.
  Today I tried applying the pending upgrades on my amazon ec2 based ubuntu 12.04 64-bit server, and got the following error:

  Setting up resolvconf (1.63ubuntu15) ...
  resolvconf start/running
  Processing triggers for resolvconf ...
  start: Job is already running: resolvconf
  invoke-rc.d: initscript resolvconf, action "start" failed.
  dpkg: error processing resolvconf (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   resolvconf
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Please tell me what more information I could provide.

  :~$ uname -a
  Linux ### 3.2.0-29-virtual #46-Ubuntu SMP Fri Jul 27 17:23:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

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




More information about the foundations-bugs mailing list