summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-12-11 01:18:08 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-12-11 01:18:08 -0600
commit5e01051c4eccf1fc52b32b060478a534d34769ed (patch)
treedcfb915b8986e62506f695cef7a38bdad854fe85 /man
parent8ea1190486f9194bac9dfcb355021ebc8e8c15ce (diff)
downloadopenrc-5e01051c4eccf1fc52b32b060478a534d34769ed.tar.gz
openrc-5e01051c4eccf1fc52b32b060478a534d34769ed.tar.bz2
openrc-5e01051c4eccf1fc52b32b060478a534d34769ed.tar.xz
Allow init scripts to be executed with a relative path
This was a regression that was caused by the fix for http://bugs.gentoo.org/show_bug.cgi?id=350910. I am reverting the commit that we said fixed that bug and re-opening it. Reported-By: Nathaniel <nathaniel@paust.us X-Gentoo-Bug: 392457 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392457
Diffstat (limited to 'man')
-rw-r--r--man/runscript.86
1 files changed, 6 insertions, 0 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index 64da26c..2889970 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -465,6 +465,12 @@ show()
.Ed
.Sh BUGS
+Because of the way we load our configuration files and the need to handle
+more than one service directory, you can only use symlinks in service
+directories to other services in the same directory.
+You cannot symlink to a service in a different directory even if it is
+another service directory.
+.Pp
is_older_than should return 0 on success.
Instead we return 1 to be compliant with Gentoo baselayout.
Users are encouraged to use the is_newer_than function which returns correctly.