On Fri, Feb 10, 2012 at 07:27:10PM -0000, Thomas Hood wrote: > The resolvconf package postinst sets up the /etc/resolv.conf symlink > then enables, triggers and finally performs an update.
> As far as I can see there is no need for the postinst to run the upstart > job. I don't see why it needs to do "invoke-rc.d resolvconf start". > The Debian version of the package does not do "invoke-rc.d resolvconf > start" and the Debian version of the package seems to work properly. The right way to do this is by calling the init script in the maintainer script, not by duplicating code between the init script and the maintainer script. *Not* starting the upstart job on install also means that stopping is not idempotent wrt reboots after install. If the job is not running, it cannot be stopped, so "resolvconf --disable-updates" will not be called when it should be on shutdown. We need to find out why the upstart job is failing and fix that, not avoid calling the upstart job on install/upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929552 Title: package resolvconf 1.63ubuntu7 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/929552/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
