Interesting... the python script I'm running is a post-processing script to mount an ISO after downloading. For months, I was using this command to mount and it worked ok:
subprocess.call(['/usr/bin/sudo', '/bin/mount', '-t', 'iso9660', '-o', 'loop', isoPath, tempdir])
To get sudo to work I had to copy a "sudoers" file into the container whenever SABNZBD was restarted, but this worked ok.
After I applied the last sabnzbd update, I started getting the "sudo not found" error. So I removed the "sudo" part of the command and tried this:
subprocess.call(['/bin/mount', '-t', 'iso9660', '-o', 'loop', isoPath, tempdir])
Now when the post-processing script runs, I see the following error in the SABNZBD log:
mount: only root can use "--options" option
I'm not exactly sure which account SABNZBD uses when it executes the post-processing scripts? Does it run with root privileges?
Thanks - appreciate your thoughts!