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 7DD87138330 for ; Wed, 24 Aug 2016 22:00:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB806E0B87; Wed, 24 Aug 2016 22:00:14 +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 A4BB7E0B79 for ; Wed, 24 Aug 2016 22:00:13 +0000 (UTC) Received: from localhost (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 1AF8933BF0B for ; Wed, 24 Aug 2016 22:00:12 +0000 (UTC) Date: Wed, 24 Aug 2016 16:59:46 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) Message-ID: <20160824215946.GA26740@whubbs1.gaikai.biz> Mail-Followup-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> 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-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <03da9ed1-def3-4e17-d702-8ab3317594f5@gentoo.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: a8c5247b-5f45-4c21-9a31-9bc10a93d224 X-Archives-Hash: 37daf8ca551d857eae10dbdebe57797e --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 24, 2016 at 07:41:42PM +0200, Thomas Deutschmann wrote: > On 2016-08-24 19:07, William Hubbs wrote: > > I do not plan to drop runscript at this point, that will happen when > > openrc-1.0 is released, which will be a while yet. >=20 > ...and that's the reason why I don't think this needs a newsitem. > There's _no_ problem and no _immediate_ user interaction is required. >=20 > I would only adjust the current warning from >=20 > > * /etc/init.d/test uses runscript, please convert to openrc-run. >=20 > to >=20 > > * /etc/init.d/test uses runscript and must be converted to openrc-run > > * For more details see /usr/share/doc/openrc-*/openrc-migration* Since OpenRC is used outside of Gentoo, a warning like this would have to be: * /etc/init.d/test uses runscript and must be converted to openrc-run * For more details see the OpenRC NEWS file because we don't know where or if the file will be installed by downstreams. > 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 >=20 > # emerge --oneshot -av $(grep -l '/sbin/runscript' /etc/init.d/*) >=20 > will replace most runscripts with migrated scripts. >=20 > 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 against > that package. We can't really put anything distro-specific in the news file, because we don't know how distros will handle it. > Finally add a note for package owner (don't forget user's repositories!) > and tell them what they need to do (which line must be changed, show > example before and after the migration). =20 Something like this could go into the upstream NEWS file easily enough. > And as additional help sys-apps/openrc ebuild should start scanning for > "/sbin/runscript" usage in pkg_postinst and show an ewarn with text I wouldn't say that the OpenRC ebuild should be concerned about this, but I believe there is a check in repoman for it. >=20 > ...once an openrc version without "/sbin/runscript" will be released we > will have to release a newsitem before because _then_ we really require > user interaction and must force people to take notice. =20 Probably so. In theory, there won't be too much to worry about at that point; I plan to delay a while before I do that. > PS: And don't forget to fix the warning from /sbin/runscript to honor > "--quiet". If this bug wouldn't exist we wouldn't talk about a newsitem > at the moment ;-) =20 heh, I think we still would be talking about a newsitem because the messages still appear during bootup, but yes I'll look at this. William --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAle+GM0ACgkQblQW9DDEZTgvRQCgs03MJdIdO5uFRu2fVnp/E9sr xgcAoJSBYDbECh4+MACI5dn/hz2CbwUT =r5/v -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--