From owner-freebsd-pkgbase@freebsd.org Tue May 3 19:42:40 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90328B2CFFF for ; Tue, 3 May 2016 19:42:40 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 752AE1EA7 for ; Tue, 3 May 2016 19:42:40 +0000 (UTC) (envelope-from kris@ixsystems.com) X-ASG-Debug-ID: 1462304558-08ca045f6978950001-wjM0Vu Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id kS5z2sF19GaJ9lTo (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 03 May 2016 12:42:39 -0700 (PDT) X-Barracuda-Envelope-From: kris@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id F0D06C64AB3 for ; Tue, 3 May 2016 12:42:38 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gP9nW0T_cgv8 for ; Tue, 3 May 2016 12:42:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 9B2D6C64AB6 for ; Tue, 3 May 2016 12:42:38 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e4HTctqy6vfE for ; Tue, 3 May 2016 12:42:38 -0700 (PDT) Received: from [10.20.1.10] (unknown [10.20.1.10]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id 2B601C64AB3 for ; Tue, 3 May 2016 12:42:38 -0700 (PDT) To: freebsd-pkgbase@freebsd.org From: Kris Moore Subject: suid binaries Message-ID: X-ASG-Orig-Subj: suid binaries Date: Tue, 3 May 2016 15:42:37 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1462304559 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 19:42:40 -0000 Hey, another couple potential bugs here. After updating to base packages, noticed that some binaries aren't installed suid anymore: -r-xr-xr-- 2 root wheel 15432 Apr 29 15:18 /sbin/shutdown Also /usr/share/zoneinfo/zone.tab and related files aren't installed, even if I run make distribute and copy those bits over. -- Kris Moore PC-BSD Software / iXsystems Enterprise Storage & Servers Driven By Open Source From owner-freebsd-pkgbase@freebsd.org Tue May 3 19:50:55 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9549FB2C190 for ; Tue, 3 May 2016 19:50:55 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 729BA12D5; Tue, 3 May 2016 19:50:55 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 2F6801576; Tue, 3 May 2016 19:50:55 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Tue, 3 May 2016 19:50:54 +0000 From: Glen Barber To: Kris Moore Cc: freebsd-pkgbase@freebsd.org Subject: Re: suid binaries Message-ID: <20160503195054.GY1804@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L3OKINy5etNmFu3S" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 19:50:55 -0000 --L3OKINy5etNmFu3S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 03, 2016 at 03:42:37PM -0400, Kris Moore wrote: >=20 > Hey, another couple potential bugs here. After updating to base > packages, noticed that some binaries aren't installed suid anymore: >=20 > -r-xr-xr-- 2 root wheel 15432 Apr 29 15:18 /sbin/shutdown >=20 This seems like a potential pkg(8) issue on initial inspection. CC'd Baptiste for a second set of eyes. > Also /usr/share/zoneinfo/zone.tab and related files aren't installed, > even if I run make distribute and copy those bits over. >=20 Thanks for the report. Testing a fix now. Glen --L3OKINy5etNmFu3S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXKQEeAAoJEAMUWKVHj+KTK4AQAIsutRqjcgQ/9GW+cUP+94aT ldf5G+iKZR7T94QHzm/walID4JSGXEkJ+T8bOrSTZVvkDMEd5FGzC+WhOM85njQY IqIsKdrQ1KQ1FSdaFCITWLV4szIBDSGGfSEmJ1lNGiC+b743uh+qFXHkSL29lJhn oXqbJiJxYw568/ih+fH/BSetD5r4WjqRrsIgpXZTAJuxORlCxePhJQb4c58H6nAR OBuaV6IDqJI9/f0KqVQPnVMWkMtgs2jFBGekW85BDy0GxZyUOMfw1uZHqdT6Kput gliAL80TT5C97k/yFUWGNOYszyP7ZWS7p7AZ7u8+NyUQchUE4czxk9+bR8dQZB5L nd2LYNt49wDKaaRTBPsbXjVR44Ce0ROHM0XodkxI9amYENZyUFCxg5EGApTWAwfu vkW95bj0LkkBrroho9/aLaSuarmE3y6rsgZiRcruAysVEHuhrYtfNSUR95Dm8MTk P52kChMEsveX7oMcRrnGLHuBzlpOmXHuajQjI7K/zK14/8w5x4a1q7nifB/5slrk TXvqNtJUMrUG9cAWnKLqPJ3hi7h34sFl9VJgxHpOtycGuX7HCQI6k2d4gBEDtIiu mBaoH0EE4UsIlASH/XNvm2ln1YKPFwKxkaq2q3jdven2cgR3rMShhjP0d6nzmK9L ifdjruAA8bjMTBtgzbWk =E7u5 -----END PGP SIGNATURE----- --L3OKINy5etNmFu3S-- From owner-freebsd-pkgbase@freebsd.org Tue May 3 19:51:24 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13E72B2C25D for ; Tue, 3 May 2016 19:51:24 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0615F133C; Tue, 3 May 2016 19:51:24 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id AA9F61596; Tue, 3 May 2016 19:51:23 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Tue, 3 May 2016 19:51:22 +0000 From: Glen Barber To: Kris Moore Cc: freebsd-pkgbase@freebsd.org, Baptiste Daroussin Subject: Re: suid binaries Message-ID: <20160503195122.GZ1804@FreeBSD.org> References: <20160503195054.GY1804@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LUstZWlke6RRad1R" Content-Disposition: inline In-Reply-To: <20160503195054.GY1804@FreeBSD.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 19:51:24 -0000 --LUstZWlke6RRad1R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 03, 2016 at 07:50:54PM +0000, Glen Barber wrote: > On Tue, May 03, 2016 at 03:42:37PM -0400, Kris Moore wrote: > >=20 > > Hey, another couple potential bugs here. After updating to base > > packages, noticed that some binaries aren't installed suid anymore: > >=20 > > -r-xr-xr-- 2 root wheel 15432 Apr 29 15:18 /sbin/shutdown > >=20 >=20 > This seems like a potential pkg(8) issue on initial inspection. CC'd > Baptiste for a second set of eyes. >=20 Sigh. Really CC'd him this time... > > Also /usr/share/zoneinfo/zone.tab and related files aren't installed, > > even if I run make distribute and copy those bits over. > >=20 >=20 > Thanks for the report. Testing a fix now. >=20 > Glen >=20 Glen --LUstZWlke6RRad1R Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXKQE6AAoJEAMUWKVHj+KTGsgP/1y2D+vQGoIAp3QI/w7+rC/q XhNbMrQ4riY/eeaHswuDPqIiPyaUf+SAoQ8NUpLdi7RGb9IY4FftLBCmRNZLUfpk uoge2K1UP23TnhQ8VSYDrDUCY6Rb7+shy2pjWlZm7DhCXXfcugy9rKKLOPDsVsAD wBDVXTk4YVJZIDY7xhjSJL4DQcn2XM1fMv5rogzXV/YR2ijkMsxfpW38oIMCWZ26 aW2dtFeaGDlAHnG7YPjZ9ERkxdm33puprTtAGO4esGTuyUkR/lwHBZrgdjZsg0ed IlaNfl4LPnUKj8Jc0B0sn1JM9FaqyebRLXlLUPS68Ufzj+t9big6mMBIRgyGSHYT 3H0onyAXs9PlWW5R3upizOhBXMJOob0JjPi3lNT6gGMHtXZlHWlO7cFFG+YNLjr/ 5swfHqshdaiXPyCXGgwcu1skkKGXtnF3yzsV6R+eydeDjkcK8aga8Heiva9WeArm Cka8/Hsnk5Cku8wnOVKlqovo44hYGlRw+UqiWOtn+3HsoVs4R/11cjxbbuHYYtMP Zn9i0zv0WDFVV03MR0AkS777q1gaeNSD/6wLMYbkjc4xt3ske9T1j6OLk5F5hI+y 8Dlkm52agJ7GYKx6V0nB40Ub0O/ZpbvE9LPC+TdIpbWAz7ebjZU+KeXVNKjkkBpf z8unSUrY2EaLFvOlekGm =/ibe -----END PGP SIGNATURE----- --LUstZWlke6RRad1R-- From owner-freebsd-pkgbase@freebsd.org Tue May 3 19:54:47 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AFD1B2C283 for ; Tue, 3 May 2016 19:54:47 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E502716C4; Tue, 3 May 2016 19:54:46 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id w143so5575274wmw.3; Tue, 03 May 2016 12:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/EAGzkAuOBKuFyDUB1/fWEgQOE5kT+yqDoNmbFmHg4M=; b=YVAQMcqrYPl0J1gygmur1iYEJfPsGygifcVVM9J8poGbx4pHZogAFXuWhMDKwgFS8P M+vOxXDXuB5D0QBFOdOO3nK13zraa7bl49jZaRP/l4c6z1nCj84GM/ki+CLy+OjE8Pqb t5Dna5Cp3KsMfo8Jw51KIUpvYQ9CnKzzVRisFa16XF23Yn4qVJJEF6xMXZAReKGOwg3Z HP+YKV6aX4A7z62Aph9O1aJ8DZ4rhSgmX3hWQyYxMQYmpv8k1jgMM5Ju4JrPjVmdS1pf EHeiSUG7GWnKjDglZc6TkngH+5F2aP77uAQvJAnnuzm5Nx7SA+zfYrVrHH5Yhv/tKADb 8JcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=/EAGzkAuOBKuFyDUB1/fWEgQOE5kT+yqDoNmbFmHg4M=; b=IejxAr3J5KcoEzeKMrRO8hL8didVD4sXZrd2CsUElsTBjT3GJ3vFLFm6+u24bVPqex McUB7b1EOwPM+vUevNH9DvqjW4xBmBPeFq47A9oAcMay8Vz5bsdtE7aiHGuxCPti4Dtq 7uJoUdSmsfjfx+owo/RP/QhRRuG1aE1If6r7mwVDC0wwVAr413VxNSRSSyFpT9q3C3Cr b/FVbtsWv3eN8GgMCjVU1fA55jiLtmULwmw0+P/A668J1FYt+L2mX/1+LW4LkT42wiSx jp/7iKp/jdT4ZUXiD0gtMuREcgS+ZvCZ+QqnrZzUHRZK9VBCXe6f8zkLNz+VSGjC3JjU r9+g== X-Gm-Message-State: AOPr4FWbnl/rHHbIC0y3dRNBGtR5zAgk/OthiiUVxHQQq3cjz7SCufVyhw0cAUR5GrqjIg== X-Received: by 10.194.139.104 with SMTP id qx8mr4606167wjb.14.1462305285615; Tue, 03 May 2016 12:54:45 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id kj9sm85208wjb.14.2016.05.03.12.54.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 May 2016 12:54:44 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 3 May 2016 21:54:42 +0200 From: Baptiste Daroussin To: Glen Barber Cc: Kris Moore , freebsd-pkgbase@freebsd.org Subject: Re: suid binaries Message-ID: <20160503195442.GF72982@ivaldir.etoilebsd.net> References: <20160503195054.GY1804@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pyE8wggRBhVBcj8z" Content-Disposition: inline In-Reply-To: <20160503195054.GY1804@FreeBSD.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 19:54:47 -0000 --pyE8wggRBhVBcj8z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 03, 2016 at 07:50:54PM +0000, Glen Barber wrote: > On Tue, May 03, 2016 at 03:42:37PM -0400, Kris Moore wrote: > >=20 > > Hey, another couple potential bugs here. After updating to base > > packages, noticed that some binaries aren't installed suid anymore: > >=20 > > -r-xr-xr-- 2 root wheel 15432 Apr 29 15:18 /sbin/shutdown > >=20 >=20 > This seems like a potential pkg(8) issue on initial inspection. CC'd > Baptiste for a second set of eyes. >=20 I don't think so, lots of ports are installing files with setuid just fine There might be an issue with hardlinked one (I doubt it) but I'll double ch= eck Bapt --pyE8wggRBhVBcj8z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXKQICAAoJEGOJi9zxtz5anT0P+wXZ/xHAB/M9bfpbM6TnVOur 5MOI/LU32FoQ4Hp8KLR+DMoS1bXurpGNb+ETggqO4zaPoU/MDFcQsk31rmIxcQeI 8RT/mMmEvO7pgAHj5vOyX1dIJPUKA+8KjUh7Oh8CdnYMVwcqoc/oLVxUsUfS3nVW yBmMdiS+j+6b2uc6NoegXDU97g+lNLOZTRMOwtN7rExQ6UOjqlGb2W0t0fMAw8Hz Sq4FDO32uHJNso2ETqSKiIPyn4NhDRk3Sx0rpmrxApSi9RQMy6MEGdcQABZZokYC 7GS7Js2AzWtkFXyg3TOw/rGFOwiKkmFzM8uXrTMpIG+EeLz64t44s8tFt0koM/mj NaB1Lq03QM2yB406jTx/h+0DvFMcREz3SGgoLqPrYSFg18RUmqVbS3UG4VdyyB7i snTWwYEX9q93zU1GtfbT9JLaAkH0EZVzxbxsKDHX6qYkRZXXQ23UBukNRCedmLff RMMxnA4E1dwiVSezk8T50rZZvqN065ky/5f1W2a59LEDaYoo9oeYPs3qQe0PL2b8 ZzGR4BiNEfMaIJNr7Q8mvKyvm7o1ygNfMBRSECE7ceqd+sH2CydzkojBF8tYGxVY iyL9oEeN+/eJ/14AmzhGaqInIdQQ5PczW7Rq/kuthzK58jPrJ33xWLZyOguTEABY bUcoVSJL87PwZhx9pu2u =vNoZ -----END PGP SIGNATURE----- --pyE8wggRBhVBcj8z-- From owner-freebsd-pkgbase@freebsd.org Fri May 6 22:08:31 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA391B31794; Fri, 6 May 2016 22:08:31 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 680B417A3; Fri, 6 May 2016 22:08:31 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id a17so97904365wme.0; Fri, 06 May 2016 15:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=WbT92qOfE2u6RXHbaAj+uMcvYAlxZISldfHckfV/r/M=; b=CgHhrSD/mlB8GqVta0ufASgSyF9Lj8I37wKiPk++WQ/f9ZoXrdq/U1a0ylbmEnJO/j mkeusXjjKunseF2a+WWdHd9MQKwL77/5li4wNWbJd2w7if0tcfQYvWZwJ21tQNsbo+q0 TP4aJHxqVGikX1FFct8NZ/xEToovDmbYEfuQ+AErK38QuHPWMaFOnPZ9AKGQbHGW76la kxxQI9lGHS+Jm7KZtPBvtc+k3foBc93s4tE3pHSnahsLAIEmphaZUd0/9nVCmBYYIhtk WucXAuAaj7fFtvoXTfHv9Q6Ympf2rwyhn9fQCh4uZiOlaPIPQiJPxJH5RRzffZkVCRLq 7rMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=WbT92qOfE2u6RXHbaAj+uMcvYAlxZISldfHckfV/r/M=; b=YVmXQUwxo0h8APLiK+90HafGMbFNnHsFpQ53hzbEnmvQ+cU8YWAB4UsVf25+d5ifDR 7ML4Lv0Xq19k2OraoyeCz+lxBCbD5JZs1B+mi4uiNPwWnfjm6PtUiwAnQS0obOGFgSrs 2S5ng1Y3fmI7ARVJP1KrBcBSXw3ri5RdhJByyJVMPsbpKTi72QrBGbII9jlyyBzrXzgY /8pvnIfoXEeNLTVpqAA8bKfk85U2TuKGv2Yr0cRm0dYdK2GKhBtQm07v6NcRy5gGW+5W PmO/19z17enE1ltZb0DgdCVvxFMI539k8OnAvY6Aeq8jNoyBGbB/xaYSYnHu+VexjBBH yqgQ== X-Gm-Message-State: AOPr4FX++H4bKGwvEXMxyBvGZLCn/plvaY6l/jmVdSmSO8lNj8vfvRbwhahRoSvoKncLTjH+MLxvHs1IggTaSA== MIME-Version: 1.0 X-Received: by 10.194.203.138 with SMTP id kq10mr22412409wjc.155.1462572509027; Fri, 06 May 2016 15:08:29 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Fri, 6 May 2016 15:08:28 -0700 (PDT) Date: Sat, 7 May 2016 00:08:28 +0200 Message-ID: Subject: NO_INSTALLEXTRAKERNELS and PkgBase From: Ben Woods To: freebsd-pkgbase@freebsd.org, FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 22:08:31 -0000 Hi everyone, The commit in r299088 changes the behaviour for building multiple kernels when the KERNCONF value contains multiple (space-separated) kernel conf names. https://svnweb.freebsd.org/base?view=revision&revision=299088 When PkgBase was announced by Glen Barber in March, note 4 of his email stated that multiple kernels would be built and packaged if multiple are listed in KERNCONF. https://lists.freebsd.org/pipermail/freebsd-pkgbase/2016-March/000032.html Can I please clarify the desired behaviour so that I can update the PkgBase wiki article accordingly? I personally think it is quite a neat feature to build multiple kernels if they are listed in KERNCONF. Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-pkgbase@freebsd.org Fri May 6 22:11:54 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D0DFB31944; Fri, 6 May 2016 22:11:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F309E1A41; Fri, 6 May 2016 22:11:53 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id ABB861B86; Fri, 6 May 2016 22:11:53 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Fri, 6 May 2016 22:11:51 +0000 From: Glen Barber To: Ben Woods Cc: freebsd-pkgbase@freebsd.org, FreeBSD Current Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160506221151.GN1362@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="muT+E17Lr9urPYYJ" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 22:11:54 -0000 --muT+E17Lr9urPYYJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 07, 2016 at 12:08:28AM +0200, Ben Woods wrote: > Hi everyone, >=20 > The commit in r299088 changes the behaviour for building multiple kernels > when the KERNCONF value contains multiple (space-separated) kernel conf > names. > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D299088 >=20 > When PkgBase was announced by Glen Barber in March, note 4 of his email > stated that multiple kernels would be built and packaged if multiple are > listed in KERNCONF. > https://lists.freebsd.org/pipermail/freebsd-pkgbase/2016-March/000032.html >=20 > Can I please clarify the desired behaviour so that I can update the PkgBa= se > wiki article accordingly? I personally think it is quite a neat feature to > build multiple kernels if they are listed in KERNCONF. >=20 With 'installkernel', the first kernel listed in KERNCONF is installed as the default (/boot/kernel), and subsequent kernels are installed with the kernel name included in the path (/boot/kernel.${INSTKERNNAME}). In both cases (source-based upgrades and with pkgbase), the behavior will remain the same. Glen --muT+E17Lr9urPYYJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXLRaiAAoJEAMUWKVHj+KT7RwQAJkZfuCkG/lmbA1doNO9hYbu 4w2FEDrJ+T4y2/6XqeQQrEfqDj1+tGvB59+dvFbtS1D6HdGGJ3iOj1tK2owWcdW4 kRRNWIfQvdw4fCCSWKk+jWH8GBX4ZhYa7YF4ha1sL9rUZ1YdtTdjSoeynW81Nr6U EMSH5AaUXWZfc7H1xoqyH3jMtC294hm/iElAV9C6Rl44rgtuzmfLJ4wyIEDIFArR 3bWZ/4vh0IxgdNoajWliRkCqRdyAOFFO5LLs1XIen2FzTk9QjMVLTOA1XAME1ZLm e+HH4Ov5MnoVmPBi8PqrlS1NDVtVrndyCNn/6YhBaeElHXRj20yAilr8nwkKaIR0 SSgXFShCvzKO0DtjIS0S4N+GHAWh3pfP4ebJlhwEHSk8dbOmITbmckyS+sBxnhvB K4Gj0kCLNKZkeAUg6Byi3Lem766BbIEJwOOyWwUe6VXoe2MzHhfktdhVaHFh3SfV B4db5tAnHreAicOBpY8iOjoib1Y5qCyD4JykNXAFxQEaguYFT5akhFUk6bH8kk5r DFXE78Yx1RsVNZWOogrgjLL+IEkwIpVxJZ4Hbmtjdr58n8sgECeltB9NnXy47Yo5 q7rzLSHWkY5fvr64BflS9+vBcEJ5Z/MCcHyuW1by3GCKbtsA+knTtcmTAySH42eZ 0crmUCIwlaEtBahf5rg6 =cAma -----END PGP SIGNATURE----- --muT+E17Lr9urPYYJ-- From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:27:56 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA6F1B31A88; Sat, 7 May 2016 07:27:56 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A4B61C9E; Sat, 7 May 2016 07:27:56 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id r12so12101378wme.0; Sat, 07 May 2016 00:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=BjC2O9axMqnWbRf5V25TLqmFZS8gPja7hrRPzbSUqvA=; b=rOpMXBlmfaWlIE8zFFZvl2rAZaIlN48bEuU+sSOSYp15REbFS/4aU59TQG/zjXfJFx JZLZVf8V6uSiuvc1SyG5IHjXUvGaNp6ctkxU7Y/OmKwT7gGdLaSzHO+QYI3vVq1k5/qd 02kwo7DwwwTeTK1GHrcu0shRH5uTh0BETN2tI3eCxTSVlySvQR3Y7Y1wOa+U+yMFIy8Z RvLhoFlBTT8tVPcd0yhf/lIAAHpGL95W6KJUdOjPch+rHxGQkrbJn+heaZKSDFLm/LjQ HE2YGt1MiNLEQDQ1NHiINtps9n5TziIOFKLG2NCnI5eGODBTiphqjlgt+5Prc69Jp5SI f0eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=BjC2O9axMqnWbRf5V25TLqmFZS8gPja7hrRPzbSUqvA=; b=BX71/ewno0cIZFF8pY4G+0eaSJK63GT3XdpsC1wJIgNETFzTnrTOg10MA7sYck7ia3 mjtmBtjWx1qXJID/aderzw3D7nxjuKS2+tcVDSURdyLQk6CQoQQBwC2hDFzPcCoFj6a3 DpVRVnsfcHPfGcc8cO0k4pQf3pUy2aDu+RHKQ8rb1QUqHvgvtxQElbGrDWNiawnIyafB 6nLVfYMa37DutAZgbIH2QvGeyYjgHMmlmBNQyDnj+96iG1lNCwaxxFA8zlrkixoqb1N1 PTVkWGqR3Hd7m6+yfgGWxwk2DHEGQq0hSc5Gyprbs+DSzh4tb1NaXTJx34c7XyExOKpv N/tw== X-Gm-Message-State: AOPr4FVtPehKYSRX9uTrEHLhwTP6MskWDoFaCMj/NES3vMxONxHdxATvZmw3n2iljOfdgmZTPcbyghck1p22aw== MIME-Version: 1.0 X-Received: by 10.194.63.226 with SMTP id j2mr23458770wjs.27.1462606074561; Sat, 07 May 2016 00:27:54 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Sat, 7 May 2016 00:27:54 -0700 (PDT) In-Reply-To: <20160506221151.GN1362@FreeBSD.org> References: <20160506221151.GN1362@FreeBSD.org> Date: Sat, 7 May 2016 09:27:54 +0200 Message-ID: Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: Ben Woods To: Glen Barber Cc: "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:27:56 -0000 On Saturday, 7 May 2016, Glen Barber wrote: > With 'installkernel', the first kernel listed in KERNCONF is installed > as the default (/boot/kernel), and subsequent kernels are installed with > the kernel name included in the path (/boot/kernel.${INSTKERNNAME}). In > both cases (source-based upgrades and with pkgbase), the behavior will > remain the same. > > Glen > Hi Glen, With the recent commit mentioned previously, only the first kernel listed in KERNCONF is installed unless make.conf contains the following line: NO_INSTALLEXTRAKERNELS=no This affects both source-based upgrades (make installkernel) and package building (make packages). Is this the desired behaviour? Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:34:33 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 842B5B31CDA; Sat, 7 May 2016 07:34:33 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6F46C1203; Sat, 7 May 2016 07:34:33 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 1CFCC127E; Sat, 7 May 2016 07:34:33 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sat, 7 May 2016 07:34:32 +0000 From: Glen Barber To: Ben Woods Cc: "freebsd-pkgbase@freebsd.org" , FreeBSD Current , Gleb Smirnoff Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160507073432.GB47527@FreeBSD.org> References: <20160506221151.GN1362@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:34:33 -0000 --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 07, 2016 at 09:27:54AM +0200, Ben Woods wrote: > On Saturday, 7 May 2016, Glen Barber wrote: >=20 > > With 'installkernel', the first kernel listed in KERNCONF is installed > > as the default (/boot/kernel), and subsequent kernels are installed with > > the kernel name included in the path (/boot/kernel.${INSTKERNNAME}). In > > both cases (source-based upgrades and with pkgbase), the behavior will > > remain the same. > > >=20 > With the recent commit mentioned previously, only the first kernel listed > in KERNCONF is installed unless make.conf contains the following line: > NO_INSTALLEXTRAKERNELS=3Dno >=20 > This affects both source-based upgrades (make installkernel) and package > building (make packages). >=20 > Is this the desired behaviour? >=20 As far as I am aware, yes. I've CC'd glebius@ to confirm. In both cases, the "behavior" should be the same, regardless. I think I'm looking at the question from a different way than you are asking though. Glen --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXLZqIAAoJEAMUWKVHj+KT0KAP/1HqRVB+r5k971oKUO2ktc0m YdITfP6slVa7stmL2795k0ZB60sTZqdO143/yVrmDXB1xN/g/o0IYwn67S34sFBy T9EeAgtFTk0aAoX4ZdEnuFnUSEzenwk7RVZuK9zuHgXahohHXFGLMB09iw4jO0HW XED2n/7f8/ksCOgVPPfQdD5tJyV8pn72YHuEGpKgAUb1D9P45/qxwPkLjhjKbuQO dIWZKgevSZ7eWaZXor9RGe14B/M/BPFE6FzQJE3DIfFYnU2lhtQOhN43lzZFBsKA tIwxnNOLPY9DIb89V9rSn3K8nxd5ojlWgDykaK4dUV+qHpZTNr9g+i2bHAdInhTT d1E0YXR/alLLw2OGJlxKdyrft7y6eN6BL/iHaX4uzNgC+HKY3fAOrIYzjexMQbbf fo3s6nvK6ohwbhiSP0anIk/wfnN+J8ieOtwmfllHxKxHwFEEtm160a8K78H04iYC AYH6EZn5VbF6qRPt4YMoWL69T6PV5mcahA4R2LK9a98RY4Xe1h8eemDPpzR9Mkvz khEbYEmcGTOdJb10NCWUejyRnqhmo52CkpKhOxFAD1VJCrVm2rqMWmQrYBJU5JA4 Uo7awVXccWEK3U1hqn+xTutTx6G9yEZRHMLaClZvoaZpLMMQgMkI7/oH2pRL0OX5 xXipfJVk2UC5boPLO5US =VVcM -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd-- From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:35:17 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC238B31D65; Sat, 7 May 2016 07:35:17 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACEF41331; Sat, 7 May 2016 07:35:17 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x22b.google.com with SMTP id xk12so55298676pac.0; Sat, 07 May 2016 00:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=swDRV9xH1oyFX9YTAD5Qpf8bQyFCidfmfI4Dei86OQc=; b=Xh8FuSWC2aAXKQ2wnKhKLrD/+vNWr1VEL8DO8KdHvVLcypbsKEzEGu8AaykNMYIEk1 UjESKt34Ctno3Lt9KXUu7gL2IAVdldWk2o82n5nZfDiGnaM+kO/shuACOU4FuJlalgqU 1YiDckPi3WOaDYCAZyzyduAbjLQhDx8Rp9ubDb1sF9wm2zw+yH1Jged5JR8dKzwju/jZ OmPLFlz7ZmIK3DbsHFEEdtkuIFPyCY+JgVT2+4WSWbuB+pTOxqE2KaiXIp5iTz8SAdJE sJY5XzZaTu6W7298x3+JqXn8B2sYdRFT7uum+AeGUAFMnQzduKiIDMSDF78+RvWWh+nL AvQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=swDRV9xH1oyFX9YTAD5Qpf8bQyFCidfmfI4Dei86OQc=; b=WTinHesfUSnl2VmjQ0XuCs6gTXgszMUQPQ9KON9BD4THLqUQ195H/Ocx6RBz5tbA1d iXKBFt4Z6R+ZHMYmoIBZW7mGF2Ac3xy82wXJ6JjNbbP00L70kFoJeqLFtozPYa/OrP1t IpBMNc4MrOk3grlQPH8gB5aOB7nraiJirHABcRxIDucEs8dF3KHuSSaflB0m8/m/9QLm mLY/nnPbLipUTb0R09Bgcz9UimkpxxlyjrV668bH/wA5jKgRbVV83UjAjyuaV9ucX57j ZyPPGgXik8QuKBj8Ib8Mc+cGYfjzL9oYLNiFTuilEJ9xmivUZPgaidk/Ug8jNvGuUD8B PRWg== X-Gm-Message-State: AOPr4FX010d2hymJ6lnDQkM/0fm7pDSFyFy/DlC/fatRYI4hmbX+WDrFl7S6CJ/rHQNgMA== X-Received: by 10.66.183.36 with SMTP id ej4mr34506845pac.53.1462606517331; Sat, 07 May 2016 00:35:17 -0700 (PDT) Received: from [192.168.20.7] (c-73-97-222-46.hsd1.wa.comcast.net. [73.97.222.46]) by smtp.gmail.com with ESMTPSA id i75sm2462242pfj.51.2016.05.07.00.35.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2016 00:35:16 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Sat, 7 May 2016 00:35:10 -0700 Cc: Glen Barber , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> References: <20160506221151.GN1362@FreeBSD.org> To: Ben Woods X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:35:18 -0000 (Replying because I kicked the hornet=E2=80=99s nest when my build = failed) Hi Ben, > On May 7, 2016, at 00:27, Ben Woods wrote: >=20 > On Saturday, 7 May 2016, Glen Barber wrote: >=20 >> With 'installkernel', the first kernel listed in KERNCONF is = installed >> as the default (/boot/kernel), and subsequent kernels are installed = with >> the kernel name included in the path (/boot/kernel.${INSTKERNNAME}). = In >> both cases (source-based upgrades and with pkgbase), the behavior = will >> remain the same. >>=20 >> Glen >>=20 >=20 > Hi Glen, >=20 > With the recent commit mentioned previously, only the first kernel = listed > in KERNCONF is installed unless make.conf contains the following line: > NO_INSTALLEXTRAKERNELS=3Dno >=20 > This affects both source-based upgrades (make installkernel) and = package > building (make packages). >=20 > Is this the desired behaviour? The naming is very confusing. It should be: - MK_INSTALLEXTRAKERNELS=3Dno -> only install one - MK_INSTALLEXTRAKERNELS=3Dyes -> install multiple, as gjb@ described = above. Since I kicked the hornet=E2=80=99s nest (and imp@ complained about the = NO_*), I=E2=80=99ll introduce a new WITH/WITHOUT option for this and = release/release.sh can use it. Thanks! -Ngie= From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:42:00 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B72AFB31F43; Sat, 7 May 2016 07:42:00 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 98BB81752; Sat, 7 May 2016 07:42:00 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 49560140F; Sat, 7 May 2016 07:42:00 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sat, 7 May 2016 07:41:59 +0000 From: Glen Barber To: "Ngie Cooper (yaneurabeya)" Cc: Ben Woods , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160507074159.GC47527@FreeBSD.org> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Content-Disposition: inline In-Reply-To: <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:42:00 -0000 --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 07, 2016 at 12:35:10AM -0700, Ngie Cooper (yaneurabeya) wrote: > (Replying because I kicked the hornet=E2=80=99s nest when my build failed) > Hi Ben, >=20 > > On May 7, 2016, at 00:27, Ben Woods wrote: > >=20 > > On Saturday, 7 May 2016, Glen Barber wrote: > >=20 > >> With 'installkernel', the first kernel listed in KERNCONF is installed > >> as the default (/boot/kernel), and subsequent kernels are installed wi= th > >> the kernel name included in the path (/boot/kernel.${INSTKERNNAME}). = In > >> both cases (source-based upgrades and with pkgbase), the behavior will > >> remain the same. > >>=20 > >> Glen > >>=20 > >=20 > > Hi Glen, > >=20 > > With the recent commit mentioned previously, only the first kernel list= ed > > in KERNCONF is installed unless make.conf contains the following line: > > NO_INSTALLEXTRAKERNELS=3Dno > >=20 > > This affects both source-based upgrades (make installkernel) and package > > building (make packages). > >=20 > > Is this the desired behaviour? >=20 > The naming is very confusing. It should be: >=20 > - MK_INSTALLEXTRAKERNELS=3Dno -> only install one > - MK_INSTALLEXTRAKERNELS=3Dyes -> install multiple, as gjb@ described abo= ve. >=20 > Since I kicked the hornet=E2=80=99s nest (and imp@ complained about the > NO_*), I=E2=80=99ll introduce a new WITH/WITHOUT option for this and > release/release.sh can use it. >=20 I think this raises a larger question - did "something" change that otherwise violates POLA? The commit recently was intended to revert a POLA violation, so maybe I am not entirely clear on what branch this affects. Are we talking about head or stable/10 here? Glen --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXLZxHAAoJEAMUWKVHj+KT/7QP/0b4WV9bgHeCqr20wQ5pMqUi imi1C1HJJW0q+3VaumA+ct0t5yxfMOEmVJ0MtLj1I1iXALz0rWUu1V8kDP5788le cBBnSCg+XPv5TG1S+XCWUvORgv/VTkBDoVHcA5dhj5iJdNZjYH87UrTs5Q065aVo twIPLnci84NLQtlN5LmrJ2FgQoRU3qkNLRJ3glQzcy3Z7V7ayV5FZKTdo3EnewQ2 lOonC94pDaINXZqhUMYVB9UXYdjB6ytyurmDc4QC9HIAFWQWgf7xwHefpjC4jlmO L2a6xI4ymBsVt8d1zjxp08q/sUy8Z1xVOUbdnXv9ku9Yj4JXoKgQdGtvSzIhR/DB 7Wn0d+ZgkzlZ8unVxQn4AOn1VgyewFtF5MuDIHfznHD94WCei+LioIjT9bupFsgG 3VgyrGNQpsK6IuMCqwFmGAGOAGI1ftL4lSbqBF5M0zVJMEoFtMkz4c0VJVei0UhI 8hVx3HVkCSOaoasBdyHl92SvN+bGlv+lp+3Z13dI7DIeGlhDz5dFzmoFOJjHorJQ SNNxTgJbICSQwDepFf9Y89UvPXTbzP9qGWkpH8uzzMeDrhldIOIvSrBQESbuj/uo 3r7UgovuQi1HD2XBureGz1U5FtQLWntesqLLQ0aI20uioO20UgOpPZ4SFGazZB2a ebJwnZBnw05MK/ZUXNOR =kccu -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ-- From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:46:05 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF0E1B31137; Sat, 7 May 2016 07:46:05 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 644F41A26; Sat, 7 May 2016 07:46:05 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id g17so108982335wme.1; Sat, 07 May 2016 00:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=BS75noT5zjBjJdgqkBImedlunqOnTa1389M2kUF96RA=; b=B9/JSgErwhUlgcOEBC335hIvfAeYtViCY3h+/MEMYJ1VKW4Oqo4d1kFWBc90z+4hjG iDWS3gRDt/kr+xMK63qba19ZGS2yQfi83TRY+diPvRg/EkWRNL3Bmaa7UvaHBRjV8MJC W+d08NHMozUUOHZnNH/wScH6JiQ6SkOQBuBkckuGSvQYq12d7/kYJx36nMnBZHY/rcQC n4Xcg4RUcEFx+gsIWxiDZ5h2fxwpPDXohavg9Ct/rDncc96Ktl/EBJ8FuEStjrpTyT/W e58gbtig0ZCkjo3dMrmzhhFRjyXUAVqQjtoLglasJNI8TN7L2Fu/ab82mgBglJCZRzwe Hvkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=BS75noT5zjBjJdgqkBImedlunqOnTa1389M2kUF96RA=; b=jqNnbLe47yS5yNDgcmcRYtfCZHYkCzePqImVex0n91DjaUgYPMFLMBnxGTDUauQ5oD 4elqwGOUk3xg02uRLp//Q2nvClJmiXXh5/xLFipzZh9YtjzRErGDa3yytRi5GJz4gvn4 L41lo+5iHXIaNtiDB1HypErAIRtfI8GDdHWT0BLVfjQJyUaOoNOfD3S5MvWTCE96xOFv Q1u8RXMfuTZDpxkqJof3npOk/lIHRWph1JUCNW6GYJlYMlSSXALJ8n89n7h+UmyD2NL6 rapm0K2JbhxTX3ys1bEdTSDRcSxNkTje6sGVFI36wzlqojPqcyp9jC8kmYurQvQI96MF dg3g== X-Gm-Message-State: AOPr4FVrQ+4yxlgmOuBKceLSWgIkkhbe2wXcjiibtsJqK7pCx9ruPhyFVnhV9zlOLb3CQ2me1C7+SQ5AGQYYCA== MIME-Version: 1.0 X-Received: by 10.194.63.226 with SMTP id j2mr23519837wjs.27.1462607163899; Sat, 07 May 2016 00:46:03 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Sat, 7 May 2016 00:46:03 -0700 (PDT) In-Reply-To: <20160507074159.GC47527@FreeBSD.org> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> Date: Sat, 7 May 2016 09:46:03 +0200 Message-ID: Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: Ben Woods To: Glen Barber Cc: "Ngie Cooper (yaneurabeya)" , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:46:05 -0000 On 7 May 2016 at 09:41, Glen Barber wrote: > I think this raises a larger question - did "something" change that > otherwise violates POLA? The commit recently was intended to revert > a POLA violation, so maybe I am not entirely clear on what branch this > affects. > > Are we talking about head or stable/10 here? > > Glen > I am talking about head, which no longer installs/packages multiple kernels by default. https://svnweb.freebsd.org/base/head/Makefile.inc1?revision=299088&view=markup Whilst the r299088 commit is referring to a stable POLA violation, the commit itself is a change to head with a proposed MFC after 3 days. Its interesting, because this has surprised me when testing PkgBase on head, as the behaviour has changed from the initial announcement. Regards, Ben From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:48:33 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E31E1B31201; Sat, 7 May 2016 07:48:33 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B39501BB6; Sat, 7 May 2016 07:48:33 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id y69so57183095pfb.1; Sat, 07 May 2016 00:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=o9xjKruYlcS3d4ezvcfOq6zSRqQ4pEc2+IAhnKHbVqA=; b=ojEc8oo/aNzHgGQTLnWcYecJTQ8AH9x9jkgLyGa/rh9/VtP6s0itVPUBYRkVpk/bo3 RpgpBuWoTCMlQqHpjw4/7gTPFQJ0w6lk2pvCiW+nBPmBB+3fEARlf22hpfqM+xY/CTFz GsmNK+cv5pcjpd0YV1TMljA0MwU9ZQU/UgbPPtYx2Vg9Z1TmkrS7g4V8q/q7C/wpmqQG Gh6Xys974MGo4V0pJfAOdX+BZE9cZ1qG2EIUTz2LFw1YE5q6VjSMWuOEzX+ynH+DLRo9 BdZfXLpq/9P33BQIi384x62sL4KW+NVb4YuiFnq0FlqlDO7W9g6tG+f1FzmPGK5DMhhD bVxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=o9xjKruYlcS3d4ezvcfOq6zSRqQ4pEc2+IAhnKHbVqA=; b=cSWFhHtlTt0hovWJaZe4yP2VMMw+LmHyRXRsebm3Ecy8dsdzhvSfarQ/S8bMmqKh/c WIx77FNYXZwYpGTb4juBs171lIM+349VabsXuazmdpxbHKZHzQHSXkbtUbNb0L61Pkx0 rDOH1OhetAc1AJAxdqAsn4KtnKoWwYmRGfv4x9p17gSdGl367dBnKd3wCcbjf7k96K47 NoWrFwQI5Y2P2VPyvOtltZlF9mAUtFBUvEWxI+X7ONl7MUROENmXyFIyQzlgUjs9msu3 2gTNo5cvKCLmz9kPT9dKKXZF3oVyYaTt2R5skJz9AB2zhOkhBWfcR0LEj714XCu9Ykzs KYXw== X-Gm-Message-State: AOPr4FU91DvQYt9xu7htwzoJix7bxf2g/izAoLQGSR9jPdVURsfs2WsNMcXG3SY8ApwKxA== X-Received: by 10.98.36.132 with SMTP id k4mr34603502pfk.95.1462607313384; Sat, 07 May 2016 00:48:33 -0700 (PDT) Received: from [192.168.20.7] (c-73-97-222-46.hsd1.wa.comcast.net. [73.97.222.46]) by smtp.gmail.com with ESMTPSA id qb1sm26020194pac.44.2016.05.07.00.48.31 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2016 00:48:32 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <20160507074159.GC47527@FreeBSD.org> Date: Sat, 7 May 2016 00:48:29 -0700 Cc: Ben Woods , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:48:34 -0000 > On May 7, 2016, at 00:41, Glen Barber wrote: >=20 > On Sat, May 07, 2016 at 12:35:10AM -0700, Ngie Cooper (yaneurabeya) = wrote: >> (Replying because I kicked the hornet=E2=80=99s nest when my build = failed) >> Hi Ben, >>=20 >>> On May 7, 2016, at 00:27, Ben Woods wrote: >>>=20 >>> On Saturday, 7 May 2016, Glen Barber wrote: >>>=20 >>>> With 'installkernel', the first kernel listed in KERNCONF is = installed >>>> as the default (/boot/kernel), and subsequent kernels are installed = with >>>> the kernel name included in the path = (/boot/kernel.${INSTKERNNAME}). In >>>> both cases (source-based upgrades and with pkgbase), the behavior = will >>>> remain the same. >>>>=20 >>>> Glen >>>>=20 >>>=20 >>> Hi Glen, >>>=20 >>> With the recent commit mentioned previously, only the first kernel = listed >>> in KERNCONF is installed unless make.conf contains the following = line: >>> NO_INSTALLEXTRAKERNELS=3Dno >>>=20 >>> This affects both source-based upgrades (make installkernel) and = package >>> building (make packages). >>>=20 >>> Is this the desired behaviour? >>=20 >> The naming is very confusing. It should be: >>=20 >> - MK_INSTALLEXTRAKERNELS=3Dno -> only install one >> - MK_INSTALLEXTRAKERNELS=3Dyes -> install multiple, as gjb@ described = above. >>=20 >> Since I kicked the hornet=E2=80=99s nest (and imp@ complained about = the >> NO_*), I=E2=80=99ll introduce a new WITH/WITHOUT option for this and >> release/release.sh can use it. >>=20 >=20 > I think this raises a larger question - did "something" change that > otherwise violates POLA? The commit recently was intended to revert > a POLA violation, so maybe I am not entirely clear on what branch this > affects. >=20 > Are we talking about head or stable/10 here? glebius changed the defaults to fix POLA, but the naming per the = behavior is confusing. Right now the behavior between ^/head and = ^/stable/10 before/now match -- I just had to wrap my mind around the = default being the affirmative of a negative (i.e. only install one = kernel, as opposed to install all extra kernels by default). -Ngie= From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:49:26 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 411D8B31287; Sat, 7 May 2016 07:49:26 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2D21C1D2C; Sat, 7 May 2016 07:49:26 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id CFE12166E; Sat, 7 May 2016 07:49:25 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sat, 7 May 2016 07:49:24 +0000 From: Glen Barber To: Ben Woods Cc: "Ngie Cooper (yaneurabeya)" , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160507074924.GD47527@FreeBSD.org> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:49:26 -0000 --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 07, 2016 at 09:46:03AM +0200, Ben Woods wrote: > On 7 May 2016 at 09:41, Glen Barber wrote: >=20 > > I think this raises a larger question - did "something" change that > > otherwise violates POLA? The commit recently was intended to revert > > a POLA violation, so maybe I am not entirely clear on what branch this > > affects. > > > > Are we talking about head or stable/10 here? > > > > Glen > > >=20 > I am talking about head, which no longer installs/packages multiple kerne= ls > by default. > https://svnweb.freebsd.org/base/head/Makefile.inc1?revision=3D299088&view= =3Dmarkup >=20 > Whilst the r299088 commit is referring to a stable POLA violation, the > commit itself is a change to head with a proposed MFC after 3 days. Its > interesting, because this has surprised me when testing PkgBase on head, = as > the behaviour has changed from the initial announcement. >=20 I think there is a communication breakdown somewhere, then. But, I also realize we are talking about two different commits. (Which is why I CC'd glebius@ in the previous reply.) Since ngie@ already chimed in, I'll defer unless required to chime in. Glen --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXLZ4EAAoJEAMUWKVHj+KTp9MP/A7FGT6AizHM50rXie1bwXrD 9SjIGTVzkI4dOwrib0cXBXlcf7DDF/999dJq3C95MNxHubP+aVav5Pp03QS3M5+P gJozLvJ41W/F9jRLXKDjjfWa7UJFT5If01VVv5B/JKSpoe+udTkThFb2kVbjVcfm pZPx4KpTuDwBYIv0wUI1pmVWFEhkeVUuKvMc3++k6T47a+VLvKMS8dPl3DxJH+VJ sJidJ9YB9KkRT6Z6xml2oy1MqEBsKP5qzcQ8mr/vN/izSLOxE6iVfA00L1OuviMR /zAQBIzvQibkMejUVuuo48X4upH9io0b7ZCsJIYFXpESXsDi3I7q05EvkzkwHWZo 30PqxL0/t4FO/GM+3mfQTXW4FWXqLZtx+LH5rEP2N/CKIzKYtmjrUe0nJOCMq60r tpH7bvpHOK31ZriOuwPISxjoEXpBxta1kCAeiIMPKD2fndJC6Go6I9eiSyfKjdUq ChN83vQ3hT+1XOfWtwxRnAZJhDui2edIBF8KxH4TJia3QDAAHus8oObw/DSdJV+E 5GF/ICcDz48gpyU27GdOZ9uLd4yztRbPWmcYMt6fXyn8YP4GsE55AYXPlHPIARlC QONrzVGE1t6JAZSaPR24K5j2YbIaUBkjQzI5J+XDhT7OXvJKSinrcAJSvazYYqR0 CEOBQjZckefJbFOew3Gc =/E97 -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip-- From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:58:19 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00170B31538; Sat, 7 May 2016 07:58:18 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B318110D3; Sat, 7 May 2016 07:58:18 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x230.google.com with SMTP id r5so56464119pag.1; Sat, 07 May 2016 00:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wy+Jt8EneHSB7gHRdjnIAGpEuyUk2cFU9IBhjSssJPY=; b=vIpQmiwHnrU97qEfmbxTaeg8zcRvpjU6h7jwVUXYPj2HaYJxkxwGD9B66PL6vCv9Yj t0V908jx8zzXLwPrFICScVgpie9HdDVrbNFHWhta1iK7BdQZzn7AL51gLeHEBZOAbDeV 669IJ05IDWHIu//rN/h4Qewe7t+0wEcLrrOm8GT2PJCbl8dPqEHzxNBnw1i6gudkIzsL ILySq4A+D7SAXL1dmKz45xYwG0jmSimBHoIWMkmsJh/2DNRh2M207r5h6SQRkTbYLscD 9q3r0wb+82lilmY8fG4xnazH+8QISu8YDDbiNyoqmW0l/UckiKTPnaoip/oGGhgdZa7w 2i+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wy+Jt8EneHSB7gHRdjnIAGpEuyUk2cFU9IBhjSssJPY=; b=KCRenv2HBte1W8CPzqICrjfV8q7vD6B2chbGpiMJ7o2uPhms3bE87IP42aokWy0ClP g+yKVMHmn2O8lYG+viXAVtUJn/Gm4lCR4axKc1uIT70qhlDWT0+wZAac6H9xe+lZq6C4 nmvnVv00toj2UYHf89VdHYic/+0IpZJdzGTzSNJBG3mGlhIcStkhZDfjZ1/1Fns4iWEr ECOe4hYWKel9S/eKhMvP/L1GAZveLmZwMMXw4p5+NTKMG0Sxx1tiFyO+CHIGHhzp+trj 8crcAEUjPqWQC2gPVLMM6nBSzQsxSc+NH5ZK4C78AW5LDnx8lGuGKkbaw+ANX5nSd3XN ssGA== X-Gm-Message-State: AOPr4FX3nGlZptDUVpIuRQ9fS626tui3OQNNtN1iNt21PWz87JD4yCLJvDf8jwMQnu1xCw== X-Received: by 10.66.173.141 with SMTP id bk13mr34516593pac.64.1462607898265; Sat, 07 May 2016 00:58:18 -0700 (PDT) Received: from [192.168.20.7] (c-73-97-222-46.hsd1.wa.comcast.net. [73.97.222.46]) by smtp.gmail.com with ESMTPSA id w187sm26014369pfw.50.2016.05.07.00.58.15 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2016 00:58:16 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Sat, 7 May 2016 00:58:14 -0700 Cc: Glen Barber , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> To: Ben Woods X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:58:19 -0000 > On May 7, 2016, at 00:46, Ben Woods wrote: >=20 >=20 > On 7 May 2016 at 09:41, Glen Barber wrote: > I think this raises a larger question - did "something" change that > otherwise violates POLA? The commit recently was intended to revert > a POLA violation, so maybe I am not entirely clear on what branch this > affects. >=20 > Are we talking about head or stable/10 here? >=20 > Glen >=20 > I am talking about head, which no longer installs/packages multiple = kernels by default. > = https://svnweb.freebsd.org/base/head/Makefile.inc1?revision=3D299088&view=3D= markup >=20 > Whilst the r299088 commit is referring to a stable POLA violation, the = commit itself is a change to head with a proposed MFC after 3 days. Its = interesting, because this has surprised me when testing PkgBase on head, = as the behaviour has changed from the initial announcement. The behavior in and of itself (to me) is unintuitive. I use a different = wrapper script [*] to install kernels with a different name because I = want them to be versioned based on $KERNCONF + revision data. I only = fixed building multiple kernels because the change that glebius tested = didn=E2=80=99t work with more than one KERNCONF (hence the double = commit). I think the default behavior should be =E2=80=9Cyes=E2=80=9D (not = =E2=80=9Cno=E2=80=9D) as many folks use a single KERNCONF, not multiple = (on head), but I=E2=80=99m biased in this thinking... Thanks! -Ngie * = https://github.com/yaneurabeya/scratch/blob/master/bayonetta/root/bin/inst= allkernel.sh= From owner-freebsd-pkgbase@freebsd.org Sat May 7 07:59:08 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60E97B31617; Sat, 7 May 2016 07:59:08 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BDEB12E6; Sat, 7 May 2016 07:59:08 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id e201so80925089wme.0; Sat, 07 May 2016 00:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=WfInDKvbkwrSKIR+ipUYEaXykWAl3VYl9nWFf5+kMjY=; b=s5gL6g70WWQPxiFT8gOGH6CooFuyEGWwVh9LgDuoQoMGbqcLS1+4yxZczRWDaiL+3d LetfBZcCCW8B5PHM5XJfuw4DqQSm6plJJrmeLXDcEy1so3RZwAU044xzNsyZbwmI/ST7 WheG3C7ZrbPJuVxA9QITryHb7G6+SevLsCI/vXybyf96uazIrUt4nFLKBq3RROI0E4TZ qLqavH8/bElwDBz/9TK62od1vAWoyBDGX5JyPYbyH727AIhpJq/4M6jAqGGvOO5p1nH3 edRZPQAbFsxYW9ZqxMFtgmDpUokL4/bRPiurZKocm5+LH+cgYEZgA8J42vqvmngEbQ03 vMfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=WfInDKvbkwrSKIR+ipUYEaXykWAl3VYl9nWFf5+kMjY=; b=Ha75Fm3hC5l34GMeYiy80jwUjBbQns5JixNC+/9pOX3i0TbaYqm9DGNEUO519taSL7 gmbPXhiEupi4H+8p7Dn+p5XvyLkohqer4D/GF7uiMjwtiBV3oTltcZT1zRNeLTN4O9US +iKTyx0cFMwxwLMxckrLc6/uspYuC4Moqjx/menBLBcPO3VNDqvzeUQoCK/xDyxiMtb6 D91QAIo4s0rGswU/2bx/r5+Otjnah1WREWktO+gZrCWS1RF+sDR+gPSqKx/hWuoJb2eU PMV8eqpqUyQvTt4UD6xfmCZ3EXBTV2Ub78UsOLIM/jYgIf4fIciijZCKuzfrtC3cvDTR /eTw== X-Gm-Message-State: AOPr4FU236GvpAbbdr7o+7pUXeGjlkdann1S9L+AGgCPR8GOY+v4ybEHipeT9mzdesKEAiDTAtaPCHHpN4jfKA== MIME-Version: 1.0 X-Received: by 10.194.189.231 with SMTP id gl7mr25347780wjc.129.1462607946085; Sat, 07 May 2016 00:59:06 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Sat, 7 May 2016 00:59:06 -0700 (PDT) In-Reply-To: <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> Date: Sat, 7 May 2016 09:59:06 +0200 Message-ID: Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: Ben Woods To: "Ngie Cooper (yaneurabeya)" Cc: Glen Barber , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 07:59:08 -0000 On 7 May 2016 at 09:48, Ngie Cooper (yaneurabeya) wrote: > glebius changed the defaults to fix POLA, but the naming per the behavior > is confusing. Right now the behavior between ^/head and ^/stable/10 > before/now match -- I just had to wrap my mind around the default being the > affirmative of a negative (i.e. only install one kernel, as opposed to > install all extra kernels by default). > -Ngie Indeed, I am not sure I understand the POLA violation entirely (ignoring the fact that this variable requires affirmation of a negative). If you list 2 kernels in the KERNCONF variable, why is it astonishing that 2 kernels get installed? Even if the old behaviour was to only install 1 kernel, if you are listing 2 kernels in KERNCONF presumably that is because you want to install 2 kernels? Regardless, perhaps it is ok to leave behaviour on stable 9/10 unchanged, but to make the behaviour on head to install multiple kernels by default? That is the option that makes sense for PkgBase (build multiple kernel packages if more than one are listed in KERNCONF). Regards, Ben From owner-freebsd-pkgbase@freebsd.org Sat May 7 08:16:49 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6799B31C8E; Sat, 7 May 2016 08:16:49 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 858391C71; Sat, 7 May 2016 08:16:49 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x232.google.com with SMTP id iv1so55037658pac.2; Sat, 07 May 2016 01:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZDUMm5g6tC+ApBRMryIgqtPmk0A7P7tVtcAmYnv0Ewg=; b=lTaYVOfCZhl8ZMj5TWx9RiBhDnLmgvvK/Ram1V/UkmlbpgDVNCDr5Bz/QSJuKOhy6F pYuAWQB5UKN+5SAlhB6wuk8hCs8rIx43Oq4Pg5OruJ4KqtcYAyuhnBtsRMM9HPJg4YNd BZRDtxpSF+CJ/QfTMNHkFMVND7ejoNYoazwW3YWAbiTNNoPH3mXxghmfIeoO7KEZwSxt GHHh0Y/QBH9fGrs9RixPx7d/Y2qGpWRg2XH0SNj6i4gVEB2LeQQ/IK/y0R73/TuyMCco lp3RkNj0S6wwEiDmwVtsM9Mweq4Dixk4C9Si1BTvHqw430Laa1AqcVGe8VqpV7FcdbIw /XUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZDUMm5g6tC+ApBRMryIgqtPmk0A7P7tVtcAmYnv0Ewg=; b=HFGv4+p/v93ET3IVbOF8E3DpzSg+HokoPTmHoMaxmD1CpeModkm+0F2C2i3c3JL/ok 0LcpQ8S0i+dQPGj2HXaAYLB2iQLiB5ZAWz7aNeb22UHwpW5uf8lWzqzty5wJqaFIYFt8 XgFkRyZb57cWzloysLcdxL3u6fr+nJEBObHDB+q+EkFdgr5Ihh2nOS4tShRGAkQp0xkY Peqy6Z+3PT26S6Tb2veajyDt6X7glPdqXUfLBGYjbNZKTEH22o5z+l9yvuIpbIJSAkKK P6qCCUc1STjHuscBq8gEHl4Ejku/pCVOmo9kB9ECCUDbgLef5GVPIjBPTmXE99+gSU3z HF9w== X-Gm-Message-State: AOPr4FVRg6kJEGEfDcnULQ9TplC8mtJD4ANBlVfDIR6o1mVnfz2Nx4sJTehhdoPf/hV0gg== X-Received: by 10.66.167.40 with SMTP id zl8mr35032075pab.8.1462609008601; Sat, 07 May 2016 01:16:48 -0700 (PDT) Received: from [192.168.20.7] (c-73-97-222-46.hsd1.wa.comcast.net. [73.97.222.46]) by smtp.gmail.com with ESMTPSA id bk8sm26278019pac.3.2016.05.07.01.16.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2016 01:16:46 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Sat, 7 May 2016 01:16:43 -0700 Cc: Glen Barber , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> To: Ben Woods X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 08:16:49 -0000 > On May 7, 2016, at 00:59, Ben Woods wrote: >=20 > On 7 May 2016 at 09:48, Ngie Cooper (yaneurabeya) = wrote: > glebius changed the defaults to fix POLA, but the naming per the = behavior is confusing. Right now the behavior between ^/head and = ^/stable/10 before/now match -- I just had to wrap my mind around the = default being the affirmative of a negative (i.e. only install one = kernel, as opposed to install all extra kernels by default). > -Ngie >=20 > Indeed, I am not sure I understand the POLA violation entirely = (ignoring the fact that this variable requires affirmation of a = negative). It=E2=80=99s tricky=E2=80=A6 KERNCONF with multiple kernel = configurations wasn=E2=80=99t properly supported at install time until = 2016 AFAIK (r291611, r293391), so again (AFAIK) it=E2=80=99s a new = [functional] feature, even though make.conf(5) says one can specify = multiple kernel configurations in KERNCONF at build time. > If you list 2 kernels in the KERNCONF variable, why is it astonishing = that 2 kernels get installed? Even if the old behaviour was to only = install 1 kernel, if you are listing 2 kernels in KERNCONF presumably = that is because you want to install 2 kernels? =46rom a literal perspective, it makes perfect sense. =46rom a usability = perspective though, or in terms of actual behavior, it makes less sense. If FreeBSD required more explicit pathing for kernels like Linux in the = boot loader (e.g. grub) on many distros (e.g. CentOS), this would likely = be a non-issue. > Regardless, perhaps it is ok to leave behaviour on stable 9/10 = unchanged, but to make the behaviour on head to install multiple kernels = by default? That is the option that makes sense for PkgBase (build = multiple kernel packages if more than one are listed in KERNCONF). Yes, but the knob should be renamed for clarity. imp@ had a very good = point =E2=80=94 NO_* options aren=E2=80=99t as flexible/intuitive as = MK_* options and lead to confusing behavior. Thanks! -Ngie= From owner-freebsd-pkgbase@freebsd.org Sat May 7 13:50:15 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 181BCB3149C; Sat, 7 May 2016 13:50:15 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDADB1690; Sat, 7 May 2016 13:50:12 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u47Do5E8070657; Sat, 7 May 2016 13:50:05 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u47Do5E6070656; Sat, 7 May 2016 06:50:05 -0700 (PDT) (envelope-from david) Date: Sat, 7 May 2016 06:50:05 -0700 From: David Wolfskill To: Ben Woods Cc: "freebsd-pkgbase@freebsd.org" , FreeBSD Current Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160507135005.GN62286@albert.catwhisker.org> Reply-To: "freebsd-pkgbase@freebsd.org" , FreeBSD Current Mail-Followup-To: "freebsd-pkgbase@freebsd.org" , FreeBSD Current , Ben Woods References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3hAdtgBjtgL7p0NQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 13:50:15 -0000 --3hAdtgBjtgL7p0NQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Recipient list trimmed a bit -- dhw] I'm speaking up here because IIRC, I whined to Gleb at what I perceived to be a POLA violation a while back.... On Sat, May 07, 2016 at 09:59:06AM +0200, Ben Woods wrote: > On 7 May 2016 at 09:48, Ngie Cooper (yaneurabeya) > wrote: >=20 > > glebius changed the defaults to fix POLA, but the naming per the behavi= or > > is confusing. Right now the behavior between ^/head and ^/stable/10 > > before/now match -- I just had to wrap my mind around the default being= the > > affirmative of a negative (i.e. only install one kernel, as opposed to > > install all extra kernels by default). > > -Ngie >=20 >=20 > Indeed, I am not sure I understand the POLA violation entirely (ignoring > the fact that this variable requires affirmation of a negative). >=20 > If you list 2 kernels in the KERNCONF variable, why is it astonishing that > 2 kernels get installed? Even if the old behaviour was to only install 1 > kernel, if you are listing 2 kernels in KERNCONF presumably that is becau= se > you want to install 2 kernels? Errr... no: I don't. At least, not on the machine where I built them. The process I've been using (with "variations on the theme" over the years) since around 1999 or so for updating my "production" machines at home is described in some detail at ; in summary, the production machines (only) mount /usr/src & /usr/obj from a dedicated "build machine" via NFS during the "upgrade window," during which time the production machine's kernel & userland are installed (from the build machine, which had built them). The build machine does all of the compilation; each production machine merely does installation. There is no value in "installing" the production machine kernels on the build machine -- and I never configured the build machine with the expectation that the root filesystem would ever need to be big enough to store kernels that would never be loaded on that machine. Fundamentally, just as we separate "build{world,kernel}" targets from "install{world,kernel}" targets, it is appopriate to separate -- and not conflate -- building of a kernel on a machine from installing that kernel on that machine. Keeping them separate allows folks who want to do both on a machine to do so, and it doesn't break those of us who want to do something else. Now, I don't do this using head -- presently, it's stable/10. And when 11 is branched, I expect to start telling the build machine to build not only its own (GENERIC) stable/11 kernel, but also the role-specific stable/11 kernels for the production machines. When that happens, I (still) won't want to be installing those kernels on the build machine. (And my first experiments with installing those kernels will be on a separate "test" machine that is configured to be nearly isomorphic to one of the production machines.) > Regardless, perhaps it is ok to leave behaviour on stable 9/10 unchanged, > but to make the behaviour on head to install multiple kernels by default? > That is the option that makes sense for PkgBase (build multiple kernel > packages if more than one are listed in KERNCONF). I'm not too fussed about the implementation or the default, as long as I can set things up to preserve the distinction between the "build" and "production" roles -- where the production machines don't have their own (locally-mounted) src or obj, and don't do builds, while the build machine doesn't install kernels that only run on other machines. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --3hAdtgBjtgL7p0NQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXLfKMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XeR8IAIto/E/Dzvb+rGIkCUcpivmR e33owH9Ur9ZVcSo/tgdzs0za5mXSXD0mB+w2Wll1Ah3kOUMQ00Zb01qnDksSxzTC 398LwxY45OzuDU+b5alhET3TG+Y32SUGf1kYfihx3qWzx+TSaM1R4pZgQ2YmTASK RhDcJAT+TcTjnRUpiWd6YWlf5adb3ArFdTs5eTCaLEx0s/7epv3OlvUJ4EKgFLh0 pPnIE64d5BxsGG7y8TGPKfzO7SQV1mQUwEdaKjr9s117s2VjtB2Mvl5ELSsDFqfE /fNW4KPqbpG6Zd9p99Wg1iNVd1TsQM+hGofkLbhMDpH1cVeQr2eyae8Wpx/6K50= =bDkX -----END PGP SIGNATURE----- --3hAdtgBjtgL7p0NQ-- From owner-freebsd-pkgbase@freebsd.org Sat May 7 14:06:10 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33CA5B318AC; Sat, 7 May 2016 14:06:10 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B76FF1EB5; Sat, 7 May 2016 14:06:09 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id r12so13118914wme.0; Sat, 07 May 2016 07:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=hnGy72LO1x1On27mPDXoR55YvJfFwk9xCKirHJr0/fg=; b=TPckiPU9LiV4Q4VT1Q31RrlsquRgDFjheEcm0+cyeZDyi/fKjpztE0ZDM09QRZvYDd c9weoqDfYI1BMPY2hiGMQ+7O51CJEXLgtTCj3D4VBeiz8iWSdw7bCzVOae/HxZxcWMpp 5se5Lg22mWdRkjveaC4ZeQQ3vjWfm0dYAalVmcMoGIJnn8wezIgrclaIn6D+1lYcsssn aTS4wtjdafYF0Eni4Itsv/GrUrHBl7S8zkH8YYNYUQdeX53gTDtZ4MMIh7rLkS0DNoe1 9VirzaTOwS6SLr+f2TmVEZh1XaYPBOGG6O+YsqZ2W/HZK0S86O1+iDB5GgVmDCZ7AwwL 4VEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=hnGy72LO1x1On27mPDXoR55YvJfFwk9xCKirHJr0/fg=; b=Aokpv+YewS2F5IIBPOpJj2mDjdxkl0LIto+rfRCc+OOHght8P4RqGMZMXtuREAtVav /4ZA2Qk6UGx+fEAPEWfuFMFQL1ZdwjyLEmMGGAQ5qj+dtOd49AGcHcH2bM1zpZwO0Jp4 zxIzrEwyO+bBZUjdiJLHebuef4gKdKd/CgRPbS4VWTQABmQ+pBCinNCX2XHqLvAV3Fl3 hRM5QoALhvcsM2emMSVNdNp9GHh8FrkCObkIKjrMunkqBG8d/W2nyE0GcyGsV8eL38Vc 0bZ8mglwHdUiAHTf3K2jixNg6SCbXw8HoXLYgpg5LcPGGfUCFYDQ+iYDjECVTuZfIg5E K8Eg== X-Gm-Message-State: AOPr4FWvBz7e4rEM0crrJ1xztgi2HxYewLiXwwDUf1dyYeMGmF8ZXN3Y0YsVjLontkH4kvwrqiKji7i2zSLTrw== MIME-Version: 1.0 X-Received: by 10.194.189.231 with SMTP id gl7mr26631982wjc.129.1462629968328; Sat, 07 May 2016 07:06:08 -0700 (PDT) Received: by 10.194.16.201 with HTTP; Sat, 7 May 2016 07:06:08 -0700 (PDT) In-Reply-To: <20160507135005.GN62286@albert.catwhisker.org> References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> <20160507135005.GN62286@albert.catwhisker.org> Date: Sat, 7 May 2016 16:06:08 +0200 Message-ID: Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: Ben Woods To: "freebsd-pkgbase@freebsd.org" , FreeBSD Current , Ben Woods Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 14:06:10 -0000 On Saturday, 7 May 2016, David Wolfskill wrote: > > > If you list 2 kernels in the KERNCONF variable, why is it astonishing > that > > 2 kernels get installed? Even if the old behaviour was to only install 1 > > kernel, if you are listing 2 kernels in KERNCONF presumably that is > because > > you want to install 2 kernels? > > Errr... no: I don't. At least, not on the machine where I built them. > > The process I've been using (with "variations on the theme" over the > years) since around 1999 or so for updating my "production" machines at > home is described in some detail at > ; in summary, the > production machines (only) mount /usr/src & /usr/obj from a dedicated > "build machine" via NFS during the "upgrade window," during which time > the production machine's kernel & userland are installed (from the build > machine, which had built them). > > The build machine does all of the compilation; each production machine > merely does installation. > > There is no value in "installing" the production machine kernels on the > build machine -- and I never configured the build machine with the > expectation that the root filesystem would ever need to be big enough to > store kernels that would never be loaded on that machine. > > Fundamentally, just as we separate "build{world,kernel}" targets from > "install{world,kernel}" targets, it is appopriate to separate -- and not > conflate -- building of a kernel on a machine from installing that kernel > on that machine. > Thanks for the explanation - the use case and POLA are clear to me now. Perhaps we need the "make packages" to somehow ignore this variable, as it makes that would not want to install multiple kernels on a machine, but that you may want to build multiple kernel packages anyway, for use on other machines? Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com