[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xend running on EL5

On Sun, 14 Oct 2012, Steven Haigh wrote:

Hi guys,

I've been trying to get my Xen 4.2 RPMs to build on both EL5 and EL6 systems. I'm just about there but I've noticed one issue which I'm not 100% sure of the best way to resolve.

/usr/sbin/xend is a simple python launcher that runs fine as is on EL6, but in EL5 it comes up with:

# service xend start
Starting xend daemon: Unknown option: -s
Unknown option: -s
usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

The standard hashbang line for xend is:
#!/usr/bin/python -Es

EL5 seems to run python 2.4.3 which doesn't have the -s option.

That isn't a standard xen line, it is a hack I put into the Fedora code to try to get xend to work better with selinux in recent Fedora versions (the switch to systemd might also have been a factor). You can probably safely throw away the xend.selinux.fixes.patch (or that part of it) for EL5 and EL6 as I think the selinux problems came later.

        Michael Young

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.