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.

...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.


...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 ;-)


-- 
Regards,
Thomas


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to