From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 23 08:30:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0187F1065672 for ; Thu, 23 Sep 2010 08:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D41FF8FC21 for ; Thu, 23 Sep 2010 08:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8N8U1ru047121 for ; Thu, 23 Sep 2010 08:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8N8U1C1047120; Thu, 23 Sep 2010 08:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 23 Sep 2010 08:30:01 GMT Resent-Message-Id: <201009230830.o8N8U1C1047120@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joshua Isom Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F2E106566B for ; Thu, 23 Sep 2010 08:28:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 023A88FC1F for ; Thu, 23 Sep 2010 08:28:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8N8SQLO038228 for ; Thu, 23 Sep 2010 08:28:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8N8SQFX038227; Thu, 23 Sep 2010 08:28:26 GMT (envelope-from nobody) Message-Id: <201009230828.o8N8SQFX038227@www.freebsd.org> Date: Thu, 23 Sep 2010 08:28:26 GMT From: Joshua Isom To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/150877: newsyslog and zfs with compression on X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 08:30:02 -0000 >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: