This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 663016 - syntax error in /usr/share/selinux/devel/include/apps/thunderbird.if
syntax error in /usr/share/selinux/devel/include/apps/thunderbird.if
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
5.6
All Linux
low Severity medium
: rc
: ---
Assigned To: Miroslav Grepl
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-14 08:00 EST by Milos Malik
Modified: 2013-02-05 08:04 EST (History)
1 user (show)

See Also:
Fixed In Version: selinux-policy-2.4.6-306.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-07-21 05:21:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Milos Malik 2010-12-14 08:00:45 EST
Description of problem:
Found by /CoreOS/policycoreutils/Regression/bz588280-sepolgen-ifgen-traceback

Version-Release number of selected component (if applicable):
selinux-policy-devel-2.4.6-300.el5

How reproducible:
always

Steps to Reproduce:
# sepolgen-ifgen -i /usr/share/selinux/devel/include/apps/thunderbird.if
Syntax error on line 1 ` [type=TICK]
# echo $?
0
# sepolgen-ifgen -v -i /usr/share/selinux/devel/include/apps/thunderbird.if
Parsing support macros (/usr/share/selinux/devel/include/support/obj_perm_sets.spt): done.

Parsing interface files:
%--10---20---30---40---50---60---70---80---90--100
Syntax error on line 1 ` [type=TICK]
error parsing file /usr/share/selinux/devel/include/apps/thunderbird.if: could not parse text: "Syntax error on line 1 ` [type=TICK]"
failed to parse some headers: /usr/share/selinux/devel/include/apps/thunderbird.if
# echo $?
0

Actual results:


Expected results:
Comment 1 Miroslav Grepl 2010-12-14 08:06:00 EST
This is a syntax error



--optinal_policy(`
   allow $1_t $2_dbusd_t:dbus send_msg;

++optional_policy(`
   allow $1_t $2_dbusd_t:dbus send_msg;
Comment 2 RHEL Product and Program Management 2011-01-11 15:23:47 EST
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
Comment 3 RHEL Product and Program Management 2011-01-12 10:08:57 EST
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.
Comment 5 Miroslav Grepl 2011-03-01 12:10:45 EST
Fixed in selinux-policy-2.4.6-301.el5
Comment 8 Milos Malik 2011-05-03 06:16:00 EDT
I see syntax errors when following files are processed:
./include/system/init.if
./include/services/inetd.if
Comment 9 Miroslav Grepl 2011-05-19 11:25:41 EDT
Fixed in selinux-policy-2.4.6-306.el5
Comment 11 errata-xmlrpc 2011-07-21 05:21:29 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1069.html
Comment 12 errata-xmlrpc 2011-07-21 07:50:04 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1069.html

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