Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] logrotate
  • From: Peter Suetterlin <P.Suetterlin@xxxxxxxxxxxx>
  • Date: Thu, 14 Sep 2017 11:10:49 +0100
  • Message-id: <20170914101049.uym7q5w7rxysfhi7@woodstock.pitnet>
Per Jessen wrote:
Peter Suetterlin wrote:

woodstock:/etc # systemctl status logrotate.timer
‚óŹ logrotate.timer - Daily rotation of log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.timer; disabled;
vendor preset: enabled) Active: inactive (dead)

Hmm, I can't remember having disabled it. But obviously my fault then
:(

I am pretty certain I've come across this too - yep:

https://bugzilla.opensuse.org/show_bug.cgi?id=1054353

Ah. But all those bugs are about updates. My TW was a clean install from
scratch. So the question would be if the timer is active on (all) other TW
installations, or not.

But I assume the (missing) activation would also fail when fresh installing?

For now I manually did the suggested
systemctl enable logrotate.timer
systemctl start logrotate.timer
and now get
woodstock:/var/log # systemctl list-timers
NEXT LEFT LAST
PASSED UNIT ACTIVATES
Thu 2017-09-14 10:48:57 WEST 1min 46s left Wed 2017-09-13 10:48:57 WEST 23h
ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Fri 2017-09-15 00:00:00 WEST 13h left n/a n/a
logrotate.timer logrotate.service

2 timers listed.

Guess next night will see quite some CPU cycles burnt, xz compressing some
1.6GB...

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >