Article 5KFWY [SOLVED] systemd failing "Operation not permitted"

[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.latest?d=yIl2AUoC8zA latest?i=ON5bMQ8ZCW0:PhDcb8ADlEc:F7zBnMy latest?i=ON5bMQ8ZCW0:PhDcb8ADlEc:V_sGLiP latest?d=qj6IDK7rITs latest?i=ON5bMQ8ZCW0:PhDcb8ADlEc:gIN9vFwON5bMQ8ZCW0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments