Title: OpenRC runscript transition
Author: William Hubbs <willi...@gentoo.org>
Content-Type: text/plain
Posted: 2016-08-25
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <sys-apps/openrc-0.22

Starting with OpenRC 0.21.3, service script authors should use
#!/sbin/openrc-run instead of #!/sbin/runscript to start their scripts.

The following warning will be displayed for each service on your system
which is not updated:

 * <scriptpath> uses runscript, please convert to openrc-run.

This warning is not fatal; your system will boot normally.

To silence most of the warnings, you should run the following command as root:

# emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*)

If you have any service scripts after running this command that generate
this warning, please file bugs against the packages that own these
scripts, not against OpenRC.

Attachment: signature.asc
Description: Digital signature

Reply via email to