Novice problem with apol/ policy.conf

Eric Paris eparis at redhat.com
Fri Jul 27 17:44:12 UTC 2007


On Fri, 2007-07-27 at 17:58 +0400, Markelov Andrey wrote:
> Hello,
> I am novice in SELinux. For policy analysis I compiled policy.conf from selinux-policy-2.4.6-30.el5.src.rpm on RHEL5. 
> When I tried to open policy.21 with apol (GUI version 3.0
>  libapol version 3.0.0) it was ok. But when i opened  policy.conf  i received the following error: The selected file does not appear to be a valid SELinux Policy. Error opening policy: Input/output error. And in console 
> tmp/rolemap.conf:624:ERROR 'syntax error' at token 'ntfs-3g' on line 1563798:
> genfscon ntfs-3g / system_u:object_r:dosfs_t
> 
> genfscon msdos / system_u:object_r:dosfs_t
> 
> What is the possible reason?

I'd bet on an apol bug, but I don't know.  The addition of a '-' in
ntfs-3g caused a number of headaches.  I'm adding the upstream list to
the cc and hopefully one of the people who work on apol will know right
offhand.

-Eric




More information about the fedora-selinux-list mailing list