sudo, effective uid is not 0, systemd
Sudo aufgerufen in einem Shell-Skript, welches vom Systemd gestartet wurde, gab folgenden Fehler aus:
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
Ursache war: PrivateDevices=true im Systemd .service im Abschnitt [Service].
OS: RHEL9, systemd 250