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 2E516138330 for ; Wed, 24 Aug 2016 15:17:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0418721C16C; Wed, 24 Aug 2016 15:17:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22EEA21C039 for ; Wed, 24 Aug 2016 15:17:34 +0000 (UTC) Received: from katipo2.lan (unknown [IPv6:2406:e001:1:d01:c2f8:daff:fe83:ed01]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kentnl) by smtp.gentoo.org (Postfix) with ESMTPSA id 3CA2C33BF44 for ; Wed, 24 Aug 2016 15:17:32 +0000 (UTC) Date: Thu, 25 Aug 2016 03:17:06 +1200 From: Kent Fredric To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) Message-ID: <20160825031706.272c2dae@katipo2.lan> In-Reply-To: <20160824145921.GA7100@waltdnes.org> References: <20160822225743.GA19359@linux1> <20160824193205.0ad0f559@katipo2.lan> <20160824145921.GA7100@waltdnes.org> Organization: Gentoo X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) 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: multipart/signed; micalg=pgp-sha256; boundary="Sig_/n0Xwocg138WJY+tnZfxHPO5"; protocol="application/pgp-signature" X-Archives-Salt: 7cd2ea3f-b538-4d1f-aa78-72db5ffae1d5 X-Archives-Hash: f8b8b8475be72b0d1fc27cc40b5bbe4d --Sig_/n0Xwocg138WJY+tnZfxHPO5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 24 Aug 2016 10:59:21 -0400 waltdnes@waltdnes.org wrote: > These things get left in forever. I once filed a bug report > https://bugs.gentoo.org/show_bug.cgi?id=3D569056 because the warning that > English word lists in vim had been removed was still present *TWO YEARS* > after the fact. >=20 > How flexible is the ewarn option? Can printing the warning be made > conditional? I suggest warning only if there are any hits on... >=20 > grep -l '^#!/sbin/runscript' /etc/init.d/* >=20 > 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. There's a few other options we can use here as well ...=20 1. GLEP 65, but I'm still not entirely sure how all this works. https://wiki.gentoo.org/wiki/GLEP:65 2. pkg_postinst 3. pkg_info https://devmanual.gentoo.org/ebuild-writing/functions/pkg_info/index.html With #3 that means=20 emerge --info sys-devel/openrc=20 Could fire up a quick grep and tell users which specific things need fixing= still. --Sig_/n0Xwocg138WJY+tnZfxHPO5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXvbp/AAoJEOhUMksTZqggPi4QALOGuB9Iq4UPJdW4uYPRzs/2 7F7zHltaNtx+yRcGlaJOXmVguKtnjD19Jblcc/FlcAHLMKmdcGytrabc7lAzLU0j sN+SGHIU3aC8CUewxcIIDDHAL0TvmunfqgnZQS0Ju7jTXAUwB9mB7zXwA3oxe4qT Rt7H6fghHpC2KS7fozdVzgR9pOOfe/Wp5v81U++qPJr9VdTSGoOCidlpb8UzgafU MGhp6+M5NB15H8SVr2uJZJAnwqFvJlOUXPNdiRC2ejwNdhfU1/W4Rs7i/F1lqk/F EjF0FIoImqp3MjNMEeRRwV/8P2A1MXDyWLCLqloSR1U7u7747SJ0EqfynE4B8vO0 DcT9kAVYlKD0jJRgZIi4Z8Qm67Lzj7bOPtkDKCGuQsous3M5+9a9FFK5oD5B9Gb4 zDEeGdqMF1qcvcd3ogtbRH9n/kIqKdWkqpr9yrJux5sQGu9HhDK5Nfuxo6JaEXZf ZizDRwiBgqnqSyrg6BVSkOFKctRmM5DrAPVRJk8PuIGkLjGZfiA3d/6czaYzni1y 9pPpa6F/Up5gIikRsm0/MAWrgaXjVGpm8YcUZjgk4q3JYIMqUHWI2A/x510uTzli 3pds1K3YI+pyhm9DjvgX3gMgkMtw0Amgu6OOwhSZwNm7Dw//lJb/nvWpNi0mtkJA oLSlEkPMtEynxRCHK4RP =LkS7 -----END PGP SIGNATURE----- --Sig_/n0Xwocg138WJY+tnZfxHPO5--