-
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
dpkg-query failed when binary are /usr/lib/jvm/java-X-openjdk-amd64/jre/bin/java #56
Comments
Hi, php5-cli Looking at the verbose output needrestart does detect it uses outdated script files but it is unable to find a service correponding to php5-cli:
Since needrestart is unable to find a service nor is 18763 part of a user session (attached to some sort of TTY) it is not reported (remember: needrestart handles daemons (and reports sessions)). Maybe some warnings about such processes should be added to make clear they are not handled by needrestart? multiarch There seems to be a problem with multiarch packages in the dpkg hook. But this is not an issue for you, if it would work, the result will stay the same (since openjdk-*-jre-headless does not provide any daemons nor services). Could you please provide the command line of the java processes? Needrestart tries to find the initial class file and lookup to which package the file belongs to but seems to fail. If the package provides services it is possible to restart the process (should work for tomcat and such daemons). |
Hi,
On a server I know there are binaries that use obsolete libraries but needrestart does not display them :
But when I execute checkrestart, I see java and php5 binaries that use obsoletes libraries :
Now I execute needrestart with verbose option :
I see there are errors when needrestart get package name of java binaries :
But I don't see any errors for the php5 binary then I still don't know why needrestart without verbose option does not display any messages for php5 binary.
The text was updated successfully, but these errors were encountered: