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
(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.