From swell.k@gmail.com Tue Mar 1 11:14:42 2011 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44402106564A for ; Tue, 1 Mar 2011 11:14:42 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD41D8FC12 for ; Tue, 1 Mar 2011 11:14:41 +0000 (UTC) Received: by fxm19 with SMTP id 19so5237871fxm.13 for ; Tue, 01 Mar 2011 03:14:40 -0800 (PST) Received: by 10.223.91.148 with SMTP id n20mr468967fam.48.1298978080712; Tue, 01 Mar 2011 03:14:40 -0800 (PST) Received: from localhost (fresti.ros.sgsnet.se [193.11.208.139]) by mx.google.com with ESMTPS id f24sm2063967fak.24.2011.03.01.03.14.32 (version=SSLv3 cipher=OTHER); Tue, 01 Mar 2011 03:14:39 -0800 (PST) Message-Id: <86fwr7w0s6.fsf@gmail.com> Date: Tue, 01 Mar 2011 14:14:17 +0300 From: Anonymous To: FreeBSD-gnats-submit@freebsd.org Subject: [patch] mark /usr/local as nochange in mtree >Number: 155148 >Category: conf >Synopsis: [patch] mark /usr/local as nochange in mtree >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 01 11:20:08 UTC 2011 >Closed-Date: >Last-Modified: Tue Mar 1 11:40:05 UTC 2011 >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: After r196767 /usr/local is governed by ports tree, i.e. Templates/BSD.local.dist, BSD.gnome.dist, etc. So, don't try to alter permissions on the directory or issue a warning, e.g. if it is symlink and points to /dev/null. >How-To-Repeat: >Fix: --- a.diff begins here --- Index: etc/mtree/BSD.usr.dist =================================================================== --- etc/mtree/BSD.usr.dist (revision 219090) +++ etc/mtree/BSD.usr.dist (working copy) @@ -51,7 +51,7 @@ sm.bin .. .. - local + local nochange .. obj nochange .. --- a.diff ends here --- >Release-Note: >Audit-Trail: From: Anonymous To: bug-followup@freebsd.org Cc: Subject: Re: conf/155148: [patch] mark /usr/local as nochange in mtree Date: Tue, 01 Mar 2011 14:34:41 +0300 It's mostly useful for people using LOCALBASE != /usr/local and similar to r36671 reasoning can be applied to it. >Unformatted: