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

Re: selinux: audit2allow missing module



>> 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



Reply to: