Novice problem with apol/ policy.conf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Markelov Andrey
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_tgenfscon 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
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Eric Paris
Quoted 7 lines · Markelov Andrey
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
Quoted 8 lines
Quoted 3 lines
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.
Just like the checkpolicy/checkmodule parser, the setools parser had to be updated, and this happened in setools 3.0.1.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.