From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 18:10:32 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3F81065670; Mon, 21 Mar 2011 18:10:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE728FC1C; Mon, 21 Mar 2011 18:10:31 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id p2LHrjYV074633; Mon, 21 Mar 2011 18:53:45 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id BD082BA9C; Mon, 21 Mar 2011 18:53:44 +0100 (CET) Date: Mon, 21 Mar 2011 18:53:44 +0100 From: Roland Smith To: Alexander Leidinger Message-ID: <20110321175344.GA41347@slackbox.erewhon.net> References: <4D85AE1B.7010407@gmail.com> <20110320173157.00002024@unknown> <4D86EA62.9060506@gmail.com> <20110321082619.97716qmve56zukdw@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20110321082619.97716qmve56zukdw@webmail.leidinger.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: David Demelier , stable@freebsd.org, freebsd-current@freebsd.org Subject: Re: WITHOUT_JAIL and make delete-old{,-libs} X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 18:10:32 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 21, 2011 at 08:26:19AM +0100, Alexander Leidinger wrote: >=20 > Quoting David Demelier (from Mon, 21 Mar =20 > 2011 07:04:18 +0100): >=20 > > On 20/03/2011 17:31, Alexander Leidinger wrote: > >> On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier > >> wrote: > >> > >>> Hello, > >>> > >>> I was surprised to see there is no ${MK_JAIL} conditional to remove > >>> old files on 8.2-RELEASE so I started to write it without watching if > >>> -CURRENT already make it in > >>> /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. > >>> > >>> .if ${MK_JAIL} =3D=3D no >=20 > >>> I think they should be removed too, thus can you merge it to -STABLE > >>> if it's not already done? (sorry I'm not used to the cvs web > >>> interface and I don't have -STABLE right now) >=20 > > No I understood why, that's because a lot of userland programs that =20 > > can handle jails processes are linked to the libjail such as top, =20 > > ifconfig, ... >=20 > So it's just about merging to 8-stable. >=20 > I made a diff between -current and 8-stable, and there are a lot of =20 > differences. Instead of merging just the entries for the jails, it =20 > would be better to merge nearly everything. The problem is that this =20 > requires a lot of testing (delete old files, installworld, check if =20 > files reappear -> need to be removed from the list to remove with =20 > delete-old/-libs) and the libs need to be checked for the correct =20 > version number too. Some months ago, I submitted an PR with an update for tools/build/mk/OptionalObsoleteFiles.inc;=20 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dmisc/149360 I added stuff to it by looking at the options in src.conf(5) and running 'm= ake -n install' in the relevant kernel directory and noting what was installed. The original file I started from (1.20.2.2.2.1 from 2010/06/14) = was 1162 lines. My enhanced version is 2610 lines. Maybe you can use this? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2HkKgACgkQEnfvsMMhpyUoswCgnMHJ4LNVRo9dLJb//A9Hoe4a vaAAn3D3GwYEsE3IFa6QwOQZnEYJI5ZF =fj82 -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--