Date: Wed, 19 Sep 2012 13:26:56 GMT From: Gareth de Vaux <freebsd@lordcow.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/171779: make option NO_FSCHG incomplete Message-ID: <201209191326.q8JDQuAR036603@red.freebsd.org> Resent-Message-ID: <201209191330.q8JDULGQ024162@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171779 >Category: misc >Synopsis: make option NO_FSCHG incomplete >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 Sep 19 13:30:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Gareth de Vaux >Release: 8.3-STABLE >Organization: iThemba LABS >Environment: FreeBSD XXX 8.3-STABLE FreeBSD 8.3-STABLE #0: Wed Sep 12 22:15:43 SAST 2012 root@XXX:/usr/obj/usr/src/sys/GENERIC i386 >Description: Outlined in http://lists.freebsd.org/pipermail/freebsd-stable/2012-September/069610.html Running a make installworld with NO_FSCHG defined fails to prevent /usr/bin/passwd being installed with the schg flag. >How-To-Repeat: chflags -R noschg / NO_FSCHG=true make installworld ls -lo /usr/bin/passwd >Fix: add conditional to 'afterinstall' in /usr/src/usr.bin/passwd/Makefile: .if !defined(NO_FSCHG) afterinstall: -chflags schg ${DESTDIR}${BINDIR}/passwd .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209191326.q8JDQuAR036603>