Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652452

Summary: app-admin/logsentry-1.1.1-r2 - logcheck should re-create /var/tmp/logcheck/check.* if it is missing or not use /var/tmp
Product: Gentoo Linux Reporter: Lars <gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars 2018-04-04 21:09:51 UTC
If /var/tmp is a tmpfs its content is deleted on reboot and logcheck complains about missing file or directory:

    /etc/logcheck/logcheck.sh: line 189: /var/tmp/logcheck/check.9861: No such file or directory

If logcheck expects logcheck/check.* to be persistent it should not use /var/tmp which is for temporary files. Otherwise it should re-create the missing file or directory.
Comment 1 Pacho Ramos gentoo-dev 2018-10-20 15:26:23 UTC
it seems that we are the last distribution still supplying this package. Cannot it be replaced by other tools?

Regarding the dir... we could change it I think, but I am not sure about the purpose of that "temporal" directory. How is it really using it? If the files there need to be persistent... it doesn't look like a "temporal" dir to me and, then, its location should be different (like /var/lib...) 

Thanks