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

Java services - temp files detected as false positives #48

Closed
taladar opened this issue Nov 8, 2016 · 2 comments
Closed

Java services - temp files detected as false positives #48

taladar opened this issue Nov 8, 2016 · 2 comments

Comments

@taladar
Copy link

taladar commented Nov 8, 2016

On a system running Jenkins

[main] #244 uses deleted /tmp/jna--1712433994/jna7942230164883463296.tmp
[main] #244 is a child of #242
[...]
[main] #242 exe => /usr/bin/daemon
[main] #242 is jenkins.service
Services to be restarted:
 systemctl restart jenkins.service

On a system running puppetserver (uses jruby)

[main] #1418 uses deleted /tmp/jffi2434865470457235499.so
[main] #1418 is not a child
[...]
[main] #1418 exe => /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
[Core] #1418 is a NeedRestart::Interp::Java
[Core] #1418 source is UNKNOWN
[main] #1418 is puppetserver.service
[...]
Services to be restarted:
 systemctl restart puppetserver.service

When restarting either service the same situation is immediately created again.

@liske
Copy link
Owner

liske commented Nov 14, 2016

In needrestart v2.10 this issue should not exist any more (see also #45).

@taladar
Copy link
Author

taladar commented Nov 15, 2016

I managed to exclude the files using that new mechanism. Thanks for your help. Our config file template came from an older version and did not have the current default settings yet for those new features.

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