On 03/13/2015 09:10 AM, ianseeks wrote:
On Friday 13 Mar 2015 13:44:51 Per Jessen wrote:
ianseeks wrote:
Hi
My /var/log/messages is growing, is there a standard way to rotate this? The same goes for zypper.log which used to rotate, the last time it was 04-Nov last year. I'm sure this was al automatic at one point in time.
logrotate is the standard way to do it. In 13.2 it's driven by a systemd timer, but it's not been enabled by default. See "systemctl status logrotate.timer". Thanks Per. It was Inactive(dead), surprised its not enabled by default.
I've been delaying upgrading from 13.1 to 13.2 I always delay upgrades. The day 1 release on the DVD always has some problems/bugs/hazards. I get the feeling that 13.2 has more than 13.1 did, but that may simply be an observer fallacy. I know that the DVD doesn't get updated and the updates from the repositories will address many issues. The longer I wait the greater the flood of initial updates will be. But I wonder if things like this will be in that flood? while trivial to correct this is a non-trivial shortcoming. As Ian points out, the log files will just grown and grow unless logrotate is run, and 'out of the box' its not going to run. I realise that many updates in the update repository will only come about as a result of bug reports - if then! If at all! This might not be considered a real bug. I'm just wondering about many "if"s in all this. How much will get fixed in repo-update and how much is a matter of combing this list and applying fixes like this one manually? part of the reason I ask is that this is a baseline system item, not the kind of thing that is an if-but-may-be-only-some-users type, hardware dependent or something. Its a basic function and it not working is a serious deficiency compared to the baseline of previous releases. This isn't purely a systemd conversion matter. As Per points out, its there, its just not enabled by default 'out of the box'. Its a configuration issue. The system packagers should have enabled it. So: how much is foxed in repo-update and how much do we have to do manually? What about openSuse users who don't subscribe to this list? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org