Bug 1631814
Summary: | rpm macro %selinux_set_booleans requires selinux-policy-targeted installed | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Petr Menšík <pemensik> | ||||
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | ||||
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.6 | CC: | bugzilla.redhat.com.dev, leshy, lvrabec, mmalik, pemensik, plautrba, pzhukov, ssekidde, vmojzis | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1633198 (view as bug list) | Environment: | |||||
Last Closed: | 2019-08-06 12:52:32 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1122832, 1614196, 1633108, 1633198, 1647659, 1653106 | ||||||
Attachments: |
|
Description
Petr Menšík
2018-09-21 15:40:06 UTC
I am not sure if it is feature. But number of sets has to match number of unsets called. In our case, it would not reset correctly to previous boolean state. Because I require on set in posttrans and post on upgrade. Is such behaviour required? Created attachment 1485765 [details]
proposed patch
Proposed patch to not emit failures and do not fail on different locale.
Check libunbound.so version in info page of F29 build. https://koji.fedoraproject.org/koji/rpminfo?rpmID=15550778 I think bug #1609323 is related to this one too. But the macro should not be guarded on selinuxenabled property. I think it would need default state ability, so it reset to default value. Now it is impossible to get back to default value if that was changed over time. It will always return to original value, not default value specified by current policy. It would be required to sometime remove boolean enable macro from bind. Hi, any change on this issue? I would like to fix it in RHEL 7.7, would it be ready? Could you check also bug #1647659 ? Is there way to store boolean when selinux is disabled? When it is reenabled, would it load value set last time? I assume selinuxenabled should be changed only on reboots, unline setenforce? Is that right? 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, 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-2019:2127 |