Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2010 08:28:26 GMT
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/150877: newsyslog and zfs with compression on
Message-ID:  <201009230828.o8N8SQFX038227@www.freebsd.org>
Resent-Message-ID: <201009230830.o8N8U1C1047120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009230828.o8N8SQFX038227>