~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[alpine-devel] [PATCH] xen: prevent xenstore from being restared

Roger Pau Monne <roger.pau@citrix.com>
Details
Message ID
<1353410884-33837-1-git-send-email-roger.pau@citrix.com>
Sender timestamp
1353410884
DKIM signature
missing
Download raw message
Patch: +7 -6
xenstore should not be restarted. If it is restarted watches are lost,
and several key components like kernel backend drivers will cease to
work.
---
 main/xen/APKBUILD        |    4 ++--
 main/xen/xenstored.initd |    9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD
index dc14f90..17bfdd0 100644
--- a/main/xen/APKBUILD
+++ b/main/xen/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xen
pkgver=4.2.0
pkgrel=4
pkgrel=5
pkgdesc="Xen hypervisor"
url="http://www.xen.org/"
arch="x86 x86_64"
@@ -143,7 +143,7 @@ fb7e76f00c2a4e63b408cb67df7d1a7b  xsa20.patch
9151e7c648b12f518826ad0f0a67da42  xsa23-4.2-unstable.patch
9bd8b30094f8eb2408846c1b6ed0cad6  xsa24.patch
9fc7097ed2e5e756c4ae91145c143433  xsa25-4.2.patch
09da578badbfc02d8018f422eb1242dd  xenstored.initd
95d8af17bf844d41a015ff32aae51ba1  xenstored.initd
b017ccdd5e1c27bbf1513e3569d4ff07  xenstored.confd
ed262f15fb880badb53575539468646c  xenconsoled.initd
ec2252c72050d7d5870a3a629b873ba6  xenconsoled.confd
diff --git a/main/xen/xenstored.initd b/main/xen/xenstored.initd
index 70ae214..537b64e 100644
--- a/main/xen/xenstored.initd
+++ b/main/xen/xenstored.initd
@@ -20,6 +20,10 @@ wait_xenstored_up() {
}

start() {
	if xenstore-read -s / >/dev/null 2>&1; then
		ewarn "Xenstore can only be started once"
		return 0
	fi
	local _traceopt=
	ebegin "Starting xenstored daemon"

@@ -51,9 +55,6 @@ start() {
}

stop() {
	ebegin "Stopping xenstored daemon"
	start-stop-daemon --stop --exec /usr/sbin/xenstored \
		--pidfile /var/run/xenstored.pid
	eend $?
	ewarn "Xenstore can not be stopped"
}

-- 
1.7.7.5 (Apple Git-26)



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20121121102734.04cf1581@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1353410884-33837-1-git-send-email-roger.pau@citrix.com> (view parent)
Sender timestamp
1353490054
DKIM signature
missing
Download raw message
On Tue, 20 Nov 2012 12:28:04 +0100
Roger Pau Monne <roger.pau@citrix.com> wrote:

> xenstore should not be restarted. If it is restarted watches are lost,
> and several key components like kernel backend drivers will cease to
> work.
> ---
>  main/xen/APKBUILD        |    4 ++--
>  main/xen/xenstored.initd |    9 +++++----
>  2 files changed, 7 insertions(+), 6 deletions(-)

Applied. Thanks!

We could sync the xen patches in edge to v2.5 now?

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Roger Pau Monné <roger.pau@citrix.com>
Details
Message ID
<50ACAEA3.1000205@citrix.com>
In-Reply-To
<20121121102734.04cf1581@ncopa-desktop.alpinelinux.org> (view parent)
Sender timestamp
1353494179
DKIM signature
missing
Download raw message
On 21/11/12 10:27, Natanael Copa wrote:
> On Tue, 20 Nov 2012 12:28:04 +0100
> Roger Pau Monne <roger.pau@citrix.com> wrote:
> 
>> xenstore should not be restarted. If it is restarted watches are lost,
>> and several key components like kernel backend drivers will cease to
>> work.
>> ---
>>  main/xen/APKBUILD        |    4 ++--
>>  main/xen/xenstored.initd |    9 +++++----
>>  2 files changed, 7 insertions(+), 6 deletions(-)
> 
> Applied. Thanks!
> 
> We could sync the xen patches in edge to v2.5 now?

Yes, the following commits should be backported:

1bba205542b00512cc50c8a4807b358f0b2697c5 xen: prevent qemu daemon from screwing the console
22809ecb412e53ecc84ef1213fcdfc3afa124909 xen: add a bunch of security fixes
9b20bafcd48738a6ddcf6e7f39744eb117b41e82 xen: fix misuse of einfo in xenstore.initd
df4538c72764998f2b643d1cfa5b4083bae7e582 xen: bump pkgrel
2e34c29e4382c24c2438fd1a9419a68ba5f39d46 xen: prevent xenstore from being restared

Thanks!




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)