move rc_svcdir to /run/openrc on Linux systems

If you are not using linux, this should not affect you.

If you are using linux, from this point forward, openrc requires the
/run directory to be a mounted tmpfs. If it is, you can run
@LIBEXECDIR@/sh/migrate-to-run.sh as root to migrate your dependency
tree and state information to the new location. If it is not, you must
create the /run directory as root with permissions 755 then reboot your
system.

reported-by: Maxim Kammerer <mk@dee.su>
X-Gentoo-Bug: 401059
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401059
This commit is contained in:
William Hubbs
2012-02-22 20:44:32 -06:00
parent ee1a698451
commit 82d3918d7a
6 changed files with 89 additions and 73 deletions

1
sh/.gitignore vendored
View File

@@ -10,3 +10,4 @@ ifwatchd-carrier.sh
ifwatchd-nocarrier.sh
udhcpc-hook.sh
tmpfiles.sh
migrate-to-run.sh