From owner-freebsd-questions@FreeBSD.ORG Tue Sep 18 21:31:40 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D21AB106575C for ; Tue, 18 Sep 2012 21:31:40 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from lordcow.org (lordcow.org [41.203.5.188]) by mx1.freebsd.org (Postfix) with ESMTP id 200318FC0A for ; Tue, 18 Sep 2012 21:31:38 +0000 (UTC) Received: from lordcow.org (localhost [127.0.0.1]) by lordcow.org (8.14.5/8.14.5) with ESMTP id q8ILVX4x047375 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 18 Sep 2012 23:31:33 +0200 (SAST) (envelope-from lordcow@lordcow.org) Received: (from lordcow@localhost) by lordcow.org (8.14.5/8.14.5/Submit) id q8ILVSpM047374 for questions@freebsd.org; Tue, 18 Sep 2012 23:31:28 +0200 (SAST) (envelope-from lordcow) Date: Tue, 18 Sep 2012 23:31:28 +0200 From: Gareth de Vaux To: questions@freebsd.org Message-ID: <20120918213128.GA43131@lordcow.org> References: <20120918093057.GA20095@lordcow.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120918093057.GA20095@lordcow.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lordcow.org Cc: Subject: Re: schg flags from installworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 21:31:40 -0000 On Tue 2012-09-18 (11:30), Gareth de Vaux wrote: > The host system doesn't have these flags. I was mistaken, they do. Looking at /usr/src/share/mk/bsd.prog.mk and /usr/src/share/mk/bsd.lib.mk - bins and libs get installed with schg if PRECIOUSPROG and PRECIOUSLIB are set respectively in their makefiles, both of which can be overridden by setting NO_FSCHG, presumably in /etc/make.conf. Without this doing jail maintenance/upgrades is a nightmare on a host with a securelevel of 1 but I haven't seen this mentioned anywhere.