You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
init.d script should suid properly to the root user.
Looking at the init script for debian/ubuntu the problem is obvious. At lines:
https://github.com/poise/supervisor/blob/master/templates/default/debian/supervisor.init.erb#L95
https://github.com/poise/supervisor/blob/master/templates/default/debian/supervisor.init.erb#L146
You must add
-u root -c root -g root
, or set it to the proper user.In my case, when running chef on the node, I get variables propagated from the chef run and it ends up setting
$HOME
to/home/chef
and more.The text was updated successfully, but these errors were encountered: