From: | "Ian Delaney (idella4)" <idella4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd |
Date: | Mon, 01 Jul 2013 05:42:07 |
Message-Id: | 20130701054201.999652171C@flycatcher.gentoo.org |
1 | idella4 13/07/01 05:42:01 |
2 | |
3 | Modified: xenstored.initd |
4 | Log: |
5 | remove major slow-down in starting xenstored, put forward by 'a.m.' in Bug #475204 |
6 | |
7 | (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 | |
9 | Revision Changes Path |
10 | 1.5 app-emulation/xen-tools/files/xenstored.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.4&r2=1.5 |
15 | |
16 | Index: xenstored.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- xenstored.initd 15 May 2013 08:40:29 -0000 1.4 |
23 | +++ xenstored.initd 1 Jul 2013 05:42:01 -0000 1.5 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | # Copyright 1999-2013 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.4 2013/05/15 08:40:29 idella4 Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.5 2013/07/01 05:42:01 idella4 Exp $ |
30 | |
31 | depend() { |
32 | before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp |
33 | @@ -14,6 +14,11 @@ |
34 | --pidfile /var/run/xenstored.pid \ |
35 | -- --pid-file=/var/run/xenstored.pid \ |
36 | $XENSTORED_OPTS |
37 | + until xenstore-exists / |
38 | + do |
39 | + echo -n . |
40 | + sleep .5 |
41 | + done |
42 | sleep 15 |
43 | einfo "Setting domain0 name record" |
44 | /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" |