From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B47391381F1 for ; Wed, 24 Aug 2016 14:59:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24B9421C08D; Wed, 24 Aug 2016 14:59:25 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46530E0AAA for ; Wed, 24 Aug 2016 14:59:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DwAgCJI6tX/1mTSC1dg0VWfLkmgX0khXMEAgKBXTkUAQEBAQEBAV0nhF8BAQQ6HDMLGAkTEg8FJTcaiBcOwU4BAQEBBgEBAQEeBYp3hDNZgmCCLwEEmTyGHYhrgXWHXBcahUs3i32DeB42hBYgMgGFaIFDAQEB X-IPAS-Result: A0DwAgCJI6tX/1mTSC1dg0VWfLkmgX0khXMEAgKBXTkUAQEBAQEBAV0nhF8BAQQ6HDMLGAkTEg8FJTcaiBcOwU4BAQEBBgEBAQEeBYp3hDNZgmCCLwEEmTyGHYhrgXWHXBcahUs3i32DeB42hBYgMgGFaIFDAQEB X-IronPort-AV: E=Sophos;i="5.28,500,1464667200"; d="scan'208";a="269003421" Received: from 45-72-147-89.cpe.teksavvy.com (HELO waltdnes.org) ([45.72.147.89]) by smtp.teksavvy.com with SMTP; 24 Aug 2016 10:59:22 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 24 Aug 2016 10:59:21 -0400 From: waltdnes@waltdnes.org Date: Wed, 24 Aug 2016 10:59:21 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) Message-ID: <20160824145921.GA7100@waltdnes.org> References: <20160822225743.GA19359@linux1> <20160824193205.0ad0f559@katipo2.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160824193205.0ad0f559@katipo2.lan> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: bcbc7eef-3068-432d-9c0f-0eda1ae63e23 X-Archives-Hash: ee95a555206f284d309774042dfe647a On Wed, Aug 24, 2016 at 07:32:05PM +1200, Kent Fredric wrote > On Mon, 22 Aug 2016 17:57:43 -0500 > William Hubbs wrote: > > > I thought about dropping the version number from the > > display-if-installed line, but that doesn't make sense because it means > > that everyone, including all new installs of OpenRC after this version, > > would have to read the newsitem. > > > > William > > > > That concern is in the wrong priority. > > "Your system might break" is more important than "ugh, annoying > news items" > > Viewing the news item once per clean install is still less of a > "Problem" than "everyone with an old system syncs, doesn't get any > warning, upgrades openrc to a version which breaks this, and they > brick their boot" These things get left in forever. I once filed a bug report https://bugs.gentoo.org/show_bug.cgi?id=569056 because the warning that English word lists in vim had been removed was still present *TWO YEARS* after the fact. How flexible is the ewarn option? Can printing the warning be made conditional? I suggest warning only if there are any hits on... grep -l '^#!/sbin/runscript' /etc/init.d/* Note the single-quote around the expression. Otherwise "#" can be a special character for grep. Furthermore, "grep -l" output can be used to tell the enduser which specific scripts are non-compliant. -- Walter Dnes I don't run "desktop environments"; I run useful applications