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...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
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: ---


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/ 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...)