diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 11:14:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 11:18:03 +0000 |
commit | 382912ec55c9dcf411764579a173eb0ece6d4445 (patch) | |
tree | f8398f709eb59946ed4f1603ec91b3414a1b821c /main/xen/xenstored.initd | |
parent | 56accdd60f4617814eb5d1a1bc4ad6a70d596c75 (diff) | |
download | aports-382912ec55c9dcf411764579a173eb0ece6d4445.tar.bz2 aports-382912ec55c9dcf411764579a173eb0ece6d4445.tar.xz |
main/xen: make sure /var/run/xen exists
- start xendomains after localmount so localmount does not mount over
our /var
- add checkpath to xendomains, just in case
ref #2837
Diffstat (limited to 'main/xen/xenstored.initd')
-rw-r--r-- | main/xen/xenstored.initd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/xen/xenstored.initd b/main/xen/xenstored.initd index 94237e35f1..cfb6957d4f 100644 --- a/main/xen/xenstored.initd +++ b/main/xen/xenstored.initd @@ -5,6 +5,7 @@ depend() { before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp + after localmount } wait_xenstored_up() { @@ -20,13 +21,13 @@ wait_xenstored_up() { } start() { + checkpath --directory --mode 755 /var/run/xen if xenstore-read -s / >/dev/null 2>&1; then ewarn "Xenstore can only be started once" return 0 fi local _traceopt= - checkpath --directory /var/run/xen ebegin "Starting xenstored daemon" if ! test -f /proc/xen/capabilities && \ |