public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Cc: pr@gentoo.org
Subject: [gentoo-dev] newsitem: openrc runscript transition (draft 3)
Date: Mon, 22 Aug 2016 17:57:43 -0500	[thread overview]
Message-ID: <20160822225743.GA19359@linux1> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 240 bytes --]

I thought about dropping the version number from the
display-if-installed line, but that doesn't make sense because it means
that everyone, including all new installs of OpenRC after this version,
would have to read the newsitem.

William


[-- Attachment #1.2: 2016-08-25-openrc-runscript-transition.en.txt --]
[-- Type: text/plain, Size: 872 bytes --]

Title: OpenRC runscript transition
Author: William Hubbs <williamh@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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2016-08-22 22:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-22 22:57 William Hubbs [this message]
2016-08-24  7:32 ` [gentoo-dev] newsitem: openrc runscript transition (draft 3) Kent Fredric
2016-08-24 12:08   ` Jason Zaman
2016-08-24 13:58   ` [gentoo-dev] " Duncan
2016-08-24 14:59   ` [gentoo-dev] " waltdnes
2016-08-24 15:17     ` Kent Fredric
2016-08-24 17:07   ` William Hubbs
2016-08-24 17:41     ` Thomas Deutschmann
2016-08-24 21:59       ` William Hubbs
2016-08-24 22:51         ` Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160822225743.GA19359@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=pr@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox