public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-03-16 16:46 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-03-16 16:46 UTC (permalink / raw
  To: gentoo-commits

idella4     13/03/16 16:46:57

  Modified:             xenstored.initd
  Log:
  update depend() in xenstored.initd, fixes Bug #461632 by a.m
  
  (Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.3                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.2&r2=1.3

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xenstored.initd	5 Apr 2011 21:25:03 -0000	1.2
+++ xenstored.initd	16 Mar 2013 16:46:57 -0000	1.3
@@ -1,10 +1,9 @@
 #!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.2 2011/04/05 21:25:03 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.3 2013/03/16 16:46:57 idella4 Exp $
 
 depend() {
-	need net
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
 }
 





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-05-15  8:40 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-05-15  8:40 UTC (permalink / raw
  To: gentoo-commits

idella4     13/05/15 08:40:29

  Modified:             xenstored.initd
  Log:
  Fix to xenstored.initd wrt Bug #459082
  
  (Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.4                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.3&r2=1.4

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xenstored.initd	16 Mar 2013 16:46:57 -0000	1.3
+++ xenstored.initd	15 May 2013 08:40:29 -0000	1.4
@@ -1,13 +1,14 @@
 #!/sbin/runscript
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.3 2013/03/16 16:46:57 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.4 2013/05/15 08:40:29 idella4 Exp $
 
 depend() {
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
 }
 
 start() {
+	! [ -x /run/xen ] && mkdir -p /run/xen
 	ebegin "Starting xenstored daemon"
 	start-stop-daemon --start --exec /usr/sbin/xenstored \
 		--pidfile /var/run/xenstored.pid \





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-07-01  5:42 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-07-01  5:42 UTC (permalink / raw
  To: gentoo-commits

idella4     13/07/01 05:42:01

  Modified:             xenstored.initd
  Log:
  remove major slow-down in starting xenstored, put forward by 'a.m.' in Bug #475204
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.5                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.4&r2=1.5

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xenstored.initd	15 May 2013 08:40:29 -0000	1.4
+++ xenstored.initd	1 Jul 2013 05:42:01 -0000	1.5
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.4 2013/05/15 08:40:29 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.5 2013/07/01 05:42:01 idella4 Exp $
 
 depend() {
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
@@ -14,6 +14,11 @@
 		--pidfile /var/run/xenstored.pid \
 		-- --pid-file=/var/run/xenstored.pid \
 		$XENSTORED_OPTS
+	until xenstore-exists /
+	do
+		echo -n .
+		sleep .5
+	done
 	sleep 15
 	einfo "Setting domain0 name record"
 	/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-07-04  9:42 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-07-04  9:42 UTC (permalink / raw
  To: gentoo-commits

idella4     13/07/04 09:42:15

  Modified:             xenstored.initd
  Log:
  correction
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.6                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.5&r2=1.6

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xenstored.initd	1 Jul 2013 05:42:01 -0000	1.5
+++ xenstored.initd	4 Jul 2013 09:42:15 -0000	1.6
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.5 2013/07/01 05:42:01 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.6 2013/07/04 09:42:15 idella4 Exp $
 
 depend() {
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
@@ -19,7 +19,6 @@
 		echo -n .
 		sleep .5
 	done
-	sleep 15
 	einfo "Setting domain0 name record"
 	/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
 	eend $*





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-07-25 13:23 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-07-25 13:23 UTC (permalink / raw
  To: gentoo-commits

idella4     13/07/25 13:23:13

  Modified:             xenstored.initd
  Log:
  Edit to xenstored.initd wrt Bug #476572 & #475204
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.8                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.7&r2=1.8

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xenstored.initd	20 Jul 2013 17:17:36 -0000	1.7
+++ xenstored.initd	25 Jul 2013 13:23:13 -0000	1.8
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.7 2013/07/20 17:17:36 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.8 2013/07/25 13:23:13 idella4 Exp $
 
 depend() {
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
@@ -14,10 +14,10 @@
 		--pidfile /var/run/xenstored.pid \
 		-- --pid-file=/var/run/xenstored.pid \
 		$XENSTORED_OPTS
-	until xenstore-exists /
+	until xenstore-exists || ((15 < ++i)) \
 	do
 		echo -n .
-		sleep 5
+		sleep 1
 	done
 	einfo "Setting domain0 name record"
 	/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2013-07-25 15:09 Ian Delaney (idella4)
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Delaney (idella4) @ 2013-07-25 15:09 UTC (permalink / raw
  To: gentoo-commits

idella4     13/07/25 15:09:55

  Modified:             xenstored.initd
  Log:
  Correction to xenstored.initd fix, set app-emulation/qemu as an antagonist dep to IUSE qemu wrt Bug #478064 by uen
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.9                  app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.8&r2=1.9

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- xenstored.initd	25 Jul 2013 13:23:13 -0000	1.8
+++ xenstored.initd	25 Jul 2013 15:09:55 -0000	1.9
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.8 2013/07/25 13:23:13 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.9 2013/07/25 15:09:55 idella4 Exp $
 
 depend() {
 	before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp 
@@ -14,7 +14,7 @@
 		--pidfile /var/run/xenstored.pid \
 		-- --pid-file=/var/run/xenstored.pid \
 		$XENSTORED_OPTS
-	until xenstore-exists || ((15 < ++i)) \
+	until xenstore-exists \ || ((15 < ++i))
 	do
 		echo -n .
 		sleep 1





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2014-01-27  8:58 Yixun Lan (dlan)
  0 siblings, 0 replies; 9+ messages in thread
From: Yixun Lan (dlan) @ 2014-01-27  8:58 UTC (permalink / raw
  To: gentoo-commits

dlan        14/01/27 08:58:09

  Modified:             xenstored.initd
  Log:
  fix QA warning, create /var/run/,/var/lock dynamically
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)

Revision  Changes    Path
1.13                 app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.12&r2=1.13

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- xenstored.initd	7 Dec 2013 06:49:41 -0000	1.12
+++ xenstored.initd	27 Jan 2014 08:58:09 -0000	1.13
@@ -1,5 +1,5 @@
 #!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {
@@ -8,7 +8,11 @@
 }
 
 start() {
-	[ -x /run/xen ] || mkdir -p /run/xen
+	# create dir dynamically
+	for i in /var/lock/subsys /run/xen /run/xend/boot /run/xenstored; do
+		[ -x $i ] || mkdir -p $i
+	done
+
 	ebegin "Starting xenstored daemon"
 	start-stop-daemon --start --exec /usr/sbin/xenstored \
 		--pidfile /run/xenstored.pid \





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2014-01-28  8:25 Yixun Lan (dlan)
  0 siblings, 0 replies; 9+ messages in thread
From: Yixun Lan (dlan) @ 2014-01-28  8:25 UTC (permalink / raw
  To: gentoo-commits

dlan        14/01/28 08:25:49

  Modified:             xenstored.initd
  Log:
  fix local variable  collision, thanks Cyril Nahon
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)

Revision  Changes    Path
1.14                 app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.13&r2=1.14

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- xenstored.initd	27 Jan 2014 08:58:09 -0000	1.13
+++ xenstored.initd	28 Jan 2014 08:25:49 -0000	1.14
@@ -7,13 +7,17 @@
 	need xencommons
 }
 
-start() {
+xenstored_dir_check() {
 	# create dir dynamically
+	local i
 	for i in /var/lock/subsys /run/xen /run/xend/boot /run/xenstored; do
 		[ -x $i ] || mkdir -p $i
 	done
+}
 
+start() {
 	ebegin "Starting xenstored daemon"
+	xenstored_dir_check
 	start-stop-daemon --start --exec /usr/sbin/xenstored \
 		--pidfile /run/xenstored.pid \
 		-- --pid-file=/run/xenstored.pid \





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd
@ 2014-02-23 13:35 Yixun Lan (dlan)
  0 siblings, 0 replies; 9+ messages in thread
From: Yixun Lan (dlan) @ 2014-02-23 13:35 UTC (permalink / raw
  To: gentoo-commits

dlan        14/02/23 13:35:36

  Modified:             xenstored.initd
  Log:
  fix bug #502056, thanks KK <klaus.kreil at univie.ac.at>
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)

Revision  Changes    Path
1.15                 app-emulation/xen-tools/files/xenstored.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.14&r2=1.15

Index: xenstored.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xenstored.initd	28 Jan 2014 08:25:49 -0000	1.14
+++ xenstored.initd	23 Feb 2014 13:35:36 -0000	1.15
@@ -22,7 +22,7 @@
 		--pidfile /run/xenstored.pid \
 		-- --pid-file=/run/xenstored.pid \
 		$XENSTORED_OPTS
-	until xenstore-exists \ || ((15 < ++i))
+	until xenstore-exists / || ((15 < ++i))
 	do
 		echo -n .
 		sleep 1





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-23 13:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  8:40 [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xenstored.initd Ian Delaney (idella4)
  -- strict thread matches above, loose matches on Subject: below --
2014-02-23 13:35 Yixun Lan (dlan)
2014-01-28  8:25 Yixun Lan (dlan)
2014-01-27  8:58 Yixun Lan (dlan)
2013-07-25 15:09 Ian Delaney (idella4)
2013-07-25 13:23 Ian Delaney (idella4)
2013-07-04  9:42 Ian Delaney (idella4)
2013-07-01  5:42 Ian Delaney (idella4)
2013-03-16 16:46 Ian Delaney (idella4)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox