RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 917994 - seinfo --constrain doesn't print constrains in correct format
Summary: seinfo --constrain doesn't print constrains in correct format
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: setools
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 966492
TreeView+ depends on / blocked
 
Reported: 2013-03-05 09:20 UTC by Michal Trunecka
Modified: 2015-12-08 15:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 966492 (view as bug list)
Environment:
Last Closed: 2015-12-08 15:27:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Trunecka 2013-03-05 09:20:03 UTC
Description of problem:
Constrains printed by seinfo --constrain are not in correct format, e.g.:

mlsconstrain { db_column } { create relabelto  } 
(  h1 h2  dom  l2 h2  ==  && );

It seems the expressions are printed in some kind of postfix notation, but without parenthesis. 


Version-Release number of selected component (if applicable):
setools-console-3.3.7-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. seinfo --constrain

Comment 1 Milos Malik 2013-03-05 10:48:15 UTC
RHEL-7 version is setools-console-3.3.7-34.el7.x86_64.

Comment 2 Michal Trunecka 2013-05-23 11:11:18 UTC
The booleans expression in sesearch output suffers with the same problem. e.g.:

# sesearch -b ftp_home_dir --allow -C
...
DT allow ftpd_t autofs_t : dir { getattr search open } ; [ ftp_home_dir use_nfs_home_dirs && ]
...

Still the same version:
setools-console-3.3.7-34.el7.x86_64

Comment 3 Daniel Walsh 2013-05-23 14:00:07 UTC
Well this is not likely something we will spend time on fixing, if upstream fixed it we would take it.

Comment 4 RHEL Program Management 2014-03-22 06:59:47 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.


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