journalctl -b | grep local shows: Sep 17 19:48:34 ubuntu systemd[1]: Starting LSB: Run /etc/rc.local if it exist... Sep 17 19:48:35 ubuntu smartd[696]: smartd 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-47-generic] (local build) Sep 17 19:48:35 ubuntu polkitd[771]: started daemon version 0.105 using authority implementation `local' version `0.105' Sep 17 19:48:35 ubuntu systemd[1]: Started LSB: Run /etc/rc.local if it exist. Sep 17 19:48:41 ubuntu systemd-resolved[868]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test Sep 17 19:48:42 ubuntu systemd[1]: Starting /etc/rc.local Compatibility... Sep 17 19:48:42 ubuntu systemd[1]: Started /etc/rc.local Compatibility.
root@ubuntu:~# systemctl | grep local rc-local.service loaded active exited /etc/rc.local Compatibility rc.local.service loaded active exited LSB: Run /etc/rc.local if it exist If I add something like: echo Running rc.local `date` >> /root/rc.local.log to /etc/rc.local delete the /root/rc.log and reboot I definitely get 2 entries: root@ubuntu:~# cat /root/rc.local.log Running rc.local Thu 17 Sep 2020 07:55:10 PM PDT Running rc.local Thu 17 Sep 2020 07:55:12 PM PDT ** Attachment added: "journalctl -b outpout attached." https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1895424/+attachment/5411996/+files/journal.log -- 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/1895424 Title: duplicate rc local service Status in systemd package in Ubuntu: Incomplete Bug description: Upgrading from Ubuntu 18.04 to 20.04 using "do-release-upgrade -d" Creates two systemd services: rc.local and rc-local This has the unfortunate event of running /etc/rc.local multiple times during bootup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1895424/+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