Public bug reported: Every other systemd-infected distribution leaves the rc-local.service unit enabled; this is probably because provisioning systems need to use it to launch first-boot tasks.
Ubuntu has been blindly following suit in every other respect and should do the same here also. It's a null op unless the file exists and is executable, so enabling it gives all the benefits for extremely negligible cost. Example reproducable bug: * preseed a new host and an rc.local expected to run on boot * boot and realise rc.local didn't run * realise you can't enable it in the preseed as systemctl is not affecting the target system * curse Lennart (again) and run Devuan instead where things just work as they should ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- 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/1771802 Title: enable rc-local.service unit by default Status in systemd package in Ubuntu: New Bug description: Every other systemd-infected distribution leaves the rc-local.service unit enabled; this is probably because provisioning systems need to use it to launch first-boot tasks. Ubuntu has been blindly following suit in every other respect and should do the same here also. It's a null op unless the file exists and is executable, so enabling it gives all the benefits for extremely negligible cost. Example reproducable bug: * preseed a new host and an rc.local expected to run on boot * boot and realise rc.local didn't run * realise you can't enable it in the preseed as systemctl is not affecting the target system * curse Lennart (again) and run Devuan instead where things just work as they should To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1771802/+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