Re: Error with logrotate.
On Tuesday 13 August 2019 01:30:09 Erik Christiansen wrote:
> On 13.08.19 00:38, Gene Heskett wrote:
> > Its good that we can fix it, BUT IF you are going to restrict where
> > we keep logfiles like this then FIX the /var/log perms so that
> > fetchmail, procmail, spamassassin, clamav and its ilk, running as
> > the user can access /var/log to keep its logs. Debian's legendary
> > paranoia about who can write a log in /var/log has long since forced
> > most of us that want that log, into moving it to /home/username/log
> > and reprogramming logrotate to maintain it there years ago.
>
> Nuthin' wrong with that. An individual user's logs in his tree, and
> system logs in theirs. No effort:
>
> $ grep log .fetchmailrc .procmailrc
> .fetchmailrc:set logfile "/tmp/fetchmail_log"
> ...
> .procmailrc:LOGFILE=$MAILDIR/tmp_log.$$
> .procmailrc:FINAL_LOG=$MAILDIR/log
>
> If you had a house full of rowdy teenagers, would you really want them
> all able to wallop /var/log? And what if it were a tribe of uni
> students? (I think I have you sufficiently worried now, Gene.)
>
> Erik
> (Who was both, once.)
So was I, a long time ago.
Not a bit Eric. I'm hiding behind dd-wrt. Keyboard events if they occur,
were created by my fingers.
The last time I had children with me was nominally '85, when the 2nd
decided she didn't like WV and took heer & the kids back to Nebraska
where she could game the welfare system I had a timex-1000 I'd built a
16k rampack for. They wore out that membrane keyboard in less than a
week and I had to cobble up a box with a surplus ti-99 keyboard with a
rewired matrix for it. Now my youngest is in his late 40's and 1500+
miles west on i-80 in Nebraska. Fixing gear from nuclear power
facilities. Next up has his own tractor, pulling a powder wagon full of
portland for the Kansas Hyway Dept. Next up is all over the country
planting new power poles where-ever the last big storm hit & put a few
hundred thousand in the dark, and the oldest is doing contract takeoffs
for the biggest electrical contractor on the right coast.
I am it, my 79 yo wife is an invalid, no longer mobile enough to even get
in the same room with a keyboard, and has zero interest in it if I took
her a keyboard. And I am close to calling it a good run at 84, my
ticker is going to get looked at Wednesday. Needs some bypasses I
suspect. In the meantime, my regular schedule is on hold, just taking
care of the missus, cooking and dishwashing in a dishwasher.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: