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

Remove systemd services with RefuseManualStop from needs-restarting #551

Open
nisbet-hubbard opened this issue Sep 7, 2024 · 1 comment

Comments

@nisbet-hubbard
Copy link

auditd, for instance, has RefuseManualStop=yes and so can’t really be restarted. needs-restarting -s should probably look at the unit files and remove any such services from consideration, or a depedency that can restart them may be substituted.

@evan-goode
Copy link
Member

I think this is a good suggestion. I would rather somehow mark the RefuseManualStop=yes services in the output versus omitting them entirely. Maybe printing a warning on stderr would be best so it doesn't interfere with stdout.

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

No branches or pull requests

2 participants