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
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs