search for: start_xenstor

Displaying 2 results from an estimated 2 matches for "start_xenstor".

Did you mean: start_xenstored
2010 May 20
0
Bug#582363: xen-utils-3.4: blktapctrl not started by default
...k. This functionality has been removed in tools-misc-xend-startup.diff @@ -120,24 +86,14 @@ if not sys.argv[1:]: print 'usage: %s {start|stop|reload|restart}' % sys.argv[0] elif sys.argv[1] == 'start': - if os.uname()[0] != "SunOS": - start_xenstored() - start_consoled() - start_blktapctrl() return daemon.start() xenstored and consoled have been started in /etc/init.d/xend instead, but it appears blktapctrl has been forgotten. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (100...
2007 Nov 05
7
[PATCH] Recover from corrupt tdb on reboot
...@@ -23,6 +23,8 @@ On Solaris, the daemons are SMF managed, and you should not attempt to start xend by hand. """ +import fcntl +import glob import os import os.path import sys @@ -76,6 +78,23 @@ def check_user(): raise CheckError("invalid user") def start_xenstored(): + pidfname = "/var/run/xenstore.pid" + try: + f = open(pidfname, "a") + try: + fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB) + rootdir = os.getenv("XENSTORED_ROOTDIR") or "/var/lib/xenstored" + for i i...