* BitKeeper Bot <riel@xxxxxxxxxxx> [2005-04-16 10:29]:
> ChangeSet 1.1159.256.97, 2005/04/15 23:00:50+01:00, katzj@xxxxxxxxxx
>
> [PATCH] Make non-native python path handling a
<snip>
> --- a/tools/misc/xend 2005-04-15 19:02:35 -04:00
> +++ b/tools/misc/xend 2005-04-15 19:02:35 -04:00
> @@ -22,8 +22,8 @@
> import os
> import sys
>
> -# Default install path for Xen binary packages.
> -sys.path = [ '/usr/lib/python' ] + sys.path
> +# add fallback path for non-native python path installs if needed
> +sys.path.append('/usr/lib/python')
> from xen.xend.server import SrvDaemon
>
> class CheckError(ValueError):
This patch breaks xend in unstable for me. With the above patch
applied, xend fails to start and dumps the following in
/var/log/xend-debug.log:
xu_notifier_new()
error connecting to xcs(ctrl)! (111)
Traceback (most recent call last):
File "/usr/sbin/xend", line 180, in ?
sys.exit(main())
File "/usr/sbin/xend", line 162, in main
return daemon.start()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
524, in start
self.run()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
612, in run
self.listenNotifier()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
632, in listenNotifier
p.startListening()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
91, in startListening
self._connectToProtocol()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
109, in _connectToProtocol
self.startReading()
File "/usr/lib/python2.3/site-packages/twisted/internet/abstract.py", line
205, in startReading
self.reactor.addReader(self)
File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line
89, in addReader
self._updateRegistration(fd)
File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line
52, in _updateRegistration
poller.unregister(fd)
ValueError: file descriptor cannot be a negative integer (-1)
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|