[Eisfair] logrotate 3.2.0 Fehlermeldung

Holger Bruenjes holgerbruenjes at gmx.net
Mo Jul 5 23:18:28 CEST 2021


Hallo Sebastian

Am 05/07/2021 um 22.48 schrieb Sebastian Ertz:
> habe herausgefunden das das = Zeichen zu viel ist, grep size
> /etc/logrotate.de/*
> /etc/logrotate.d/mail-addon-certs:    size +4096k
> /etc/logrotate.d/wtmp:    size +100k

nur was bedeutet jetzt dann das Plus, dass steht so auch in keiner 
manpage.



   size size
      Log  files are rotated only if they grow bigger than size 
bytes.  If
      size is followed by k, the size is assumed to be in 
kilobytes.   If
      the  M is used, the size is in megabytes, and if G is used, 
the size
      is in gigabytes. So size 100, size 100k, size 100M and size 
100G are
      all valid.  This option is mutually exclusive with the time 
interval
      options, and it causes log files to be rotated  without 
regard  for
      the  last  rotation  time, if specified after the time 
criteria (the
      last specified option takes the precedence).



ich sehe da auch kein '+'

Holger





Mehr Informationen über die Mailingliste Eisfair