From owner-freebsd-arch@freebsd.org Mon Dec 17 14:47:56 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17E33134203A for ; Mon, 17 Dec 2018 14:47:56 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7C92970F9F for ; Mon, 17 Dec 2018 14:47:55 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3D0551342039; Mon, 17 Dec 2018 14:47:55 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E405B1342038 for ; Mon, 17 Dec 2018 14:47:54 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C5DD170F9E for ; Mon, 17 Dec 2018 14:47:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id YuBQg9YKw82YcYuBSgV2w3; Mon, 17 Dec 2018 07:47:51 -0700 X-Authority-Analysis: v=2.3 cv=NNSrBHyg c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=2ur7OfE09M0A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=bwMe9klDAAAA:8 a=VTWyxu5DedH-0-nXvmIA:9 a=ltAi-Rp98VTtnzWf:21 a=DxOPEib6MtH8yqOx:21 a=CjuIK1q_8ugA:10 a=y67m5O9eZnAA:10 a=SUeZF4jyd0UA:10 a=2kzxNj7n_G1ZtbSJKisA:9 a=Dzz8gfxZjkyELpAn:21 a=j3PwbsZ1kHy_883a:21 a=y0QbNfLZVMJjxdVI:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=JhGllAdGin1EU15OQ7Be:22 Received: from [25.81.116.22] (unknown [72.143.225.69]) by spqr.komquats.com (Postfix) with ESMTPSA id D9D354793; Mon, 17 Dec 2018 06:47:46 -0800 (PST) MIME-Version: 1.0 From: Cy Schubert Subject: RE: A proposal for code removal prior to FreeBSD 13 Date: Mon, 17 Dec 2018 06:47:47 -0800 To: "Rodney W. Grimes" , Warner Losh CC: "freebsd-arch@freebsd.org" , George Neville-Neil Message-Id: <20181217144746.D9D354793@spqr.komquats.com> X-CMAE-Envelope: MS4wfD4+M8eDXY9fSrfTFkIqAHNq6ve76itk/Nl+HsOJVEPvfE4DWpdWC6udZKSMJW5xciCAoIPchGUU4gSrPNp//xl0ET9ujugZ2JWPMHOLzUPBKvn8d8xh 4EJzswnM6WHajhvTLwDGDX7/s8rHvhWw9LNMlL84K8RUZkwHfAqTy1zVyQc9h8bwqosw96/Rp+S1VtHHN0liLCjGAK74ov50ijdQ8pidZGEnSCAL1u0ZhONl EvBXLbl7ioppL5BkODTtfPD9mmiy6QL8IFAhxXrJInai1IqvAHiabOFUEMDGwYHC X-Rspamd-Queue-Id: C5DD170F9E X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: spqr.komquats.com]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[139.136.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-1.89)[ip: (-4.36), ipnet: 64.59.128.0/20(-2.78), asn: 6327(-2.22), country: CA(-0.09)]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 14:47:56 -0000 A couple of points: Yes, I don't recall amd(8) or timed(8) ever having CVEs against them -- we = cannot predict the future though. Ntp is another matter. Hardly a year goes= by when we receive yet another update due to a CVE, sometimes more. (Sadly= ntp is maintained only for security patches, all other development has cea= sed.) --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Rodney W. Grimes Sent: 16/12/2018 23:23 To: Warner Losh Cc: freebsd-arch@freebsd.org; George Neville-Neil Subject: Re: A proposal for code removal prior to FreeBSD 13 > On Sun, Dec 16, 2018, 9:49 PM George Neville-Neil wrote: >=20 > > > > > > On 17 Dec 2018, at 0:59, Rodney W. Grimes wrote: > > > > >> On Sun, Dec 16, 2018 at 8:27 AM George Neville-Neil > > >> > > >> wrote: > > >> > > >>> Howdy, > > >>> > > >>> A few of us are working on a list of programs and other code that > > >>> we'd > > >>> like to remove before FreeBSD 13. If others with to collaborate on > > >>> this > > >>> removal, or discuss it, please do so here. > > >>> > > >>> The list is being maintained on the project WIki: > > >>> https://wiki.freebsd.org/WhatsGoing/FreeBSD13 > > >> > > >> > > >> I'm in the process of writing some of the criteria I've been using t= o > > >> drive > > >> discussions. I've promised a formal policy for a long time, but > > >> that's > > >> turning out to be harder than I thought to write and have just > > >> documented > > >> the criteria I look at to do the cost / benefit analysis for things. > > >> It's > > >> skewed a bit towards old drivers and old architectures (or platforms > > >> within > > >> those architectures), but it's likely a useful snowman to work > > >> towards > > >> something better. https://wiki.freebsd.org/ObsoleteCriteria > > > > > > THANK YOU!!! > > > > > >> This doesn't get into the process at all of who to have the > > >> conversation > > >> with, what steps you go through to ensure that there's a transition > > >> plan > > >> for current users (if there's enough to warrant it), etc. It's just = a > > >> set > > >> of things I've found useful to think about and that I think the > > >> project > > >> should adopt (with refinement) as a standard template to use when > > >> making > > >> these calls. > > > > > > Can you also draft a short proposal on the "process" of deprecation? > > > Based I guess on our current model, with the addition of some of the > > > macros and other stuff you and Brooks worked on, the gone_in stuff > > > is what I am thinking. How to do the head commit with the deprecatio= n > > > notices, merge that back if applicable, then do the remove when > > > appropriate. Basically a more complete flushed out version of: > > > > > https://www.freebsd.org/doc/en/articles/committers-guide/article.html#r= ules > > > @ 17.4. We should also IMHO do some work smithing and rearrangement > > > to > > > make this read much more as steps, some of the steps as listed have > > > substeps that appear to be overlooked often. > > > > > > Something like this: > > > 17.4. Deprecating Features > > > > > > When it is necessary to remove functionality from software in > > > the base system, follow these guidelines whenever possible: > > > > > > 1. Use of the deprecated feature generates a warning. > > > 2. Mention is made in the manual page and the release > > > notes that the option, utility, or interface is deprecated. > > > (I removed the word possible here, we should always > > > mention deprecation of features in the release notes) > > > 3. The option, utility, or interface is preserved until > > > the next major (point zero) release. > > > > Given the age of some of the things in our tree, of which timed was a > > classic example, I hardly think that this rule will work in our favor. > > Removing old code reduces our attack surface, and keeping something > > that's been dead for years, for another 2 years, seems problematic at > > the very least. Some of the software now on the proposed removal list > > should have been gone by 11 or 12. Not giving the users proper and adaquate notification is asking for problems as well. In the case of amd(8) at least the man page has had a obsolete notice in it with a pointer to autofs for some time (my 11.1 systems have such notice, not sure how far back that goes.) And again, age is not the correct metric, BSD is near 40 years old, I think the word you want is obsolete, which is more correct. Also timed appears to be in use, so what might be dead to you=20 is useful to someone else. I would also argue that the attack surface of timed is much smaller than the attack surface of ntpd, shall we remove ntpd to reduce our attack surface? I can not recall any cve against timed, I can recall many against ntpd. > > >=20 > If it's old, we should remove it. The one major release thing is nice to > have in the steady state where you are caught up and retire things just i= n > time. For the backlog we have, though, it will just get in the way. But i= n > this case all we need to do is a direct commit to fix the man page in 12 = to > say it is gone in 13.... Yes, we can short circuit the process, but we should not just skip the process. Need to fix both the man page and the binary to output a message when it is invoked, and that needs to be commited to both stable/11 and stable/12. The prefered method would of been to do the notification stuff in head, then merge that back to stable/11 and /12, then do the remove in head. --=20 Rod Grimes rgrimes@freebsd.= org _______________________________________________ freebsd-arch@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"