Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2010 07:57:37 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/144442: [PATCH] remove unnecessary group and passwd entries for new DESTDIRS // mergemaster
Message-ID:  <201003030757.o237vbCB060056@www.freebsd.org>
Resent-Message-ID: <201003030800.o2380C8i085394@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144442
>Category:       conf
>Synopsis:       [PATCH] remove unnecessary group and passwd entries for new DESTDIRS // mergemaster
>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:   Wed Mar 03 08:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        RELENG_8
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb  3 16:57:07 PST 2010     garrcoop@garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86  i386
>Description:
The following patch removes all /etc/group and /etc/master.passwd entries based on MK_* variables defined when running make distribution on etc.

This patch uses goals for group and master.passwd in order to not whack existing files that may have been setup after ports were installed, and thus potentially break already installed packages.

mergemaster(1) is exempt from this because DESTDIR is set to somewhere off in /var/tmp/[...] and a diff is run against the running system <-> sysroot's files before it's installed in the sysroot, IFF the individual deletes the temproot between each run (or whatever the term was that mergemaster(1) uses...).
>How-To-Repeat:
n/a
>Fix:
See proposed enhancement patch.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003030757.o237vbCB060056>