From owner-freebsd-doc@FreeBSD.ORG Fri Nov 12 14:30:13 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B180106566C for ; Fri, 12 Nov 2010 14:30:13 +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 5AE688FC23 for ; Fri, 12 Nov 2010 14:30:13 +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 oACEUDSj087708 for ; Fri, 12 Nov 2010 14:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oACEUDK1087704; Fri, 12 Nov 2010 14:30:13 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2010 14:30:13 GMT Resent-Message-Id: <201011121430.oACEUDK1087704@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ben Grimm Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035491065670 for ; Fri, 12 Nov 2010 14:21:31 +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 E38768FC23 for ; Fri, 12 Nov 2010 14:21:30 +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 oACELUxB035633 for ; Fri, 12 Nov 2010 14:21:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oACELUCd035632; Fri, 12 Nov 2010 14:21:30 GMT (envelope-from nobody) Message-Id: <201011121421.oACELUCd035632@www.freebsd.org> Date: Fri, 12 Nov 2010 14:21:30 GMT From: Ben Grimm To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/152167: portmaster(8) is a bit trigger-happy about clearing out /usr/local/ when rebuilding all ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 14:30:13 -0000 >Number: 152167 >Category: docs >Synopsis: portmaster(8) is a bit trigger-happy about clearing out /usr/local/ when rebuilding all ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 14:30:12 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ben Grimm >Release: FreeBSD 8.1-STABLE >Organization: >Environment: FreeBSD box 8.1-STABLE FreeBSD 8.1-STABLE #0 r215085: Wed Nov 10 13:29:39 CET 2010 toor@box:/usr/obj/usr/src/sys/BM64 amd64 >Description: man portmaster | less +/"Using portmaster to do a complete reinstallation" Step 8: 8. Manually check /usr/local and /var/db/pkg to make sure that they are really empty Some people may take this a bit too literally and actually nuke /usr/local/ without taking into account that there may be some very important files that reside there, e.g.: a) customised configuration files in /usr/local/etc/ (e.g. dovecot.conf, openvpn.conf, etc.) b) the DocumentRoot of one or more websites under /usr/local/www/ and/or /usr/local/apache22/ and or /usr/local/www/data/, etc. There may be other directories with 'payload' there. I think the man page should warn about the possible presence of such customisations. (I know: one should have backups at all times", but still ..) >How-To-Repeat: >Fix: Add some caution or reserve to the statement that /usr/local needs to be empty. >Release-Note: >Audit-Trail: >Unformatted: