From owner-freebsd-current@FreeBSD.ORG Fri May 16 13:53:37 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFC213EB for ; Fri, 16 May 2014 13:53:37 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC22D212C for ; Fri, 16 May 2014 13:53:37 +0000 (UTC) Received: from pool-71-174-178-66.bstnma.east.verizon.net ([71.174.178.66] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WlIZr-000Lsf-Ic for freebsd-current@freebsd.org; Fri, 16 May 2014 13:53:35 +0000 Received: from shibato.opal.com (ANice-652-1-30-110.w83-201.abo.wanadoo.fr [83.201.181.110]) (authenticated bits=0) by homobox.opal.com (8.14.7/8.14.7) with ESMTP id s4GDrU2l097156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 16 May 2014 09:53:33 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato (localhost [IPv6:::1]) by shibato.opal.com (8.14.8/8.14.8) with ESMTP id s4GDrODp004762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 16 May 2014 15:53:25 +0200 (CEST) (envelope-from fbsd@opal.com) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 71.174.178.66 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/P8r5MamnDXhJ4GdYOiULB Date: Fri, 16 May 2014 15:53:24 +0200 From: "J.R. Oldroyd" To: freebsd-current@freebsd.org Subject: timezone for 100.chksetuid Message-ID: <20140516155324.498039da@shibato> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (homobox.opal.com [71.174.178.66]); Fri, 16 May 2014 09:53:33 -0400 (EDT) X-Spam-Status: No, score=3.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on homobox.opal.com X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 13:53:38 -0000 I would like to propose that a timezone setting be possible for the src/etc/periodic/security/100.chksetuid script. Either fix it at something like UTC, or add an rc.conf setting that specifies what timezone to use. Or both, default to UTC but allow a timezone setting in rc.conf. Reason for this is that for folk who travel, the 100.chksetuid script generates and diffs "find -ls" output and this output changes if you change timezones and update the system timezone setting while you are away. It then changes back again when you return. If you travel a lot, the two timezone changes cause this script to flag every setuid file as having changed (twice), when all that changed is the time display. This means that real changes during the same period will likely be overlooked and the frequent non-real diffs tend to make one likely to ignore this section. -jr