Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212727

Re: Error with logrotate.

From Erik Christiansen <dvalin@internode.on.net>
Newsgroups linux.debian.user
Subject Re: Error with logrotate.
Date 2019-08-13 07:40 +0200
Message-ID <yuxHk-63S-7@gated-at.bofh.it> (permalink)
References <yuqcO-1c2-13@gated-at.bofh.it> <yuwid-5gG-1@gated-at.bofh.it> <yuwLf-5sF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error with logrotate. Philip <philip@treads.nz> - 2019-08-12 23:40 +0200
  Re: Error with logrotate. Teemu Likonen <tlikonen@iki.fi> - 2019-08-13 06:10 +0200
    Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 06:40 +0200
      Re: Error with logrotate. Sven Joachim <svenjoac@gmx.de> - 2019-08-13 07:10 +0200
      Re: Error with logrotate. Erik Christiansen <dvalin@internode.on.net> - 2019-08-13 07:40 +0200
        Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 11:00 +0200
      Re: Error with logrotate. deloptes <deloptes@gmail.com> - 2019-08-13 08:30 +0200
        Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 11:20 +0200
          Re: Error with logrotate. Dan Purgert <dan@djph.net> - 2019-08-13 12:00 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 16:00 +0200
              Re: Error with logrotate. Dan Purgert <dan@djph.net> - 2019-08-13 19:20 +0200
                Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 19:40 +0200
          Re: Error with logrotate. Lee <ler762@gmail.com> - 2019-08-13 21:10 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 22:00 +0200
            Re: Error with logrotate. Gene Heskett <gheskett@shentel.net> - 2019-08-13 22:30 +0200
        Re: OT: While we're talking about logrotate (was: Re: Error with logrotate.) rhkramer@gmail.com - 2019-08-13 14:10 +0200
    Re: Error with logrotate. Sven Joachim <svenjoac@gmx.de> - 2019-08-13 07:10 +0200
  Re: Error with logrotate. Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-13 15:20 +0200

csiph-web