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 EDA8D138330 for ; Wed, 24 Aug 2016 17:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B272721C203; Wed, 24 Aug 2016 17:42:01 +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 9EBE321C09F for ; Wed, 24 Aug 2016 17:42:00 +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 33C023409C8 for ; Wed, 24 Aug 2016 17:41:55 +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> From: Thomas Deutschmann Message-ID: <03da9ed1-def3-4e17-d702-8ab3317594f5@gentoo.org> Date: Wed, 24 Aug 2016 19:41: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: <20160824170704.GA25523@whubbs1.gaikai.biz> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BdgqU7cSsEiNcbE5vEhpc0hRhoQ2LIa7n" X-Archives-Salt: 843223be-1cc5-4ff3-9276-1e14dbc6a9c0 X-Archives-Hash: 9e788b7907f8918c2e06cc078d9498cb This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BdgqU7cSsEiNcbE5vEhpc0hRhoQ2LIa7n Content-Type: multipart/mixed; boundary="dH68dGCfuiDDGsjqQ0TBdKSF7fLpAkndo" From: Thomas Deutschmann To: gentoo-dev@lists.gentoo.org Message-ID: <03da9ed1-def3-4e17-d702-8ab3317594f5@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> In-Reply-To: <20160824170704.GA25523@whubbs1.gaikai.biz> --dH68dGCfuiDDGsjqQ0TBdKSF7fLpAkndo Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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. =2E..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. I would only adjust the current warning from > * /etc/init.d/test uses runscript, please convert to openrc-run. to > * /etc/init.d/test uses runscript and must be converted to openrc-run > * For more details see /usr/share/doc/openrc-*/openrc-migration* 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 against that package. 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). And as additional help sys-apps/openrc ebuild should start scanning for "/sbin/runscript" usage in pkg_postinst and show an ewarn with text pointing to the same file. Done. =2E..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. 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 Regards, Thomas --dH68dGCfuiDDGsjqQ0TBdKSF7fLpAkndo-- --BdgqU7cSsEiNcbE5vEhpc0hRhoQ2LIa7n 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 iQJ8BAEBCgBmBQJXvdxaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzM0M1ODQ4MkM0MDIyOTJEMkUzQzVDMDY5 NzA5RjkwQzNDOTZGRkM4AAoJEJcJ+Qw8lv/ITKwQAKhNsy9M3peJxabfLQ6hS0/S EwyQxdOVoQFtL1KycH5Wbqm/ve1RIGkwI6YIPNpSChS7b0OWYMS8dmkiOZcyijJS BzzJ4Dz+wZZgk3bmGfaCyWk649/bbjCkS5AJVYJehyNVu1wogxw9H+QptW1Tm6XV kh5ZWsqk628y16jnkHeQ+pX/cQ+EhbF8ObXDa3mLevi06tpn8vVkjQ4KVkuKlEp6 f20v7/2KsKdKwyTfXkky0WXN1PajofSGf54DgAaTc3fqYl+9WCMbUdD+GE2op7qe QsAYd5MuGXC8CfJZaniMythtr/c27RQcDJ3g+6pz8RiIScXwOI5uzm0Pmk2vOl3X PtIhc833RAHCCiBFdnWbL1SVlAxT1/UJ3wHPLnEHo5V+GyZ2YFyZNXLeEMp/SnoO emXeKl/kiwEBRx0I7AZNJidES0qZKLv3mAOE3YkllSy6XAWAfiRA9lV6lq9YGSG8 KhFXU0nUbRHtVjY/3jm/oF+TX5xs0EjsF6730K1SmVfIAtGO81UoU0BoVtC9iEww jshY88O5Gnhl5QTUp4Dfj6/d6BLPqE7CVB5iBbodzCzKL0ucbx0XAgZi1TvTF4tt n+UFV792lhHzZemPHM8C/oi/E6kKsFFY7A6zS7oz+ibxfWRrSWApK0Nj0vnM7HtB 8G0hZ5n5oNjWrLEHjOs/ =jczk -----END PGP SIGNATURE----- --BdgqU7cSsEiNcbE5vEhpc0hRhoQ2LIa7n--