-
-
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
Erratic service file behavior with systemd >= 246 #62
Comments
Following the systemd man pages and updating the service file to "force" the default behavior (again, following the documentation) results in different but still erratic and incorrect behavior, as shown in the log file where only the cleanup function should be running, yet somehow systemd invokes pre-start functions and then runs the very last part of cleanup() 5 times in a row:
where the correct stop log is, including verbose:
|
Log above made with these changes to service file:
|
The systemd service file log shows repeated complaints about KillMode=none (with nothing useful in the 246 man page) and the service "stop" fails miserably. Tweaking the service file does change the behavior, ie, without changes, there is no more signal to tell the daemon to shutdown and run cleanup handlers, and tweaking has so far only resulted in even more erratic shutdown behavior (eg, one cleanup func gets run 5 times in a row but others never run). This means that fpnd can no longer send the offline msg or run the down scripts to cleanup routes and iptables rules.
The text was updated successfully, but these errors were encountered: