Bug 369171 - Syntax error in /usr/share/selinux/devel/include/services/kerberos.if
Summary: Syntax error in /usr/share/selinux/devel/include/services/kerberos.if
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-06 22:47 UTC by Carl Roth
Modified: 2008-01-30 19:20 UTC (History)
1 user (show)

Fixed In Version: Current
Clone Of:
Environment:
Last Closed: 2008-01-30 19:20:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Carl Roth 2007-11-06 22:47:13 UTC
Description of problem:

There's an extra character in kerberos.if in selinux-policy-devel that prevents
it from being used to compile new policy modules.

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

selinux-policy-devel-2.4.6-107.fc6

How reproducible:

Always

Steps to Reproduce:
1. Build an selinux policy module using /usr/share/selinux/devel/Makefile
2.
3.
  
Actual results:

Here's an example log from a module I just tried to build:

+ /usr/bin/make NAME=targeted -f /usr/share/selinux/devel/Makefile
Compiling targeted ursus-config-apache module
/usr/bin/checkmodule:  loading policy configuration from tmp/ursus-config-apache.tmp
tmp/all_interfaces.conf:128104:ERROR 'syntax error' at token 'n' on line 63903:
##      <summary>
n##     Domain allowed access.
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/ursus-config-apache.mod] Error 1

I traced back through the policy sources and headers and saw that the error was
in kerberos.if.

Expected results:


Additional info:

This appears to be the fix:

--- /usr/share/selinux/devel/include/services/kerberos.if.orig  2007-10-09
14:18:53.000000000 -0700
+++ /usr/share/selinux/devel/include/services/kerberos.if       2007-11-06
14:40:18.000000000 -0800
@@ -27,7 +27,7 @@
 ## </summary>
 ## <param name="domain">
 ##     <summary>
-n##    Domain allowed access.
+##     Domain allowed access.
 ##     </summary>
 ## </param>
 #

Comment 1 Daniel Walsh 2007-11-19 15:50:17 UTC
fixed in selinux-policy-2.4.6-108.fc6

Comment 2 Daniel Walsh 2008-01-30 19:20:07 UTC
Bulk closing all bugs in Fedora updates in the modified state.  If you bug is
not fixed, please reopen.


Note You need to log in before you can comment on or make changes to this bug.