Re: what's changed with newsyslog?

From: Ben Woods <woodsb02_at_gmail.com>
Date: Sun, 17 Dec 2017 21:38:42 +0000
On Mon, 18 Dec 2017 at 3:47 am, Michael Butler <imb_at_protected-networks.net>
wrote:

> In the past week or so I've been getting warnings like this ..
>
> bzip2: Can't open input file /var/log/snmpd.log.0: No such file or
> directory.
> newsyslog: `/usr/bin/bzip2 -f /var/log/snmpd.log.0
> /var/log/fwlw_clean_log.0' terminated with a non-zero status (1)
>
> I've checked the relevant /etc/newsyslog.conf and its /usr/local/etc
> counterpart to ensure there are tabs in the right places but the errors
> persist.
>
> Similarly, the relevant files are there and seem to be rotated as
> expected/desired ..
>
> -rw-r--r--  1 root  wheel         77 Dec 17 09:00 fwlw_clean_log
> -rw-r--r--  1 root  wheel      11282 Dec 17 09:00 fwlw_clean_log.0.bz2
> -rw-r--r--  1 root  wheel       9452 Dec 17 05:00 fwlw_clean_log.1.bz2
>
>  [ .. ]
>
> -rw-r--r--  1 root  wheel      50992 Dec 17 09:45 snmpd.log
> -rw-r--r--  1 root  wheel       1834 Dec 17 09:00 snmpd.log.0.bz2
> -rw-r--r--  1 root  wheel       1846 Dec 17 07:00 snmpd.log.1.bz2
>
>
> Hints?
>
>         imb
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


Could this be related to bapt’s recent change 11 days ago to allow
newsyslog to use different style of compression commands?
https://svnweb.freebsd.org/base?view=revision&revision=326617

Regards,
Ben
-- 

--
From: Benjamin Woods
woodsb02_at_gmail.com
Received on Sun Dec 17 2017 - 20:38:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC