1 |
On 2016-08-24 19:07, William Hubbs wrote: |
2 |
> I do not plan to drop runscript at this point, that will happen when |
3 |
> openrc-1.0 is released, which will be a while yet. |
4 |
|
5 |
...and that's the reason why I don't think this needs a newsitem. |
6 |
There's _no_ problem and no _immediate_ user interaction is required. |
7 |
|
8 |
I would only adjust the current warning from |
9 |
|
10 |
> * /etc/init.d/test uses runscript, please convert to openrc-run. |
11 |
|
12 |
to |
13 |
|
14 |
> * /etc/init.d/test uses runscript and must be converted to openrc-run |
15 |
> * For more details see /usr/share/doc/openrc-*/openrc-migration* |
16 |
|
17 |
In "/usr/share/doc/openrc-*/openrc-migration*" we describe _why_ this |
18 |
was changed and tell them that all files in FILESDIR were already |
19 |
migrated so chances are high that |
20 |
|
21 |
# emerge --oneshot -av $(grep -l '/sbin/runscript' /etc/init.d/*) |
22 |
|
23 |
will replace most runscripts with migrated scripts. |
24 |
|
25 |
If the user has already done that he/she should check which packages |
26 |
owns the runscript (qfile /etc/init.d/foo) and should file a bug against |
27 |
that package. |
28 |
|
29 |
Finally add a note for package owner (don't forget user's repositories!) |
30 |
and tell them what they need to do (which line must be changed, show |
31 |
example before and after the migration). |
32 |
|
33 |
|
34 |
And as additional help sys-apps/openrc ebuild should start scanning for |
35 |
"/sbin/runscript" usage in pkg_postinst and show an ewarn with text |
36 |
pointing to the same file. |
37 |
|
38 |
Done. |
39 |
|
40 |
|
41 |
...once an openrc version without "/sbin/runscript" will be released we |
42 |
will have to release a newsitem before because _then_ we really require |
43 |
user interaction and must force people to take notice. |
44 |
|
45 |
|
46 |
PS: And don't forget to fix the warning from /sbin/runscript to honor |
47 |
"--quiet". If this bug wouldn't exist we wouldn't talk about a newsitem |
48 |
at the moment ;-) |
49 |
|
50 |
|
51 |
-- |
52 |
Regards, |
53 |
Thomas |