Re: Developing a SELinux policy for antivirus - Activating a boolean variable when another has been actived

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

 



Can you post you te file?

Ted

On Thu, Jun 24, 2010 at 10:01 AM, Alice Mynona <alice_mynona@xxxxxxxxxxx> wrote:
> Hello,
>
> during the developing of a SELinux module I got the following error messages when executing "audit2allow -a -l"
>
> ...
> libsepol.context_from_record: type antivirus_t is not defined
> libsepol.context_from_record: could not create context structure
> libsepol.context_from_string: could not create context structure
> libsepol.sepol_context_to_sid: could not convert unconfined_u:unconfined_r:antivirus_t:s0 to sid
>
> "antivirus_t" is a domain I have defined in my module:
>
> type antivirus_t;
> domain_type(antivirus_t)
>
> I have already removed the module (semodule -r antivirus.pp && semodule -R) and did a file context repair afterwards (fixfiles restore). The error still exists.
>
> I have reinstalled the policy (yum reinstall selinux-policy-*), but the problem remains. I have also taken a look at "file_contexts" (cd /etc/selinux/targeted/modules/active && grep antivirus_t file_contexts*), but there's no "antivirus_t" anymore.
>
> Can you help me to find the cause of the problem? I don't know how to debug libsepol-messages.
>
> I'm using "selinux-policy-targeted-3.6.32-118.fc12.noarch".
>
> Thanks in advance.
>
> Best regards,
> Alice
>
> --
> 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.
>

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