I *think* the root of the issue is that the assumption in debian/rules

        # we do not want to run the init script in the postinst/prerm, its
        #  really only useful on shutdown, see Debian bug #645919
        dh_installinit $@ --no-start -- stop 10 0 6 .

is wrong.

It is not only useful on shutdown but also when dpkg-reconfigure is
invoked.

As a strawman fix, I've uploaded a fixed (xenial) package to
https://launchpad.net/~tribaal/+archive/ubuntu/unattended-upgrades

It seems to fix the issue in my limited testing: running "dpkg-
reconfigure -fnoninteractive unattended-upgrades" does apply changes
passed by debconf-set-selections.

I'll attach a debdiff to this bug as well, and open a pull request
upsteam.

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

Title:
  dpkg-reconfigure unattended-upgrades results in update-rc.d warning
  that start and stop actions are no longer supported

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1606600/+subscriptions

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

Reply via email to