Rc.local appears to not do anything on fedora-40-minimal template

The script appears not to run at all. No effect. I am testing with a simple echo "nameserver 127.0.0.1" > /etc/resolv.conf although I have had the same issue with other simple scripts. Should work since rc.local scripts run as root.

It just occurred to me that this specific issue might be due to Qubes setting its own network configuration after rc.local runs. I’m not sure if this is the case and will have to test it, but I haven’t been able to get any rc.local scripts to run in Fedora templates.

edit: Running rc.local from command line works fine.

Relevant posts: Rc.local in my template does nothing - #9 by michael