Compare commits

..

10 Commits

Author SHA1 Message Date
William Hubbs
6ceb62969a release openrc-0.10.4 2012-07-02 13:50:05 -05:00
William Hubbs
d5ecc9d746 fix handling of /run for vserver
Mount can't be used in vservers, but /run is still needed. So we create
the directory and clear it out instead of mounting a tmpfs in that
situation.

reported-by: <patrick@gentoo.org>
X-Gentoo-Bug: 423739
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423739
2012-07-02 13:47:58 -05:00
William Hubbs
6df5176462 Release openrc-0.10.3 2012-06-11 16:09:12 -05:00
William Hubbs
0c6df86503 fix consolefont documentation to reflect the default state
conf.d/consolefont was written as though the consolefont service was
active by default. It is not, so this has been fixed.

reported-by: Ikonta@yandex.ru
X-Gentoo-Bug: 420037
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=420037
2012-06-07 10:57:34 -05:00
William Hubbs
cd2d520fd1 net/udhcpc: use -x hostname:NAME option instead of -h name
reported-by: bug@mejor.pl
X-Gentoo-Bug: 417617
X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617
2012-06-07 00:39:14 -05:00
William Hubbs
0e3860e76f net: clarify how to prefer ifconfig over iproute2
reported-by: <vsync@quadium.net>
X-Gentoo-Bug: 417899
X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=417899
2012-06-06 23:23:54 -05:00
William Hubbs
670b72b328 release openrc-0.10.2 2012-05-27 10:28:21 -05:00
William Hubbs
3ebaa31edb termencoding should not run on lxc
reported-by: Alexey Shvetsov <alexxy@gentoo.org>
2012-05-27 10:20:07 -05:00
William Hubbs
0f3813c8cf Release openrc-0.10.1 2012-05-24 10:46:07 -05:00
Mike Frysinger
28c13790ff rc: fix inverted string compare logic
X-Gentoo-Bug: 417227
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=417227
Reported-by: sphakka <marcoep@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-24 10:36:11 -05:00
2 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
NAME= openrc
VERSION= 0.10
VERSION= 0.10.4
PKG= ${NAME}-${VERSION}

View File

@@ -37,14 +37,23 @@ fi
# /run is a new directory for storing volatile runtime data.
# Read more about /run at https://lwn.net/Articles/436012
sys="$(rc --sys)"
if [ ! -d /run ]; then
eerror "The /run directory does not exist. Unable to continue."
return 1
if [ "$sys" = VSERVER ]; then
if [ -e /run ]; then
rm -rf /run
fi
mkdir /run
else
eerror "The /run directory does not exist. Unable to continue."
return 1
fi
fi
if mountinfo -q /run; then
einfo "/run is already mounted, skipping"
else
if [ "$sys" = VSERVER ]; then
rm -rf /run/*
elif ! mountinfo -q /run; then
ebegin "Mounting /run"
rc=0
if ! fstabinfo --mount /run; then