Comment 2 for bug 933566

Revision history for this message
Steve Langasek (vorlon) wrote : Re: Stopping resolvconf doesn't disable updates

> But don't make that change, because then updates are not enabled after
> reboot!

Well, it looks like the change may be per se correct, and you simply have
something amiss on your system that's causing the resolvconf job to fail at
startup. It doesn't fail for me.

> it looks to me as if resolvconf is both started and stopped on boot,
> except that pre-stop scripts are not run. Or something. I don't
> understand Upstart.

This looks to me like a previously unreported bug in upstart. resolvconf is the only job on my system which tries to use pre-start + pre-stop without a main process. Conceptually, I think there's no reason not to use post-stop since the post-stop script is run before the stopped event is emitted, so I'll go ahead with committing this fix (but not uploading until we know why resolvconf is failing to start for you on boot).

Also raising a task on upstart, since I don't think the pre-stop script should be silently skipped here.