Bug 815725
Summary: | semanage fcontext -l -e requires two arguments | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> |
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-20 16:17:11 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: |
Description
Stef Walter
2012-04-24 11:29:00 UTC
Hmmm, it looks like the '-e' isn't needed at all. 'semanage fcontext -l' works fine. A patch something like this, might help clear things up. The manpage confused me :) diff --git a/policycoreutils/semanage/semanage.8 b/policycoreutils/semanage/sema index c5e18d9..91a01a1 100644 --- a/policycoreutils/semanage/semanage.8 +++ b/policycoreutils/semanage/semanage.8 @@ -44,9 +44,11 @@ Manage network node type definitions Manage file context mapping definitions .br -.B semanage fcontext [\-S store] \-{a|d|m|l|D} [\-fnrst] file_spec +.B semanage fcontext [\-S store] \-{l|D} [\-nrst] file_spec .br -.B semanage fcontext [\-S store] \-{a|d|m|l|D} [\-n] \-e replacement target +.B semanage fcontext [\-S store] \-{a|d|m} [\-frst] file_spec +.br +.B semanage fcontext [\-S store] \-{a|d|m} \-e replacement target .br Applied fix to policycoreutils-2.1.11-7.fc18 Will back port to F17 on next push of policycoreutils. Fixed in policycoreutils-2.1.12-4.fc17 policycoreutils-2.1.12-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.12-4.fc17 Package policycoreutils-2.1.12-4.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-4.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-4.fc17 then log in and leave karma (feedback). Package policycoreutils-2.1.12-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-5.fc17 then log in and leave karma (feedback). policycoreutils-2.1.12-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |