Summary: | app-admin/webalizer should create /run/webalizer in cron job | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | G.Wolfe Woodbury <redwolfe> |
Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | redwolfe, web-apps |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
G.Wolfe Woodbury
2014-01-04 19:30:24 UTC
(In reply to G.Wolfe Woodbury from comment #0) > the app-admin/webalizer-2.23.05 default to putting various locfiles in > /run/webalizer/*, however nothing in the package ebuild ensures that the > directory is created or maintained, causing daily cron jobs to fail. > > Reproducible: Always > > Steps to Reproduce: > 1.install app-admin/webalizer-2.23.05 > 2.ensure cron job ois enables in /etc/cron.daily > 3. > Actual Results: > regular emails to root complaining about failed webalizer cron job due to > missing directory in /run > > Expected Results: > quiet operation > > workaround/fix: add line > mkdir -p /run/webalizer > > to /etc/cron.daily/webalizer before the "touch $LOCKFILE" call Is this a workaround or woudl it be a fix? Seems to me to be sufficient. I would call it a fix/patch in that it properly adapts webalizer for OpernRC As this is caused by having /run mounted as tmpfs, I think it would make more sense to create a common init script to be run on /boot and that populates the required dirs. I believe I heard some talk of doing this when these issues started appearing. Any update on this? I'm not currently using webalizer so I don't know if someone has fixed this. Anyone interested in this? Has it been fixed? (In reply to G.Wolfe Woodbury from comment #5) > Anyone interested in this? Has it been fixed? sorry i should probably drop this package since i'm not giving it love. do you want to give me a patch and i'll just apply it. |