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 1581848 - seinfo -b does not handle old boolean names defined in /etc/selinux/*/booleans.subs_dist
Summary: seinfo -b does not handle old boolean names defined in /etc/selinux/*/boolean...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: setools
Version: 8.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.2
Assignee: Vit Mojzis
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1682508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-23 18:55 UTC by Dalibor Pospíšil
Modified: 2020-11-04 02:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:00:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4544 0 None None None 2020-11-04 02:00:17 UTC

Description Dalibor Pospíšil 2018-05-23 18:55:44 UTC
Description of problem:
seinfo -b does not handle old boolean names defined in /etc/selinux/*/booleans.subs_dist

This is a regression against rhel7.

Version-Release number of selected component (if applicable):
setools-console-4.1.1-5.el8+5

How reproducible:
100%

Actual results:
# seinfo -b$(head -n 1 /etc/selinux/targeted/booleans.subs_dist | cut -d ' ' -f 2) -x

Booleans: 1
   bool auditadm_exec_content true;
# seinfo -b$(head -n 1 /etc/selinux/targeted/booleans.subs_dist | cut -d ' ' -f 1) -x

Booleans: 0


Expected results:
# seinfo -b$(head -n 1 /etc/selinux/targeted/booleans.subs_dist | cut -d ' ' -f 2) -x

Booleans: 1
   bool auditadm_exec_content true;
# seinfo -b$(head -n 1 /etc/selinux/targeted/booleans.subs_dist | cut -d ' ' -f 1) -x

Booleans: 1
   bool auditadm_exec_content true;

Comment 1 Milos Malik 2018-05-24 07:19:05 UTC
# rpm -qa setools\*
setools-console-4.1.1-5.el8+5.x86_64
# find /etc/selinux/ -name \*boolean\*
/etc/selinux/targeted/booleans.subs_dist
# grep antivirus /etc/selinux/targeted/booleans.subs_dist 
clamd_use_jit antivirus_use_jit
amavis_use_jit antivirus_use_jit
# sesearch -b antivirus_use_jit -A
allow antivirus_t antivirus_t:process execmem; [ antivirus_use_jit ]:True
allow antivirus_t antivirus_t:process execmem; [ antivirus_use_jit ]:True
# sesearch -b clamd_use_jit -A
<built-in function new_qpol_bool_t> returned a result with an error set
#

Comment 2 Milos Malik 2018-06-27 07:46:40 UTC
Please ignore comment#1, the problem is reported as a different bug:
 * https://bugzilla.redhat.com/show_bug.cgi?id=1595572

Comment 15 errata-xmlrpc 2020-11-04 02:00:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (setools bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4544


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