From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 17 21:20:02 2009 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 0EF721065670 for ; Tue, 17 Feb 2009 21:20: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 DF06A8FC28 for ; Tue, 17 Feb 2009 21:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1HLK16t054754 for ; Tue, 17 Feb 2009 21:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1HLK19b054753; Tue, 17 Feb 2009 21:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 17 Feb 2009 21:20:01 GMT Resent-Message-Id: <200902172120.n1HLK19b054753@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, Vladimir Chukharev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41CE91065675 for ; Tue, 17 Feb 2009 21:14:42 +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 300038FC19 for ; Tue, 17 Feb 2009 21:14:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1HLEfNg018328 for ; Tue, 17 Feb 2009 21:14:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1HLEfkI018327; Tue, 17 Feb 2009 21:14:41 GMT (envelope-from nobody) Message-Id: <200902172114.n1HLEfkI018327@www.freebsd.org> Date: Tue, 17 Feb 2009 21:14:41 GMT From: Vladimir Chukharev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/131790: ports-mgmt/portlint should check filenames (feature request) 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: Tue, 17 Feb 2009 21:20:02 -0000 >Number: 131790 >Category: misc >Synopsis: ports-mgmt/portlint should check filenames (feature request) >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: Tue Feb 17 21:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vladimir Chukharev >Release: RELENG_7 >Organization: >Environment: FreeBSD chu.me.tut.fi 7.1-STABLE FreeBSD 7.1-STABLE #4: Fri Feb 6 10:23:10 EET 2009 root@chu.me.tut.fi:/usr/obj/usr/src/sys/CHU i386 >Description: FreeBSD uses some filenames in a special way, *.core is the most important example. At least 2 ports currently install files of this form, lang/sbcl and math/maxima (/usr/local/lib/sbcl/sbcl.core and /usr/local/lib/maxima/5.17.1/binary-sbcl/maxima.core). This kind of files are deleted by a periodic job periodic/daily/100.clean-disks (among others), provided /etc/periodic.conf defines a variable daily_clean_disks_enable="YES" See PR conf/129697 for a workaround. I think that the solution is to avoid installing the files with names corresponding to those used by 100.clean-disks (definition is in /etc/defaults/periodic.conf variable daily_clean_disks_files). And I beleave that portlint is the right place to check that a port is not installing a file with a wrong name. So I request to add a corresponding test to portlint. Perhaps, portsmon and/or pointyhat can also check this, if portlint cannot check ports with dynamic package list, as I understand it... Best regards, Vladimir >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: