Bug 984484
Summary: | make setsebool error message saying boolean do not exist more user friendly | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Hutař <jhutar> | ||||
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> | ||||
Status: | CLOSED ERRATA | QA Contact: | Michal Trunecka <mtruneck> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4 | CC: | dwalsh, ebenes, eparis, mgrepl, mmalik, mtruneck | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | policycoreutils-2.0.83-19.32.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-11-21 11:08:13 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: | |||||||
Attachments: |
|
Description
Jan Hutař
2013-07-15 11:18:01 UTC
Probably should be discussed. I just made a change to Upstream to do the following. setsebool -P dan 1 Failed to change boolean dan: No such file or directory setsebool -VP dan 1 libsemanage.dbase_llist_set: record not found in the database (No such file or directory). libsemanage.dbase_llist_set: could not set record value (No such file or directory). Failed to change boolean dan: No such file or directory Looks good to me.... Created attachment 774422 [details]
Patch to make setsebool less verbose on errors.
Miroslav if we are doing a policycoreutils update, this is probably worth back porting.
Fix is in RHEL7.
Yes, there will be an update. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. The new -V option should be in man page as well. We have the -V in man page in RHEL7 I apologize, I did not update the man page to reflect this change. Fixed in policycoreutils-2.0.83-19.32.el6 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. http://rhn.redhat.com/errata/RHBA-2013-1608.html |