Re: selinux: audit2allow missing module

2006-06-15 Thread Bruno Costacurta
>> Hello,
>> audit2allow (from package policycoreutils) returns the following error:
>>
>>
>> Traceback (most recent call last):
>> File "/usr/bin/audit2allow", line 27, in ?
>> import commands, sys, os, pwd, string, getopt, re, selinux
>> ImportError: No module named selinux
>>
>>
>> Where can I grab python module 'selinux' ?
>
>A simple apt-cache search selinux on my machine (unstable version)
>showed the following package which I suppose is what you want:
>
>python2.4-selinux
>
>if you are running stable or testing instead then you might get
>another version number then 2.4
>
>HTH
>
>Oli

Indeed this package was already installed.
However I found that python was linked to v2.3 not 2.4
So I replace with

ln -sf /usr/bin/python2.4 /usr/bin/python

which corrected audit2allow.

Bye;
Bruno




--
Wordt ook lid van de Scarlet Club via een bestaande Scarlet klant en ontvang 
cadeaucheques twv EUR 50! Bezoek snel http://www.scarletclub.be
Devenez aussi membre du Club Scarlet via un client Scarlet existant et recevez 
des cheques cadeaux jusqu'a EUR 50! Surfez vite sur http://www.clubscarlet.be



Re: selinux: audit2allow missing module

2006-06-14 Thread Olafur Jens Sigurdsson
Þann 2006-06-14, 12:22:27 (+0200) skrifaði Bruno Costacurta:
> Hello,
> audit2allow (from package policycoreutils) returns the following error:
> 
>  
> Traceback (most recent call last):
> File "/usr/bin/audit2allow", line 27, in ?
> import commands, sys, os, pwd, string, getopt, re, selinux
> ImportError: No module named selinux
>  
>  
> Where can I grab python module 'selinux' ?

A simple apt-cache search selinux on my machine (unstable version)
showed the following package which I suppose is what you want:

python2.4-selinux

if you are running stable or testing instead then you might get
another version number then 2.4

HTH

Oli


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



selinux: audit2allow missing module

2006-06-14 Thread Bruno Costacurta


Hello,
audit2allow (from package policycoreutils) returns the following error:
 
 
Traceback (most recent call last):
File "/usr/bin/audit2allow", line 27, in ?
import commands, sys, os, pwd, string, getopt, re, selinux
ImportError: No module named selinux
 
 
Where can I grab python module 'selinux' ?
 
Thanks for idea or correction.
Cheers,
Bruno