>>103027740
i wasnt aware AppArmor was just an SELinux module, oops.
yea, thats the situation. heres the service:
[Unit]
Description=MyService
After=gssproxy.service
RequiresMountsFor=/mnt/nfs
[Service]
Type=simple
User=my-user
Group=cool-users
WorkingDirectory=/home/my-user
Environment="PATH=/mnt/nfs/public/bin:/mnt/nfs/public/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/mnt/nfs/public/bin/my-exec --log-level=DEBUG
Restart=on-failure
[Install]
WantedBy=multi-user.target
when i do sudo -u my-user /mnt/nfs/public/bin/my-exec
it works fine, but the daemon fails on EXEC. ill try disabling apparmor to see if it fixes it.