FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 08-01-2008, 12:08 PM
Paul van der Vlis
 
Default Xen advice requested

Bastian Blank schreef:
> On Fri, Aug 01, 2008 at 11:05:16AM +0200, Paul van der Vlis wrote:
>> A 32-bit Etch dom0 is for me not OK, because it has not PAE so I cannot
>> use my 8 GB RAM in this way.
>
> Please explain? There is no non-PAE Xen kernel in Etch.

I have always heard that the 32-bit Xen in Debian is non-PAE, but maybe
this is wrong... Googling I found this article:
http://www.howtoforge.com/make-your-xen-pae-kernel-work-with-more-than-4gb-ram-debian-etch-grub

>> But... So far I know, a 64-bits Etch dom0 has no support for 32-bits
>> domU's...
>
> No, this is correct.

OK, important information for me. So I have to switch to a 32-bits dom0
to make it work with Lenny.

Are you sure a 64-bits Lenny with Etch kernel does also not support
32-bits domU's?

>> Did you you create this with only Debian packages?
>
> There exists other Debian packages like my new kernel packages with Xen
> 3.1 patch.

I like Debian packages because of the security-support.
What are the advantages of your package over the Debian packages?

With regards,
Paul van der Vlis.




--
http://www.vandervlis.nl/


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-01-2008, 06:03 PM
Teodor
 
Default Xen advice requested

On Fri, Aug 1, 2008 at 3:08 PM, Paul van der Vlis <paul@vandervlis.nl> wrote:
> Bastian Blank schreef:
>> On Fri, Aug 01, 2008 at 11:05:16AM +0200, Paul van der Vlis wrote:
>>> A 32-bit Etch dom0 is for me not OK, because it has not PAE so I cannot
>>> use my 8 GB RAM in this way.
>>
>> Please explain? There is no non-PAE Xen kernel in Etch.

True. This is why the 32-bit dom0 it only works with
xen-hypervisor-3.0.3-1-i386-pae (with xen-hypervisor-3.0.3-1-i386 will
panic at boot) and the package is simply useless.

>>> But... So far I know, a 64-bits Etch dom0 has no support for 32-bits
>>> domU's...
>>
>> No, this is correct.

I think the only reason to mix a 64-bit dom0 with a 32-bit domU is the
lack of a 64-bit domU in lenny. I hope I won't have to do that since I
have the option of using the -openvz flavour (and maybe -vserver but
these images seem to be disabled in 2.6.26).

Thanks


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-05-2008, 08:20 AM
Thomas Goirand
 
Default Xen advice requested

Paul van der Vlis wrote:
> Thomas Goirand schreef:
>> Hi,
>>
>> I DON'T want to hurt anybody here, so please, pkg-xen-devel team, do not
>> take what I'm writing here badly, you guys are doing a very hard work,
>> and I don't think I'd be able to manage it as good as you did.
>>
>> However, I really think that the Xen kernels from Debian are not so
>> usable in production
>
> Can you tell us more about the problems you have seen?
>
> With regards,
> Paul van der Vlis.

First problem: Etch packaged version 3.0.3. To me it's a pretty bad
choice, this version (in my experience) is not stable and causes problems.

Second thing (maybe the most important): the bindings of python for the
Xen API are not properly setup, it's set with a version number. If I'm
remembering well, its all about /usr/lib/python/xen that is under the
packaged version of Xen called something like
/usr/lib/python/xen-VERSION, with no symlink provided for that folder.

Then anything that wants to includes it FAILS to do so, and there is no
predictable way of knowing how to fix when you are a package using the
bindings. I give you a simple example in python, that intend to find the
name of the virtual interface the VPS is using, and that we are using in
our code:

sys.path.append( '/usr/lib/python' )
import xen.xm.main as xenxm
id = int(xenxm.sxp.child_value(info, 'id', '-1'))
networkDeviceName="vif%s" % id

As /usr/lib/python/xen doesn't exist, but instead there is a
/usr/lib/python/xen-VERSION, the import fails if using the Debian package...

Thomas


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-05-2008, 08:38 AM
Paul van der Vlis
 
Default Xen advice requested

Thomas Goirand schreef:
> Paul van der Vlis wrote:
>> Thomas Goirand schreef:
>>> Hi,
>>>
>>> I DON'T want to hurt anybody here, so please, pkg-xen-devel team, do not
>>> take what I'm writing here badly, you guys are doing a very hard work,
>>> and I don't think I'd be able to manage it as good as you did.
>>>
>>> However, I really think that the Xen kernels from Debian are not so
>>> usable in production
>> Can you tell us more about the problems you have seen?
>>
>> With regards,
>> Paul van der Vlis.
>
> First problem: Etch packaged version 3.0.3. To me it's a pretty bad
> choice, this version (in my experience) is not stable and causes problems.

I have a 3.0.3 64-bit test-setup for a few month with not much load and
a filesystem on LVM. I did not see any problems.

> Second thing (maybe the most important): the bindings of python for the
> Xen API are not properly setup, it's set with a version number. If I'm
> remembering well, its all about /usr/lib/python/xen that is under the
> packaged version of Xen called something like
> /usr/lib/python/xen-VERSION, with no symlink provided for that folder.
>
> Then anything that wants to includes it FAILS to do so, and there is no
> predictable way of knowing how to fix when you are a package using the
> bindings. I give you a simple example in python, that intend to find the
> name of the virtual interface the VPS is using, and that we are using in
> our code:
>
> sys.path.append( '/usr/lib/python' )
> import xen.xm.main as xenxm
> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
> networkDeviceName="vif%s" % id
>
> As /usr/lib/python/xen doesn't exist, but instead there is a
> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...

For me it worked out of the box. Maybe the problems were corrected
later? I use tools like xen-create-image and xm without problems.

BTW: I had problems with the 64bit xen-vserver kernel package, but not
with the xen-only kernel package.

With regards,
Paul van der Vlis.




--
http://www.vandervlis.nl/


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-05-2008, 04:28 PM
Thomas Goirand
 
Default Xen advice requested

Paul van der Vlis wrote:
>> sys.path.append( '/usr/lib/python' )
>> import xen.xm.main as xenxm
>> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
>> networkDeviceName="vif%s" % id
>>
>> As /usr/lib/python/xen doesn't exist, but instead there is a
>> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...
>
> For me it worked out of the box. Maybe the problems were corrected
> later? I use tools like xen-create-image and xm without problems.

Can you do "ls -lah /usr/lib/python" in your setup, and show me the
result? Talking about the fact that "xm" and "xen-create-image" are
working is irrelevance in this case.

Thomas


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-05-2008, 05:04 PM
Paul van der Vlis
 
Default Xen advice requested

Thomas Goirand schreef:
> Paul van der Vlis wrote:
>>> sys.path.append( '/usr/lib/python' )
>>> import xen.xm.main as xenxm
>>> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
>>> networkDeviceName="vif%s" % id
>>>
>>> As /usr/lib/python/xen doesn't exist, but instead there is a
>>> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...
>> For me it worked out of the box. Maybe the problems were corrected
>> later? I use tools like xen-create-image and xm without problems.
>
> Can you do "ls -lah /usr/lib/python" in your setup, and show me the
> result?

xen:~# ls -lah /usr/lib/python
ls: /usr/lib/python: No such file or directory
xen:~# ls -ld /usr/lib/python*
drwxr-xr-x 3 root root 80 2008-03-29 18:42 /usr/lib/python2.3
drwxr-xr-x 19 root root 12072 2008-04-29 17:05 /usr/lib/python2.4
drwxr-xr-x 3 root root 80 2008-03-29 18:47 /usr/lib/python2.5
drwxr-xr-x 5 root root 136 2008-03-29 18:47 /usr/lib/python-support
xen:~# ls -lah /usr/lib/python2.4
totaal 6,2M
drwxr-xr-x 19 root root 12K 2008-04-29 17:05 .
drwxr-xr-x 38 root root 6,7K 2008-07-22 16:15 ..
-rw-r--r-- 1 root root 33K 2008-04-16 19:59 aifc.py
-rw-r--r-- 1 root root 28K 2008-04-29 17:05 aifc.pyc
-rw-r--r-- 1 root root 2,6K 2008-04-16 19:59 anydbm.py
-rw-r--r-- 1 root root 2,7K 2008-04-29 17:05 anydbm.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 asynchat.py
-rw-r--r-- 1 root root 7,4K 2008-04-29 17:05 asynchat.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 asyncore.py
-rw-r--r-- 1 root root 16K 2008-04-29 17:05 asyncore.pyc
-rw-r--r-- 1 root root 1,6K 2008-04-16 19:59 atexit.py
-rw-r--r-- 1 root root 2,1K 2008-04-29 17:05 atexit.pyc
-rw-r--r-- 1 root root 7,4K 2008-04-16 19:59 audiodev.py
-rw-r--r-- 1 root root 7,5K 2008-04-29 17:05 audiodev.pyc
-rwxr-xr-x 1 root root 12K 2008-04-16 19:59 base64.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 base64.pyc
-rw-r--r-- 1 root root 21K 2008-04-16 19:59 BaseHTTPServer.py
-rw-r--r-- 1 root root 21K 2008-04-29 17:05 BaseHTTPServer.pyc
-rw-r--r-- 1 root root 5,5K 2008-04-16 19:59 Bastion.py
-rw-r--r-- 1 root root 6,1K 2008-04-29 17:05 Bastion.pyc
-rw-r--r-- 1 root root 20K 2008-04-16 19:59 bdb.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 bdb.pyc
-rw-r--r-- 1 root root 15K 2008-04-16 19:59 binhex.py
-rw-r--r-- 1 root root 15K 2008-04-29 17:05 binhex.pyc
-rw-r--r-- 1 root root 2,4K 2008-04-16 19:59 bisect.py
-rw-r--r-- 1 root root 2,9K 2008-04-29 17:05 bisect.pyc
drwxr-xr-x 2 root root 472 2008-04-29 17:05 bsddb
-rw-r--r-- 1 root root 7,6K 2008-04-16 19:59 calendar.py
-rw-r--r-- 1 root root 8,9K 2008-04-29 17:05 calendar.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 CGIHTTPServer.py
-rw-r--r-- 1 root root 9,7K 2008-04-29 17:05 CGIHTTPServer.pyc
-rwxr-xr-x 1 root root 34K 2008-04-16 19:59 cgi.py
-rw-r--r-- 1 root root 32K 2008-04-29 17:05 cgi.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 cgitb.py
-rw-r--r-- 1 root root 13K 2008-04-29 17:05 cgitb.pyc
-rw-r--r-- 1 root root 5,3K 2008-04-16 19:59 chunk.py
-rw-r--r-- 1 root root 5,3K 2008-04-29 17:05 chunk.pyc
-rw-r--r-- 1 root root 15K 2008-04-16 19:59 cmd.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 cmd.pyc
-rw-r--r-- 1 root root 26K 2008-04-16 19:59 codecs.py
-rw-r--r-- 1 root root 25K 2008-04-29 17:05 codecs.pyc
-rw-r--r-- 1 root root 6,1K 2008-04-16 19:59 codeop.py
-rw-r--r-- 1 root root 6,6K 2008-04-29 17:05 codeop.pyc
-rw-r--r-- 1 root root 9,8K 2008-04-16 19:59 code.py
-rw-r--r-- 1 root root 10K 2008-04-29 17:05 code.pyc
-rw-r--r-- 1 root root 3,2K 2008-04-16 19:59 colorsys.py
-rw-r--r-- 1 root root 4,0K 2008-04-29 17:05 colorsys.pyc
-rw-r--r-- 1 root root 2,3K 2008-04-16 19:59 commands.py
-rw-r--r-- 1 root root 2,1K 2008-04-29 17:05 commands.pyc
-rw-r--r-- 1 root root 5,2K 2008-04-16 19:59 compileall.py
-rw-r--r-- 1 root root 5,0K 2008-04-29 17:05 compileall.pyc
drwxr-xr-x 2 root root 720 2008-04-29 17:05 compiler
drwxr-xr-x 2 root root 72 2008-04-29 17:05 config
-rw-r--r-- 1 root root 23K 2008-04-16 19:59 ConfigParser.py
-rw-r--r-- 1 root root 21K 2008-04-29 17:05 ConfigParser.pyc
-rw-r--r-- 1 root root 62K 2008-04-16 19:59 cookielib.py
-rw-r--r-- 1 root root 53K 2008-04-29 17:05 cookielib.pyc
-rwxr-xr-x 1 root root 25K 2008-04-16 19:59 Cookie.py
-rw-r--r-- 1 root root 22K 2008-04-29 17:05 Cookie.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 copy.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 copy.pyc
-rw-r--r-- 1 root root 6,6K 2008-04-16 19:59 copy_reg.py
-rw-r--r-- 1 root root 5,0K 2008-04-29 17:05 copy_reg.pyc
-rw-r--r-- 1 root root 16K 2008-04-16 19:59 csv.py
-rw-r--r-- 1 root root 13K 2008-04-29 17:05 csv.pyc
drwxr-xr-x 2 root root 416 2008-04-29 17:05 curses
-rw-r--r-- 1 root root 404 2008-04-16 19:59 dbhash.py
-rw-r--r-- 1 root root 563 2008-04-29 17:05 dbhash.pyc
-rw-r--r-- 1 root root 103K 2008-04-16 19:59 decimal.py
-rw-r--r-- 1 root root 85K 2008-04-29 17:05 decimal.pyc
-rwxr-xr-x 1 root root 78K 2008-04-16 19:59 difflib.py
-rw-r--r-- 1 root root 60K 2008-04-29 17:05 difflib.pyc
-rw-r--r-- 1 root root 1006 2008-04-16 19:59 dircache.py
-rw-r--r-- 1 root root 1,4K 2008-04-29 17:05 dircache.pyc
-rw-r--r-- 1 root root 6,4K 2008-04-16 19:59 dis.py
-rw-r--r-- 1 root root 6,3K 2008-04-29 17:05 dis.pyc
drwxr-xr-x 4 root root 1,7K 2008-04-29 17:05 distutils
-rw-r--r-- 1 root root 98K 2008-04-16 19:59 doctest.py
-rw-r--r-- 1 root root 78K 2008-04-29 17:05 doctest.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 DocXMLRPCServer.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 DocXMLRPCServer.pyc
-rw-r--r-- 1 root root 8,3K 2008-04-16 19:59 dumbdbm.py
-rw-r--r-- 1 root root 5,8K 2008-04-29 17:05 dumbdbm.pyc
-rw-r--r-- 1 root root 2,9K 2008-04-16 19:59 dummy_threading.py
-rw-r--r-- 1 root root 1,4K 2008-04-29 17:05 dummy_threading.pyc
-rw-r--r-- 1 root root 4,2K 2008-04-16 19:59 dummy_thread.py
-rw-r--r-- 1 root root 4,6K 2008-04-29 17:05 dummy_thread.pyc
drwxr-xr-x 2 root root 1,4K 2008-04-29 17:05 email
drwxr-xr-x 2 root root 6,7K 2008-04-29 17:05 encodings
-rw-r--r-- 1 root root 9,7K 2008-04-16 19:59 filecmp.py
-rw-r--r-- 1 root root 9,6K 2008-04-29 17:05 filecmp.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 fileinput.py
-rw-r--r-- 1 root root 13K 2008-04-29 17:05 fileinput.pyc
-rw-r--r-- 1 root root 3,0K 2008-04-16 19:59 fnmatch.py
-rw-r--r-- 1 root root 3,2K 2008-04-29 17:05 fnmatch.pyc
-rw-r--r-- 1 root root 15K 2008-04-16 19:59 formatter.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 formatter.pyc
-rw-r--r-- 1 root root 4,5K 2008-04-16 19:59 fpformat.py
-rw-r--r-- 1 root root 4,5K 2008-04-29 17:05 fpformat.pyc
-rw-r--r-- 1 root root 27K 2008-04-16 19:59 ftplib.py
-rw-r--r-- 1 root root 26K 2008-04-29 17:05 ftplib.pyc
-rw-r--r-- 1 root root 3,4K 2008-04-16 19:59 __future__.py
-rw-r--r-- 1 root root 3,4K 2008-04-29 17:05 __future__.pyc
-rw-r--r-- 1 root root 7,2K 2008-04-16 19:59 getopt.py
-rw-r--r-- 1 root root 6,6K 2008-04-29 17:05 getopt.pyc
-rw-r--r-- 1 root root 3,1K 2008-04-16 19:59 getpass.py
-rw-r--r-- 1 root root 3,1K 2008-04-29 17:05 getpass.pyc
-rw-r--r-- 1 root root 19K 2008-04-16 19:59 gettext.py
-rw-r--r-- 1 root root 15K 2008-04-29 17:05 gettext.pyc
-rw-r--r-- 1 root root 1,5K 2008-04-16 19:59 glob.py
-rw-r--r-- 1 root root 1,8K 2008-04-29 17:05 glob.pyc
-rw-r--r-- 1 root root 5,5K 2008-04-16 19:59 gopherlib.py
-rw-r--r-- 1 root root 6,0K 2008-04-29 17:05 gopherlib.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 gzip.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 gzip.pyc
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 heapq.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 heapq.pyc
-rw-r--r-- 1 root root 3,3K 2008-04-16 19:59 hmac.py
-rw-r--r-- 1 root root 3,6K 2008-04-29 17:05 hmac.pyc
drwxr-xr-x 2 root root 280 2008-04-29 17:05 hotshot
-rw-r--r-- 1 root root 18K 2008-04-16 19:59 htmlentitydefs.py
-rw-r--r-- 1 root root 6,3K 2008-04-29 17:05 htmlentitydefs.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 htmllib.py
-rw-r--r-- 1 root root 18K 2008-04-29 17:05 htmllib.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 HTMLParser.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 HTMLParser.pyc
-rw-r--r-- 1 root root 45K 2008-04-16 19:59 httplib.py
-rw-r--r-- 1 root root 36K 2008-04-29 17:05 httplib.pyc
drwxr-xr-x 3 root root 4,1K 2008-04-29 17:05 idlelib
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 ihooks.py
-rw-r--r-- 1 root root 20K 2008-04-29 17:05 ihooks.pyc
-rw-r--r-- 1 root root 45K 2008-04-16 19:59 imaplib.py
-rw-r--r-- 1 root root 42K 2008-04-29 17:05 imaplib.pyc
-rw-r--r-- 1 root root 3,4K 2008-04-16 19:59 imghdr.py
-rw-r--r-- 1 root root 4,4K 2008-04-29 17:05 imghdr.pyc
-rw-r--r-- 1 root root 26K 2008-04-16 19:59 imputil.py
-rw-r--r-- 1 root root 15K 2008-04-29 17:05 imputil.pyc
-rw-r--r-- 1 root root 32K 2008-04-16 19:59 inspect.py
-rw-r--r-- 1 root root 32K 2008-04-29 17:05 inspect.pyc
-rwxr-xr-x 1 root root 2,0K 2008-04-16 19:59 keyword.py
-rw-r--r-- 1 root root 2,1K 2008-04-29 17:05 keyword.pyc
drwxr-xr-x 2 root root 1,7K 2008-04-29 17:05 lib-dynload
drwxr-xr-x 2 root root 1,2K 2008-04-29 17:05 lib-old
drwxr-xr-x 2 root root 1,2K 2008-04-29 17:05 lib-tk
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 LICENSE.txt
-rw-r--r-- 1 root root 2,9K 2008-04-16 19:59 linecache.py
-rw-r--r-- 1 root root 2,6K 2008-04-29 17:05 linecache.pyc
-rw-r--r-- 1 root root 70K 2008-04-16 19:59 locale.py
-rw-r--r-- 1 root root 41K 2008-04-29 17:05 locale.pyc
drwxr-xr-x 2 root root 240 2008-04-29 17:05 logging
-rw-r--r-- 1 root root 6,3K 2008-04-16 19:59 _LWPCookieJar.py
-rw-r--r-- 1 root root 5,6K 2008-04-29 17:05 _LWPCookieJar.pyc
-rw-r--r-- 1 root root 7,5K 2008-04-16 19:59 macpath.py
-rw-r--r-- 1 root root 9,3K 2008-04-29 17:05 macpath.pyc
-rw-r--r-- 1 root root 3,2K 2008-04-16 19:59 macurl2path.py
-rw-r--r-- 1 root root 2,7K 2008-04-29 17:05 macurl2path.pyc
-rwxr-xr-x 1 root root 9,2K 2008-04-16 19:59 mailbox.py
-rw-r--r-- 1 root root 9,1K 2008-04-29 17:05 mailbox.pyc
-rw-r--r-- 1 root root 7,3K 2008-04-16 19:59 mailcap.py
-rw-r--r-- 1 root root 7,1K 2008-04-29 17:05 mailcap.pyc
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 markupbase.py
-rw-r--r-- 1 root root 9,2K 2008-04-29 17:05 markupbase.pyc
-rw-r--r-- 1 root root 33K 2008-04-16 19:59 mhlib.py
-rw-r--r-- 1 root root 33K 2008-04-29 17:05 mhlib.pyc
-rw-r--r-- 1 root root 6,7K 2008-04-16 19:59 mimetools.py
-rw-r--r-- 1 root root 7,4K 2008-04-29 17:05 mimetools.pyc
-rw-r--r-- 1 root root 18K 2008-04-16 19:59 mimetypes.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 mimetypes.pyc
-rw-r--r-- 1 root root 6,2K 2008-04-16 19:59 MimeWriter.py
-rw-r--r-- 1 root root 6,9K 2008-04-29 17:05 MimeWriter.pyc
-rwxr-xr-x 1 root root 15K 2008-04-16 19:59 mimify.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 mimify.pyc
-rw-r--r-- 1 root root 21K 2008-04-16 19:59 modulefinder.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 modulefinder.pyc
-rw-r--r-- 1 root root 5,7K 2008-04-16 19:59 _MozillaCookieJar.py
-rw-r--r-- 1 root root 4,5K 2008-04-29 17:05 _MozillaCookieJar.pyc
-rw-r--r-- 1 root root 4,6K 2008-04-16 19:59 multifile.py
-rw-r--r-- 1 root root 4,9K 2008-04-29 17:05 multifile.pyc
-rw-r--r-- 1 root root 1,8K 2008-04-16 19:59 mutex.py
-rw-r--r-- 1 root root 2,2K 2008-04-29 17:05 mutex.pyc
-rw-r--r-- 1 root root 4,1K 2008-04-16 19:59 netrc.py
-rw-r--r-- 1 root root 3,5K 2008-04-29 17:05 netrc.pyc
-rw-r--r-- 1 root root 541 2008-04-16 19:59 new.py
-rw-r--r-- 1 root root 766 2008-04-29 17:05 new.pyc
-rw-r--r-- 1 root root 21K 2008-04-16 19:59 nntplib.py
-rw-r--r-- 1 root root 21K 2008-04-29 17:05 nntplib.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 ntpath.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 ntpath.pyc
-rw-r--r-- 1 root root 2,2K 2008-04-16 19:59 nturl2path.py
-rw-r--r-- 1 root root 1,8K 2008-04-29 17:05 nturl2path.pyc
-rw-r--r-- 1 root root 5,1K 2008-04-16 19:59 opcode.py
-rw-r--r-- 1 root root 5,7K 2008-04-29 17:05 opcode.pyc
-rw-r--r-- 1 root root 56K 2008-04-16 19:59 optparse.py
-rw-r--r-- 1 root root 47K 2008-04-29 17:05 optparse.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 os2emxpath.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 os2emxpath.pyc
-rw-r--r-- 1 root root 24K 2008-04-16 19:59 os.py
-rw-r--r-- 1 root root 24K 2008-04-29 17:05 os.pyc
-rw-r--r-- 1 root root 7,4K 2008-04-16 19:59 pdb.doc
-rwxr-xr-x 1 root root 35K 2008-04-16 19:59 pdb.py
-rw-r--r-- 1 root root 34K 2008-04-29 17:05 pdb.pyc
-rw-r--r-- 1 root root 64 2008-04-16 19:59 __phello__.foo.py
-rw-r--r-- 1 root root 97 2008-04-29 17:05 __phello__.foo.pyc
-rw-r--r-- 1 root root 45K 2008-04-16 19:59 pickle.py
-rw-r--r-- 1 root root 38K 2008-04-29 17:05 pickle.pyc
-rw-r--r-- 1 root root 72K 2008-04-16 19:59 pickletools.py
-rw-r--r-- 1 root root 55K 2008-04-29 17:05 pickletools.pyc
-rw-r--r-- 1 root root 9,8K 2008-04-16 19:59 pipes.py
-rw-r--r-- 1 root root 9,6K 2008-04-29 17:05 pipes.pyc
-rw-r--r-- 1 root root 3,1K 2008-04-16 19:59 pkgutil.py
-rw-r--r-- 1 root root 2,7K 2008-04-29 17:05 pkgutil.pyc
-rwxr-xr-x 1 root root 40K 2008-04-16 19:59 platform.py
-rw-r--r-- 1 root root 30K 2008-04-29 17:05 platform.pyc
drwxr-xr-x 2 root root 288 2008-04-29 17:05 plat-linux2
-rw-r--r-- 1 root root 8,5K 2008-04-16 19:59 popen2.py
-rw-r--r-- 1 root root 9,2K 2008-04-29 17:05 popen2.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 poplib.py
-rw-r--r-- 1 root root 13K 2008-04-29 17:05 poplib.pyc
-rw-r--r-- 1 root root 7,8K 2008-04-16 19:59 posixfile.py
-rw-r--r-- 1 root root 7,3K 2008-04-29 17:05 posixfile.pyc
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 posixpath.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 posixpath.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 pprint.py
-rw-r--r-- 1 root root 9,4K 2008-04-29 17:05 pprint.pyc
-rw-r--r-- 1 root root 4,6K 2008-04-16 19:59 pty.py
-rw-r--r-- 1 root root 4,8K 2008-04-29 17:05 pty.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 pyclbr.py
-rw-r--r-- 1 root root 9,6K 2008-04-29 17:05 pyclbr.pyc
-rw-r--r-- 1 root root 5,4K 2008-04-16 19:59 py_compile.py
-rw-r--r-- 1 root root 6,3K 2008-04-29 17:05 py_compile.pyc
-rwxr-xr-x 1 root root 90K 2008-04-16 19:59 pydoc.py
-rw-r--r-- 1 root root 85K 2008-04-29 17:05 pydoc.pyc
-rw-r--r-- 1 root root 5,8K 2008-04-16 19:59 Queue.py
-rw-r--r-- 1 root root 5,8K 2008-04-29 17:05 Queue.pyc
-rwxr-xr-x 1 root root 6,9K 2008-04-16 19:59 quopri.py
-rw-r--r-- 1 root root 6,6K 2008-04-29 17:05 quopri.pyc
-rw-r--r-- 1 root root 30K 2008-04-16 19:59 random.py
-rw-r--r-- 1 root root 24K 2008-04-29 17:05 random.pyc
-rwxr-xr-x 1 root root 5,3K 2008-04-16 19:59 reconvert.py
-rw-r--r-- 1 root root 5,7K 2008-04-29 17:05 reconvert.pyc
-rw-r--r-- 1 root root 1,9K 2008-04-16 19:59 regex_syntax.py
-rw-r--r-- 1 root root 855 2008-04-29 17:05 regex_syntax.pyc
-rw-r--r-- 1 root root 6,1K 2008-04-16 19:59 regsub.py
-rw-r--r-- 1 root root 4,7K 2008-04-29 17:05 regsub.pyc
-rw-r--r-- 1 root root 3,9K 2008-04-16 19:59 repr.py
-rw-r--r-- 1 root root 5,0K 2008-04-29 17:05 repr.pyc
-rw-r--r-- 1 root root 180 2008-04-16 19:59 re.py
-rw-r--r-- 1 root root 279 2008-04-29 17:05 re.pyc
-rw-r--r-- 1 root root 20K 2008-04-16 19:59 rexec.py
-rw-r--r-- 1 root root 23K 2008-04-29 17:05 rexec.pyc
-rw-r--r-- 1 root root 33K 2008-04-16 19:59 rfc822.py
-rw-r--r-- 1 root root 31K 2008-04-29 17:05 rfc822.pyc
-rw-r--r-- 1 root root 5,2K 2008-04-16 19:59 rlcompleter.py
-rw-r--r-- 1 root root 5,3K 2008-04-29 17:05 rlcompleter.pyc
-rw-r--r-- 1 root root 9,8K 2008-04-16 19:59 robotparser.py
-rw-r--r-- 1 root root 9,2K 2008-04-29 17:05 robotparser.pyc
-rw-r--r-- 1 root root 4,0K 2008-04-16 19:59 sched.py
-rw-r--r-- 1 root root 4,2K 2008-04-29 17:05 sched.pyc
-rw-r--r-- 1 root root 20K 2008-04-16 19:59 sets.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 sets.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 sgmllib.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 sgmllib.pyc
-rw-r--r-- 1 root root 8,0K 2008-04-16 19:59 shelve.py
-rw-r--r-- 1 root root 9,5K 2008-04-29 17:05 shelve.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 shlex.py
-rw-r--r-- 1 root root 7,4K 2008-04-29 17:05 shlex.pyc
-rw-r--r-- 1 root root 5,7K 2008-04-16 19:59 shutil.py
-rw-r--r-- 1 root root 6,7K 2008-04-29 17:05 shutil.pyc
-rw-r--r-- 1 root root 6,7K 2008-04-16 19:59 SimpleHTTPServer.py
-rw-r--r-- 1 root root 6,9K 2008-04-29 17:05 SimpleHTTPServer.pyc
-rw-r--r-- 1 root root 19K 2008-04-16 19:59 SimpleXMLRPCServer.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 SimpleXMLRPCServer.pyc
drwxr-xr-x 2 root root 264 2008-04-29 17:05 site-packages
lrwxrwxrwx 1 root root 22 2008-04-29 17:05 site.py ->
/etc/python2.4/site.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 site.pyc
-rwxr-xr-x 1 root root 18K 2008-04-16 19:59 smtpd.py
-rw-r--r-- 1 root root 16K 2008-04-29 17:05 smtpd.pyc
-rwxr-xr-x 1 root root 27K 2008-04-16 19:59 smtplib.py
-rw-r--r-- 1 root root 25K 2008-04-29 17:05 smtplib.pyc
-rw-r--r-- 1 root root 5,9K 2008-04-16 19:59 sndhdr.py
-rw-r--r-- 1 root root 7,1K 2008-04-29 17:05 sndhdr.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 socket.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 socket.pyc
-rw-r--r-- 1 root root 18K 2008-04-16 19:59 SocketServer.py
-rw-r--r-- 1 root root 19K 2008-04-29 17:05 SocketServer.pyc
-rw-r--r-- 1 root root 16K 2008-04-16 19:59 sre_compile.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 sre_compile.pyc
-rw-r--r-- 1 root root 7,0K 2008-04-16 19:59 sre_constants.py
-rw-r--r-- 1 root root 6,3K 2008-04-29 17:05 sre_constants.pyc
-rw-r--r-- 1 root root 27K 2008-04-16 19:59 sre_parse.py
-rw-r--r-- 1 root root 19K 2008-04-29 17:05 sre_parse.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 sre.py
-rw-r--r-- 1 root root 13K 2008-04-29 17:05 sre.pyc
-rw-r--r-- 1 root root 2,5K 2008-04-16 19:59 statcache.py
-rw-r--r-- 1 root root 2,5K 2008-04-29 17:05 statcache.pyc
-rw-r--r-- 1 root root 1,7K 2008-04-16 19:59 stat.py
-rw-r--r-- 1 root root 2,4K 2008-04-29 17:05 stat.pyc
-rw-r--r-- 1 root root 779 2008-04-16 19:59 statvfs.py
-rw-r--r-- 1 root root 491 2008-04-29 17:05 statvfs.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 StringIO.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 StringIO.pyc
-rw-r--r-- 1 root root 13K 2008-04-16 19:59 stringold.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 stringold.pyc
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 stringprep.py
-rw-r--r-- 1 root root 15K 2008-04-29 17:05 stringprep.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 string.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 string.pyc
-rw-r--r-- 1 root root 19K 2008-04-16 19:59 _strptime.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 _strptime.pyc
-rw-r--r-- 1 root root 39K 2008-04-16 19:59 subprocess.py
-rw-r--r-- 1 root root 28K 2008-04-29 17:05 subprocess.pyc
-rw-r--r-- 1 root root 1,3K 2008-04-16 19:59 sunaudio.py
-rw-r--r-- 1 root root 1,8K 2008-04-29 17:05 sunaudio.pyc
-rw-r--r-- 1 root root 17K 2008-04-16 19:59 sunau.py
-rw-r--r-- 1 root root 17K 2008-04-29 17:05 sunau.pyc
-rwxr-xr-x 1 root root 1,9K 2008-04-16 19:59 symbol.py
-rw-r--r-- 1 root root 3,2K 2008-04-29 17:05 symbol.pyc
-rw-r--r-- 1 root root 7,5K 2008-04-16 19:59 symtable.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 symtable.pyc
-rwxr-xr-x 1 root root 11K 2008-04-16 19:59 tabnanny.py
-rw-r--r-- 1 root root 7,9K 2008-04-29 17:05 tabnanny.pyc
-rwxr-xr-x 1 root root 67K 2008-04-16 19:59 tarfile.py
-rw-r--r-- 1 root root 53K 2008-04-29 17:05 tarfile.pyc
-rw-r--r-- 1 root root 22K 2008-04-16 19:59 telnetlib.py
-rw-r--r-- 1 root root 20K 2008-04-29 17:05 telnetlib.pyc
-rw-r--r-- 1 root root 15K 2008-04-16 19:59 tempfile.py
-rw-r--r-- 1 root root 14K 2008-04-29 17:05 tempfile.pyc
drwxr-xr-x 2 root root 328 2008-04-29 17:05 test
-rw-r--r-- 1 root root 14K 2008-04-16 19:59 textwrap.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 textwrap.pyc
-rw-r--r-- 1 root root 1002 2008-04-16 19:59 this.py
-rw-r--r-- 1 root root 1,3K 2008-04-29 17:05 this.pyc
-rw-r--r-- 1 root root 6,8K 2008-04-16 19:59 _threading_local.py
-rw-r--r-- 1 root root 6,1K 2008-04-29 17:05 _threading_local.pyc
-rw-r--r-- 1 root root 25K 2008-04-16 19:59 threading.py
-rw-r--r-- 1 root root 23K 2008-04-29 17:05 threading.pyc
-rwxr-xr-x 1 root root 11K 2008-04-16 19:59 timeit.py
-rw-r--r-- 1 root root 10K 2008-04-29 17:05 timeit.pyc
-rw-r--r-- 1 root root 3,0K 2008-04-16 19:59 toaiff.py
-rw-r--r-- 1 root root 2,9K 2008-04-29 17:05 toaiff.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 tokenize.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 tokenize.pyc
-rwxr-xr-x 1 root root 2,9K 2008-04-16 19:59 token.py
-rw-r--r-- 1 root root 4,0K 2008-04-29 17:05 token.pyc
-rw-r--r-- 1 root root 11K 2008-04-16 19:59 traceback.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 traceback.pyc
-rwxr-xr-x 1 root root 29K 2008-04-16 19:59 trace.py
-rw-r--r-- 1 root root 22K 2008-04-29 17:05 trace.pyc
-rw-r--r-- 1 root root 879 2008-04-16 19:59 tty.py
-rw-r--r-- 1 root root 1,3K 2008-04-29 17:05 tty.pyc
-rw-r--r-- 1 root root 2,2K 2008-04-16 19:59 types.py
-rw-r--r-- 1 root root 2,5K 2008-04-29 17:05 types.pyc
-rw-r--r-- 1 root root 3,5K 2008-04-16 19:59 tzparse.py
-rw-r--r-- 1 root root 4,3K 2008-04-29 17:05 tzparse.pyc
-rwxr-xr-x 1 root root 29K 2008-04-16 19:59 unittest.py
-rw-r--r-- 1 root root 30K 2008-04-29 17:05 unittest.pyc
-rw-r--r-- 1 root root 43K 2008-04-16 19:59 urllib2.py
-rw-r--r-- 1 root root 41K 2008-04-29 17:05 urllib2.pyc
-rw-r--r-- 1 root root 50K 2008-04-16 19:59 urllib.py
-rw-r--r-- 1 root root 44K 2008-04-29 17:05 urllib.pyc
-rw-r--r-- 1 root root 9,2K 2008-04-16 19:59 urlparse.py
-rw-r--r-- 1 root root 8,5K 2008-04-29 17:05 urlparse.pyc
-rw-r--r-- 1 root root 5,5K 2008-04-16 19:59 UserDict.py
-rw-r--r-- 1 root root 7,6K 2008-04-29 17:05 UserDict.pyc
-rw-r--r-- 1 root root 3,5K 2008-04-16 19:59 UserList.py
-rw-r--r-- 1 root root 5,7K 2008-04-29 17:05 UserList.pyc
-rw-r--r-- 1 root root 1,5K 2008-04-16 19:59 user.py
-rw-r--r-- 1 root root 1,6K 2008-04-29 17:05 user.pyc
-rwxr-xr-x 1 root root 7,8K 2008-04-16 19:59 UserString.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 UserString.pyc
-rwxr-xr-x 1 root root 5,7K 2008-04-16 19:59 uu.py
-rw-r--r-- 1 root root 4,1K 2008-04-29 17:05 uu.pyc
-rw-r--r-- 1 root root 8,8K 2008-04-16 19:59 warnings.py
-rw-r--r-- 1 root root 7,8K 2008-04-29 17:05 warnings.pyc
-rw-r--r-- 1 root root 18K 2008-04-16 19:59 wave.py
-rw-r--r-- 1 root root 18K 2008-04-29 17:05 wave.pyc
-rw-r--r-- 1 root root 8,1K 2008-04-16 19:59 weakref.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 weakref.pyc
-rw-r--r-- 1 root root 12K 2008-04-16 19:59 webbrowser.py
-rw-r--r-- 1 root root 12K 2008-04-29 17:05 webbrowser.pyc
-rw-r--r-- 1 root root 3,3K 2008-04-16 19:59 whichdb.py
-rw-r--r-- 1 root root 2,3K 2008-04-29 17:05 whichdb.pyc
-rw-r--r-- 1 root root 4,8K 2008-04-16 19:59 whrandom.py
-rw-r--r-- 1 root root 4,9K 2008-04-29 17:05 whrandom.pyc
-rw-r--r-- 1 root root 7,2K 2008-04-16 19:59 xdrlib.py
-rw-r--r-- 1 root root 11K 2008-04-29 17:05 xdrlib.pyc
drwxr-xr-x 5 root root 184 2008-04-29 17:05 xml
-rw-r--r-- 1 root root 35K 2008-04-16 19:59 xmllib.py
-rw-r--r-- 1 root root 27K 2008-04-29 17:05 xmllib.pyc
-rw-r--r-- 1 root root 44K 2008-04-16 19:59 xmlrpclib.py
-rw-r--r-- 1 root root 35K 2008-04-29 17:05 xmlrpclib.pyc
-rw-r--r-- 1 root root 26K 2008-04-16 19:59 zipfile.py
-rw-r--r-- 1 root root 19K 2008-04-29 17:05 zipfile.pyc
xen:~# ls -lah /usr/lib/python2.5
totaal 6,5K
drwxr-xr-x 3 root root 80 2008-03-29 18:47 .
drwxr-xr-x 38 root root 6,7K 2008-07-22 16:15 ..
drwxr-xr-x 2 root root 88 2008-03-29 18:47 site-packages
xen:~# ls -lah /usr/lib/python2.3
totaal 6,5K
drwxr-xr-x 3 root root 80 2008-03-29 18:42 .
drwxr-xr-x 38 root root 6,7K 2008-07-22 16:15 ..
drwxr-xr-x 2 root root 176 2008-03-29 18:47 site-packages
xen:~# ls -lah /usr/lib/python-support/
totaal 6,5K
drwxr-xr-x 5 root root 136 2008-03-29 18:47 .
drwxr-xr-x 38 root root 6,7K 2008-07-22 16:15 ..
drwxr-xr-x 2 root root 112 2008-03-29 18:47 private
drwxr-xr-x 3 root root 80 2008-03-29 18:47 python-selinux
drwxr-xr-x 4 root root 112 2008-03-29 18:47 python-semanage


With regards,
Paul van der Vlis.




--
http://www.vandervlis.nl/


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-06-2008, 03:40 AM
Thomas Goirand
 
Default Xen advice requested

Paul van der Vlis wrote:
> Thomas Goirand schreef:
>> Paul van der Vlis wrote:
>>>> sys.path.append( '/usr/lib/python' )
>>>> import xen.xm.main as xenxm
>>>> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
>>>> networkDeviceName="vif%s" % id
>>>>
>>>> As /usr/lib/python/xen doesn't exist, but instead there is a
>>>> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...
>>> For me it worked out of the box. Maybe the problems were corrected
>>> later? I use tools like xen-create-image and xm without problems.
>> Can you do "ls -lah /usr/lib/python" in your setup, and show me the
>> result?
>
> xen:~# ls -lah /usr/lib/python
> ls: /usr/lib/python: No such file or directory
> xen:~# ls -ld /usr/lib/python*
> drwxr-xr-x 3 root root 80 2008-03-29 18:42 /usr/lib/python2.3
> drwxr-xr-x 19 root root 12072 2008-04-29 17:05 /usr/lib/python2.4
> drwxr-xr-x 3 root root 80 2008-03-29 18:47 /usr/lib/python2.5
> drwxr-xr-x 5 root root 136 2008-03-29 18:47 /usr/lib/python-support
> xen:~# ls -lah /usr/lib/python2.4
> [...]

Hi,

That's exactly what I said, I didn't remember in details, by hart... I
love Debian, and the fact that it sets things where they should be (conf
files in /etc, etc.), but in that case, it just messes everything. How
can I then include things that are supposed to be in /usr/lib/python/xen
in a "normal" system? What's the Debian way, or the pkg-xen-devel way?
Where's located the "xm" python source code in the Debian package?

Thomas


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-06-2008, 08:58 AM
Paul van der Vlis
 
Default Xen advice requested

Thomas Goirand schreef:
> Paul van der Vlis wrote:
>> Thomas Goirand schreef:
>>> Paul van der Vlis wrote:
>>>>> sys.path.append( '/usr/lib/python' )
>>>>> import xen.xm.main as xenxm
>>>>> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
>>>>> networkDeviceName="vif%s" % id
>>>>>
>>>>> As /usr/lib/python/xen doesn't exist, but instead there is a
>>>>> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...
>>>> For me it worked out of the box. Maybe the problems were corrected
>>>> later? I use tools like xen-create-image and xm without problems.
>>> Can you do "ls -lah /usr/lib/python" in your setup, and show me the
>>> result?
>> xen:~# ls -lah /usr/lib/python
>> ls: /usr/lib/python: No such file or directory
>> xen:~# ls -ld /usr/lib/python*
>> drwxr-xr-x 3 root root 80 2008-03-29 18:42 /usr/lib/python2.3
>> drwxr-xr-x 19 root root 12072 2008-04-29 17:05 /usr/lib/python2.4
>> drwxr-xr-x 3 root root 80 2008-03-29 18:47 /usr/lib/python2.5
>> drwxr-xr-x 5 root root 136 2008-03-29 18:47 /usr/lib/python-support
>> xen:~# ls -lah /usr/lib/python2.4
>> [...]
>
> Hi,
>
> That's exactly what I said, I didn't remember in details, by hart... I
> love Debian, and the fact that it sets things where they should be (conf
> files in /etc, etc.), but in that case, it just messes everything. How
> can I then include things that are supposed to be in /usr/lib/python/xen
> in a "normal" system?

I don't know. Take a look at the filelist:
http://packages.debian.org/etch/i386/xen-utils-3.0.3-1/filelist

> What's the Debian way, or the pkg-xen-devel way?
> Where's located the "xm" python source code in the Debian package?

xen:~# ls -l `which xm`
lrwxrwxrwx 1 root root 39 2008-03-30 14:45 /usr/sbin/xm ->
../lib/xen-common/bin/xen-utils-wrapper

xen-utils-wrapper has this content:
----------
#!/bin/bash
libdir=/usr/lib
command="$(basename $0)"
version=$($libdir/xen-common/bin/xen-utils-version -v "$XEN_VERSION")
[ "$version" ] && exec "$libdir/xen-$version/bin/$command" "$@"
exit 127
------

What is /usr/lib/xen-3.0.3-1/bin/xm in my case.
But the code is really short:

cat /usr/lib/xen-3.0.3-1/bin/xm
#!/usr/bin/env python
# -*- mode: python; -*-
import sys
sys.path.append('%s/../lib/python' % sys.path[0])
from xen.xm import main

main.main(sys.argv)

With regards,
Paul van der Vlis.




--
http://www.vandervlis.nl/


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org