[SOLVED] systemd failing "Operation not permitted"
by Mike Davies from LinuxQuestions.org on (#5KFWY)
Recently did an fresh install Fedora 34, and I'm trying to get the system working like it used to previously, but I have a problem with a systemd service.
I need to load a kernel module before starting a service.
Previously, the .service file simply had an extra line...
ExecStartPre=/sbin/modprobe ...
Now it fails with "operation not permitted".
It is all a bit annoying, because I can type in the command and start the service manually, but I'd rather have it running from the initial boot.
What is the secret ? I was under the impression that systemd ran as root and it could do anything.
Any help appreciated.
I need to load a kernel module before starting a service.
Previously, the .service file simply had an extra line...
ExecStartPre=/sbin/modprobe ...
Now it fails with "operation not permitted".
It is all a bit annoying, because I can type in the command and start the service manually, but I'd rather have it running from the initial boot.
What is the secret ? I was under the impression that systemd ran as root and it could do anything.
Any help appreciated.