-
Notifications
You must be signed in to change notification settings - Fork 68
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
wsdd always needs restart. #271
Comments
You can add |
@liske thanks for the reply. I've marked the lines above related to the process. This is after an update, a reboot, checking again for updates (none) and then running the command you have provided. I'm not sure why it considers that |
I'm seeing this as well:
needrestart.conf:
No .conf files in /etc/needrestart/conf.d.
I have opened wsdd always marked as needing restart to attempt to diagnose this from both sides. |
@liske My knowledge of Perl is rather limited, if non-existent, but doesn't that line needrestart/perl/lib/NeedRestart.pm Line 180 in 280c1ae
@rogerdc, @kristof-mattei You can verify yourself by doing
Maybe something is actually changing/touching the source file while the daemon is running... |
Quick test revealed that To be continued. |
Update: code checks the existence of the As that file doesn't exist it is always To be continued. |
Update: needrestart/ex/needrestart.conf Line 180 in 280c1ae
For me I have |
Nitpicking, but just to be clear: No, it does not. You have to ask for chroot via command line argument. Without looking it up, it might be that the Debian package provides a systemd unit that asks for chroot. |
Something in between. The default |
True. The service file from the Debian package does the same. |
Searching the code for needrestart/perl/lib/NeedRestart.pm Lines 171 to 174 in 280c1ae
And the code for getting the files used by the interpreter "blindly" walks the detected files needrestart/perl/lib/NeedRestart/Interp/Python.pm Lines 224 to 227 in 280c1ae
I also think the setting "skip_mapfile" is currently not intended to skip files used by chrooted interpreters. So, there appears to be a corner case for interpreted scripts, which run in an empty root, and which is not covered by needrestart at the moment. |
I didn't realize you are the author of |
needrestart uses the process's current view on the filesystem using the |
Hi all,
OS: Ubuntu 23.04
needsrestart
version: 3.6I am using
wsdd
: https://packages.ubuntu.com/lunar/wsddThis service is always marked as having to be restarted and I'd like to find out why that is.
In the case that it always needs to be restarted, is there a way to say: "if wsdd is the only one, don't prompt, just restart"?
Using Systemd!
Thanks!
The text was updated successfully, but these errors were encountered: