diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-22 14:22:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-22 14:45:48 +0000 |
commit | a9d7e1f8072ae6fe5c6b414e16ff7978a0deb01f (patch) | |
tree | c6c0d6a7910b21d215d9a9778d11cf56fa1def2b | |
parent | 77bbf2dfed26887c4889918005325e396aa6f3c7 (diff) | |
download | alpine_aports-a9d7e1f8072ae6fe5c6b414e16ff7978a0deb01f.tar.bz2 alpine_aports-a9d7e1f8072ae6fe5c6b414e16ff7978a0deb01f.tar.xz alpine_aports-a9d7e1f8072ae6fe5c6b414e16ff7978a0deb01f.zip |
main/xen: use default screendir location
ref #1181
Otherwise screen -x will not work without manually setting screen dir
(cherry picked from commit 01f58adb24ce238a77eeac9569e708dbb121776d)
-rw-r--r-- | main/xen/APKBUILD | 6 | ||||
-rw-r--r-- | main/xen/xendomains.confd | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | main/xen/xendomains.initd | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 8b6f99802c..ea31d32000 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD | |||
@@ -3,7 +3,7 @@ | |||
3 | # Maintainer: William Pitcock <nenolod@dereferenced.org> | 3 | # Maintainer: William Pitcock <nenolod@dereferenced.org> |
4 | pkgname=xen | 4 | pkgname=xen |
5 | pkgver=4.1.2 | 5 | pkgver=4.1.2 |
6 | pkgrel=11 | 6 | pkgrel=12 |
7 | pkgdesc="Xen hypervisor" | 7 | pkgdesc="Xen hypervisor" |
8 | url="http://www.xen.org/" | 8 | url="http://www.xen.org/" |
9 | arch="x86 x86_64" | 9 | arch="x86 x86_64" |
@@ -137,6 +137,6 @@ ed262f15fb880badb53575539468646c xenconsoled.initd | |||
137 | ec2252c72050d7d5870a3a629b873ba6 xenconsoled.confd | 137 | ec2252c72050d7d5870a3a629b873ba6 xenconsoled.confd |
138 | 89c936ddf327a3a78eaee33835880517 xend.initd | 138 | 89c936ddf327a3a78eaee33835880517 xend.initd |
139 | 9261ad0f285836c1b0ea07f306e4586e xend.confd | 139 | 9261ad0f285836c1b0ea07f306e4586e xend.confd |
140 | 9cc0883d472987038fd464a7e28372e3 xendomains.initd | 140 | 35448ff063f8123ec4bba2e001f39c6c xendomains.initd |
141 | f3162b7c261bcaf49a67bd41d987df84 xendomains.confd | 141 | 9b20e056d475b50586cf9e1fc94e13c4 xendomains.confd |
142 | 9df68ac65dc3f372f5d61183abdc83ff xen-consoles.logrotate" | 142 | 9df68ac65dc3f372f5d61183abdc83ff xen-consoles.logrotate" |
diff --git a/main/xen/xendomains.confd b/main/xen/xendomains.confd index a180c13d85..ed87b816ff 100644 --- a/main/xen/xendomains.confd +++ b/main/xen/xendomains.confd | |||
@@ -23,3 +23,8 @@ SCREEN_NAME="xen" | |||
23 | # in the event of a crash. | 23 | # in the event of a crash. |
24 | 24 | ||
25 | SCREEN_LOG_INTERVAL="1" | 25 | SCREEN_LOG_INTERVAL="1" |
26 | |||
27 | # The location where screen stores the connection sockets | ||
28 | |||
29 | SCREENDIR=/tmp/screens/S-root | ||
30 | |||
diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd index c791e3e585..ce3c0c3b94 100755..100644 --- a/main/xen/xendomains.initd +++ b/main/xen/xendomains.initd | |||
@@ -29,7 +29,7 @@ using_screen() { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | set_screen_cmd() { | 31 | set_screen_cmd() { |
32 | export SCREENDIR=/var/run/xen-screens | 32 | export SCREENDIR=${SCREENDIR:-/tmp/screens/S-root} |
33 | checkpath --directory --mode 700 "$SCREENDIR" | 33 | checkpath --directory --mode 700 "$SCREENDIR" |
34 | screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X" | 34 | screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X" |
35 | } | 35 | } |