misc/150877: newsyslog and zfs with compression on

Joshua Isom jrisom at gmail.com
Thu Sep 23 08:30:02 UTC 2010


>Number:         150877
>Category:       misc
>Synopsis:       newsyslog and zfs with compression on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 23 08:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joshua Isom
>Release:        8.1-STABLE
>Organization:
>Environment:
FreeBSD jri.homeunix.com 8.1-STABLE FreeBSD 8.1-STABLE #1: Mon Aug 16 13:02:46 CDT 2010     root at jri.homeunix.com:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
The man page for newsyslog only states that it checks file size and not disk usage for whether or not to move a log file.  When newsyslog runs it looks at the number of blocks used and not the file size.  Given that the intent could be different for different sysadmins, I am not sure if it would be a software bug or a documentation error.
>How-To-Repeat:
Use zfs for /var/log with compression enabled, run ls -lh and see file sizes larger than configured in /etc/newsyslog.conf.
>Fix:
It's either a coding error and documentation ambiguity.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list