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 58892138330 for ; Wed, 24 Aug 2016 22:52:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BBFE21C213; Wed, 24 Aug 2016 22:52:02 +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 74C5A21C18A for ; Wed, 24 Aug 2016 22:52:01 +0000 (UTC) Received: from [IPv6:2003:81:6f52:4134:c5d8:f7e4:3e96:85ee] (p2003000611285F34C5D8F7E43E9685EE.dip0.t-ipconnect.de [IPv6:2003:6:1128:5f34:c5d8:f7e4:3e96:85ee]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: whissi) by smtp.gentoo.org (Postfix) with ESMTPSA id 172453408B8 for ; Wed, 24 Aug 2016 22:51:59 +0000 (UTC) Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) To: gentoo-dev@lists.gentoo.org References: <20160822225743.GA19359@linux1> <20160824193205.0ad0f559@katipo2.lan> <20160824170704.GA25523@whubbs1.gaikai.biz> <03da9ed1-def3-4e17-d702-8ab3317594f5@gentoo.org> <20160824215946.GA26740@whubbs1.gaikai.biz> From: Thomas Deutschmann Message-ID: <8eaecf9c-3ff3-109f-bcba-8caacaa58d53@gentoo.org> Date: Thu, 25 Aug 2016 00:51:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 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 In-Reply-To: <20160824215946.GA26740@whubbs1.gaikai.biz> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qSfjE9X17I0ee1shJTgmhv6d6XDouB5E8" X-Archives-Salt: f5debbbe-82f6-4d0f-bab3-a5c3e9dc1ed3 X-Archives-Hash: 3f1c01edf1bcdaa69f1c6006e80b4195 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qSfjE9X17I0ee1shJTgmhv6d6XDouB5E8 Content-Type: multipart/mixed; boundary="6lF3MuvhFwxMSmGnNu4KvHbfbALKPF9l0" From: Thomas Deutschmann To: gentoo-dev@lists.gentoo.org Message-ID: <8eaecf9c-3ff3-109f-bcba-8caacaa58d53@gentoo.org> Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) References: <20160822225743.GA19359@linux1> <20160824193205.0ad0f559@katipo2.lan> <20160824170704.GA25523@whubbs1.gaikai.biz> <03da9ed1-def3-4e17-d702-8ab3317594f5@gentoo.org> <20160824215946.GA26740@whubbs1.gaikai.biz> In-Reply-To: <20160824215946.GA26740@whubbs1.gaikai.biz> --6lF3MuvhFwxMSmGnNu4KvHbfbALKPF9l0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-08-24 23:59, William Hubbs wrote: > Since OpenRC is used outside of Gentoo, a warning like this would have > to be: >=20 > * /etc/init.d/test uses runscript and must be converted to openrc-run > * For more details see the OpenRC NEWS file >=20 > because we don't know where or if the file will be installed by > downstreams. Yes, this will be the message in OpenRC's SRC. However you could patch that message for Gentoo in the ebuild. >> In "/usr/share/doc/openrc-*/openrc-migration*" we describe _why_ this >> was changed and tell them that all files in FILESDIR were already >> migrated so chances are high that >> >> # emerge --oneshot -av $(grep -l '/sbin/runscript' /etc/init.d/*) >> >> will replace most runscripts with migrated scripts. >> >> If the user has already done that he/she should check which packages >> owns the runscript (qfile /etc/init.d/foo) and should file a bug again= st >> that package. >=20 > We can't really put anything distro-specific in the news file, because = we > don't know how distros will handle it. =2E..now with the patched message you can promote our own file. And this file can get installed from $FILESDIR for example. You are using GitHub for OpenRC upstream, right? So create a guide in project's Wiki (or add it to the docs folder in the src) which will explain the changes. This guide can have a section to explain what to do on Debian, one for Gentoo... but this is all upstream. My point is, that for Gentoo downstream, you can patch/customize like we do for all the other packages to work with Gentoo. >> And as additional help sys-apps/openrc ebuild should start scanning fo= r >> "/sbin/runscript" usage in pkg_postinst and show an ewarn with text >=20 > I wouldn't say that the OpenRC ebuild should be concerned about this, > but I believe there is a check in repoman for it. I agree. However I see that more like a service for Gentoo users. Users don't run repoman. And don't forget that the user could have _custom_ runscripts or additional packages from other sources which repoman will never see... so it is nice to have a friendly reminder (the problem is, that if an user acts _now_ and fixes all currently installed runscripts he/she could face the problem in future again if he/she installs a new package after that which wasn't updated yet... that's why I would add such a scan). =2E..and we don't need to believe to catch all the runscripts in the worl= d even if openrc-1.0.0 will be released in 100y. Some user will finally notice with the newsitem prior openrc-1.0.0 release which will tell them that /sbin/runscript was finally removed... but there _will_ be users after that which will get hit. And they will complain "you" broke their system despite all the effort to prevent such situations. ;-) --=20 Regards, Thomas --6lF3MuvhFwxMSmGnNu4KvHbfbALKPF9l0-- --qSfjE9X17I0ee1shJTgmhv6d6XDouB5E8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 iQJ8BAEBCgBmBQJXviUCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzM0M1ODQ4MkM0MDIyOTJEMkUzQzVDMDY5 NzA5RjkwQzNDOTZGRkM4AAoJEJcJ+Qw8lv/I824P/33swbwA0a6m5svjeQD6ob7O BkuF//d0SPV72IWPfh2ozZIhBktPcdidHxz2wbcf7Wd2X6lVl6vwUpGLa1SmzAr6 dWKQxfAJKhxPkgjdP86hjFGAXuSaszbiAUk9OKvNfpgbc+DgC/3g1zisTrgP/qQi lYzPyR/FzL8qWJ05M1r1D+AnJ/iPJut/YTkrJ7YxnwHGsey3VYXewz7c1naW/Wbq klO5S/SnaOeMHFEtQdMPJCZv2dgFarX8/zZhbpJzEfQfI5tjTGw12inN4mRRJ+0Y NNAaf903ScLut+Red1Mfw3s1CyLLIAch1TifBUD+gSe4n66WLoSuoTsy2Im4itTn 8jm4m9d5kO6q8mQYHypFHGdsPh3knWrbUJN2WGfq/9qT5RrzFdQKTq4RgIta7Okx ZUMMyaVcqxybtZJmxLNU2AAxDLvYOf+gPe5AqAWZbpFq0Cp6Vn7HOdvYaay5Zf6j PHv/t791NREsji8TlklK0lsJ33cOwsn06v0OT0DBlJu7paXGmaZOQDKeMCqm0juo hMF7RmD0MHvfxtY27XY4LBU/IcqtI6HDyY17Mkf9WVhg1yYbN2KkL76NAAnLgKf5 6VFiyqM7cpH5dTikogk7iXHHCsuCtm4Wiyi7uHUzONHquJgpuHIbF/01cE8ARbgN 1zzkCyHk7dZ/XgwTZHso =I8ot -----END PGP SIGNATURE----- --qSfjE9X17I0ee1shJTgmhv6d6XDouB5E8--