setuid, pre-start and stop

Stuart Knightley stuart at stuartk.com
Sat Feb 1 01:38:42 UTC 2014


Hi all, 

I have an upstart script with setuid, and a pre-start script that I wish to call `stop` in. However the user I've changed to does not have permission to call stop. I realise that I can exit with a non-zero status but the previous thread on this mailing list indicates this is not best practice. 

Does anyone have any suggestions? 

Thanks, 
Stuart 




More information about the upstart-devel mailing list