Re: Error running semanage from trunk

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

 



On Thu, 2008-04-03 at 11:45 -0400, Brian M. Williams wrote:
> I built the toolchain out of trunk this morning (rev 2860); I have
> python 2.4.3 installed on RHEL 5.1, running semanage with any input
> gives this error:
> 
> [root@localhost policy]# semanage
> Traceback (most recent call last):
>   File "/usr/sbin/semanage", line 24, in ?
>     import seobject
>   File "/usr/lib/python2.4/site-packages/seobject.py", line 93, in ?
>     import xml.etree.ElementTree
> ImportError: No module named etree.ElementTree
> 
> Does anyone know where this might be coming from?  Does semanage need a
> newer version of python?

Provided by /usr/lib/python2.5/xml/etree in Fedora.
Introduced into seobject.py in r2700.
Don't know if there is a version for python 2.4.

So that would make semanage, audit2allow, and chcat dependent on newer
python in trunk.  Of course, sepolgen was already dependent on newer
python, so audit2allow already had that dependency.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux