Hide Forgot
Description of problem: On startup, systemd rc-local.service failed. Version-Release number of selected component (if applicable): Actual results: Jun 2 09:31:38 systemd[1]: rc-local.service: control process exited, code=exited status=1 rc-local.service loaded failed failed /etc/rc.local Compatibility Expected results: rc-local.service loaded active running /etc/rc.local Compatibility Additional info: If I run /etc/rc.local manually, it works... Maybe do you have any idea ? Thank you
Your script returns exit code 1 as it appears. systemd considers that a failure.
Thank you, I found the bug, it was a program that use sudo : Before, with init.d, no problem, but now with systemd, it seem not use a tty, so I obtained : sudo: sorry, you must have a tty to run sudo So, I removed "Defaults requiretty" into /etc/sudoers and it works.