conf/144442: [PATCH] remove unnecessary group and passwd entries
for new DESTDIRS // mergemaster
Garrett Cooper
gcooper at FreeBSD.org
Wed Mar 3 08:00:13 UTC 2010
>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 at 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:
More information about the freebsd-bugs
mailing list