-
Notifications
You must be signed in to change notification settings - Fork 67
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
Always detecting ssh.service as service to restart #52
Comments
Hi, does the system runs with systemd? Could you please provide the content of |
Hi, here is the output from my machine, since I have the same problem, this might help you 😊
I installed needrestart from the AUR, which seems to be version 2.10-1, but |
@Korni22: do you use systemd's PAM module (libpam-systemd on Debian)? The content of the cgroup files shows that your screen instances are part of the sshd.service. If the systemd PAM module is used the user's processes should be part of a user session:
Without the systemd PAM module needrestart is unable to detect user sessions. PS: There was a bug showing the wrong version number in the needrestart 2.10 release. |
@liske it seems that Arch Linux does not use libpam-systemd, so I'm out of luck, but thanks for your help! |
…md is used without PAM integration (closes issue #52).
Hi,
I use needrestart on jessie from jessie-backports. I have the problem that ssh.service is always detected, e.g.:
[main] #9761 exe => /usr/bin/lxc-start
[main] #9761 is ssh.service
[main] #4166 exe => /usr/lib/jvm/java-8-oracle/bin/java
[Core] #4166 is a NeedRestart::Interp::Java
[Core] #4166 source is UNKNOWN
[main] #4166 is ssh.service
The text was updated successfully, but these errors were encountered: