Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenconsoled.initd xendomains.initd-r1
Date: Thu, 23 Jan 2014 03:38:41
Message-Id: 20140123033836.1A01B2004E@flycatcher.gentoo.org
1 dlan 14/01/23 03:38:36
2
3 Modified: xenconsoled.initd
4 Removed: xendomains.initd-r1
5 Log:
6 bug #498720, shutdown all domUs
7
8 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
9
10 Revision Changes Path
11 1.5 app-emulation/xen-tools/files/xenconsoled.initd
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd?r1=1.4&r2=1.5
16
17 Index: xenconsoled.initd
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- xenconsoled.initd 7 Dec 2013 06:49:41 -0000 1.4
24 +++ xenconsoled.initd 23 Jan 2014 03:38:35 -0000 1.5
25 @@ -1,10 +1,17 @@
26 #!/sbin/runscript
27 -# Copyright 1999-2013 Gentoo Foundation
28 +# Copyright 1999-2014 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd,v 1.4 2013/12/07 06:49:41 idella4 Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd,v 1.5 2014/01/23 03:38:35 dlan Exp $
32
33 depend() {
34 need xenstored
35 + after lvm
36 +}
37 +
38 +# bug #498720
39 +shutdown_all_domU() {
40 + # Note: shutdown all domU, including manually started ones
41 + xl shutdown -a -w >/dev/null
42 }
43
44 start() {
45 @@ -18,6 +25,7 @@
46
47 stop() {
48 ebegin "Stopping xenconsoled daemon"
49 + shutdown_all_domU
50 start-stop-daemon --stop --exec /usr/sbin/xenconsoled \
51 --pidfile /run/xenconsoled.pid
52 eend $*