From owner-freebsd-current@freebsd.org Mon May 27 15:13:49 2019 Return-Path: Delivered-To: freebsd-current@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 33055159F7FB for ; Mon, 27 May 2019 15:13:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74FE970EE5 for ; Mon, 27 May 2019 15:13:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x4RFDdZo014495 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 27 May 2019 18:13:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x4RFDdZo014495 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x4RFDcg5014494; Mon, 27 May 2019 18:13:38 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 27 May 2019 18:13:38 +0300 From: Konstantin Belousov To: voidanix@420blaze.it Cc: freebsd-current@freebsd.org Subject: Re: Disabling COMPAT_FREEBSD4/5/6/7/9 as a default kernel option Message-ID: <20190527151338.GB2748@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 15:13:49 -0000 On Mon, May 27, 2019 at 03:55:21PM +0200, voidanix@420blaze.it wrote: > Hello, > I wanted to discuss about bug 231768 a bit: it is about keeping > COMPAT_FREEBSD4/5/6/7/9 on by default in the kernel configs. What problem are you trying to solve ? > > The patch attached for the bug is for disabling these options by > default, following a few reasons which I'm going to list here: > - Keeping support for deprecated libraries isn't exactly the best we > could do to avoid security issues (if there are any) as I'm sure nobody > wants to spend that much time maintaining such stuff (it's enough to > think about misc/compat4x in the ports tree: that version of FreeBSD was > released on March 2000 and keeping 19 years old libraries around isn't > ideal) > - Devs should get track of time and realize that developing software > using unsupported libraries is NOT something that you should do This is nonsense. These options are not for developing new software. > - Only a tiny fraction of the ports need COMPAT_FREEBSD9 or older: > if the software won't compile without the legacy components (and has a > replacement of some kind), considering removal wouldn't be a bad idea And that options are usually not about ports. > - This is on by default: most users don't care or don't use binaries > that old This is I am really interesting about. How do you know ? The method you came to this conclusion should allow us to solve many other old issues, I hope. > > I don't see any practical reason to keep these options on by default, > but I do appreciate any sort of input regarding this issue.