Bug 222544

Summary: all_interfaces.conf:7820:ERROR 'syntax error' at token 'allow'
Product: [Fedora] Fedora Reporter: Mace Moneta <moneta.mace>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-15 15:51:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mace Moneta 2007-01-13 19:00:32 UTC
Description of problem:

After applying selinux-policy-targeted.noarch 2.4.6-23.fc6 and
selinux-policy-devel.noarch 2.4.6-23.fc6, attempting to set a local policy
results in:

# cd /etc/local-selinux-policy/
# /usr/bin/make -f /usr/share/selinux/devel/Makefile
Compiling targeted local module
/usr/bin/checkmodule:  loading policy configuration from tmp/local.tmp
tmp/all_interfaces.conf:7820:ERROR 'syntax error' at token 'allow' on line 3871:

allow staff_evolution_alarm_t staff_t:fifo_file { getattr write };
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/local.mod] Error 1


Version-Release number of selected component (if applicable):

selinux-policy-targeted.noarch 2.4.6-23.fc6 and selinux-policy-devel.noarch
2.4.6-23.fc6

How reproducible:

Always

Steps to Reproduce:
1. /usr/bin/make -f /usr/share/selinux/devel/Makefile
2. observe error
3.
  
Actual results:

tmp/all_interfaces.conf:7820:ERROR 'syntax error' at token 'allow' on line 3871:

allow staff_evolution_alarm_t staff_t:fifo_file { getattr write };
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/local.mod] Error 1

Expected results:

No error

Additional info: This happens on all the systems I have (both x86 and x86_64).

Comment 1 Daniel Walsh 2007-01-15 14:11:04 UTC
This is a compiling/source code problem.  Not a bug.  Please bring your question
to one of the public list.

Comment 2 Mace Moneta 2007-01-15 14:35:42 UTC
I'm sorry, but that's not the case.

Even with an empty local policy, the error still occurs, which indicates that
the distributed source policy is in error.

Comment 3 Daniel Walsh 2007-01-15 15:51:54 UTC
Ok now I see.  This is fixed in selinux-policy-2.4.6-27

*** This bug has been marked as a duplicate of 222548 ***