-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
systemd kill causes undefined behavior in cleanup handler #36
Comments
Different broken log snippet after swapping function order:
|
sarnold
added
bug
Something isn't working
distro
OS or distro runtime environment
and removed
distro
OS or distro runtime environment
labels
Jun 3, 2020
sarnold
changed the title
cleaup functions broken on shutdown (with focal pkgs on kali/rolling)
cleanup functions broken on shutdown (with focal pkgs on kali/rolling)
Jun 3, 2020
sarnold
added a commit
that referenced
this issue
Jun 5, 2020
* check for iptables-legacy and use it if found * stop letting systemd kill anything and manually send the TERM signal Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
sarnold
changed the title
cleanup functions broken on shutdown (with focal pkgs on kali/rolling)
systemd kill causes undefined (ie, crazy) behavior in cleanup handler
Jun 5, 2020
sarnold
changed the title
systemd kill causes undefined (ie, crazy) behavior in cleanup handler
systemd kill causes undefined behavior in cleanup handler
Jun 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No problems using openrc with cgroups, but in spite of an almost identical man page description, letting systemd kill the daemon process on
stop
results in undefined behavior. The "fix" is settingin the unit file and letting
ExecStop
kill it manually.Correct log snippet:
Broken log snippet with an extra log command to verify the script:
The text was updated successfully, but these errors were encountered: