Hi,
I’ve noticed that rc.local isn’t automatically running on boot since updating to 6.20.6 (Native PC BIOS version) yesterday.
I added exec > /var/log/rc.local.log 2>&1 to rc.local to see where it was failing, however rc.local doesn’t appear to be called at boot as there is no log file.
systemctl status rc.local.service shows that the service is inactive(dead) on reboot, despite being enabled.
manually running systemctl restart rc.local.service after the system has booted works without issue and creates the rc.local.log file as expected
I did experience both the “chmod: cannot access ‘/etc/profile.d/dietpi-*.sh’: No such file or directory” & First Boot Setup issues when updating the system & don’t know if this is related to this issue.
I was also able to replicate this issue on an RPI3 by updating the system from 6.19.7 to 6.20.6 (experiencing the chmod & first boot upgrade issues along the way), so it doesn’t appear to be restricted to the Native PC Bios version. I also checked that the rc.local.service was operating correctly under 6.19.7 before updating the system to 6.20.6.
Appreciate any advice or pointers in troubleshooting this one, as I have limited experience with resolving systemctl issues.
Cheers
Llama.