Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExecReload in unauth-http needs to be run as root #120

Open
lukasjuhrich opened this issue Oct 17, 2022 · 0 comments
Open

ExecReload in unauth-http needs to be run as root #120

lukasjuhrich opened this issue Oct 17, 2022 · 0 comments

Comments

@lukasjuhrich
Copy link
Collaborator

lukasjuhrich commented Oct 17, 2022

Symptoms

<netns:root> 19:42:57 root@hades-frink /etc/hades (git)-[next] # sc reload --no-block hades-unauth-http && journalctl --since=now -u hades-unauth-http -f
-- Journal begins at Fri 2018-08-03 18:54:48 CEST. --
Oct 17 19:43:01 hades-frink hades-unauth-http[66207]: kill: (64722): Operation not permitted
Oct 17 19:43:01 hades-frink systemd[1]: hades-unauth-http.service: Control process exited, code=exited, status=1/FAILURE
Oct 17 19:43:01 hades-frink systemd[1]: Reload failed for Hades http server (nginx).

Fix

ExecReload=@KILL@ -HUP $MAINPID

ExecStart= needs to be ExecStart=+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant