From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 27 03:52:03 2014 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 786F3B2D; Sat, 27 Sep 2014 03:52:03 +0000 (UTC) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CA05258; Sat, 27 Sep 2014 03:52:02 +0000 (UTC) Received: from outgoing.leidinger.net (p57BB934F.dip0.t-ipconnect.de [87.187.147.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 7C411861C0D; Sat, 27 Sep 2014 05:43:12 +0200 (CEST) Received: from localhost (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id BBC555CE4; Sat, 27 Sep 2014 05:43:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1411789389; bh=5bEwVjLRSuak7H2iF5AwnJiwFe1Yrsx+X9fEqwcLOrw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=eeqy0LxLwBo1KSBK7bjNJvYAe9AztLBWCAjCw0rXxecAXoCyXGClL0u4aEGO4gM70 Yu4VH97jA5j2mq/8yQfyfTwKCUzMQvNZrRxZM4aZ3xFXsc1Jy8kstSi4Tnfve7h9e1 x1UIiEPMZQexTJ8V+awV2DAYq/2G14A5226cptioOgHEo/wk/PceypGRffWeO4zPeM T2P5TJTfa8ioHMgQfu8V6WBP4eBENYBzWfs8UMlxMDkPIYi+q0BaaQXoQINGN82SNh ZLDD8u7WIgvJ5Naf7dsurAOr8uS1t1M2dyNsm8ggiIEnOziS/+AqnxqvdGzy+n2I6h bNVlR4YemabnA== Date: Sat, 27 Sep 2014 05:43:07 +0200 From: Alexander Leidinger To: Johannes Meixner Subject: Re: Making CentOS 6.5 default Message-ID: <20140927054307.00000ea9@Leidinger.net> In-Reply-To: <20140922131652.GA4045@mx12.chaot.net> References: <20140922131652.GA4045@mx12.chaot.net> X-Mailer: Claws Mail 3.9.3-30-gd68093 (GTK+ 2.16.6; i586-pc-mingw32msvc) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 7C411861C0D.A1B74 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1412394193.87548@PCSXt1g7Sj9qY3Dy9uxyEA X-EBL-Spam-Status: No Cc: emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 03:52:03 -0000 On Mon, 22 Sep 2014 16:16:52 +0300 Johannes Meixner wrote: > Hi there, > > now that CentOS 6.5 base and userland are in, I'd like to use the > opportunity to spawn a discussion about making it default within the > next two to four weeks (once things stabilize). > > The ports work necessary for that isn't complicated at all (see patch > attached). The only "issue" I see is that we'd have to get all users > to set compat.linux.osrelease=2.6.18 > in /etc/sysctl.conf. While you tell the kernel to lie about the "features" we support, the only place this is used in FreeBSD is in the kernel (there's only a difference if you set it to 2.4.x), and the current value is strictly speaking a lie too when seen from a linux-program (not all features of the currently emulated version are really available). The only port which comes to my mind (which doesn't mean there's not another port which does something like this) which changes the running config of a system is postfix (mailer.conf). Before it does this, it asks the users if he is OK that the config is changed, it's not doing it silently (by default). Most of the ports do not automate something like this. Personally I would not automate it. If you automate it I suggest you ask the user if it is OK and don't assume it is OK by default. Info: in the past we didn't do this, first we change the value in the kernel and then we switched the default on supported FreeBSD versions. If you want to say that we could see this case differently as in the past we had to add some kernel code to run a more recent linux userland, I would not disagree (read: ivory tower perspective = I think we should change the kernel first; pragmatic point of view = I don't object changing the default)... Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0xC773696B3BAC17DC http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17DC