Dimitri intends to handle this in systemd postinst instead.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1716979

Title:
  clean up unmodified /etc/rc.local on upgrade

Status in systemd package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  Won't Fix

Bug description:
  If a user's system was installed before zesty, the initscripts package
  was installed as part of the base system, and a stub /etc/rc.local was
  created on install.

  rc.local is very much a legacy interface (it was legacy under Debian's 
sysvinit, so it's three generations of legacy); and if /etc/rc.local is present 
and executable, systemd runs an additional unit, rc-local.service, which is 
After=network-online.target (due to 
  /lib/systemd/system/rc-local.service.d/debian.conf).  This can unnecessarily 
impact boot speed in the event that the network is not available at boot.

  Since the initscripts package no longer exists in zesty and later, and
  this package should preferably be removed on upgrade, we can't put
  maintainer script code in this package to manage the removal of
  /etc/rc.local.

  Adding this to any other system package would be a kludge.

  I think this belongs as a quirk on upgrade, to remove the
  /etc/rc.local left behind by initscripts if it is unmodified.

  Here is the md5sum of the stock file, which has remained consistent
  from (at least) lucid through xenial:

  $ md5sum /etc/rc.local 
  10fd9f051accb6fd1f753f2d48371890  /etc/rc.local

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to