Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652452 - app-admin/logsentry-1.1.1-r2 - logcheck should re-create /var/tmp/logcheck/check.* if it is missing or not use /var/tmp
Summary: app-admin/logsentry-1.1.1-r2 - logcheck should re-create /var/tmp/logcheck/ch...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-04 21:09 UTC by Lars
Modified: 2018-10-20 15:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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