Description of problem: Multiple problems with the `semanage fcontext` command line and its documentation. Version-Release number of selected component (if applicable): Fedora 25 The problems are: 1. Running `semanage fcontext` without any flags or arguments spits out a short description of the expected command line. This description is completely broken, with various redundant ")"s. 2. The same broken specification appears in its man page (semanage-fcontext(8)). 3. According to this man page and the output of `semanage fcontext -h`, listing the local fcontext rules is supposed to be achieved using "-C, --locallist", neither of these work. 4. Following the broken command line in item #1 above, I finally found that the correct incantation is "semanage fcontext --list -C"
Thanks for reporting, fixed on upstream (soon to be backported to Fedora): https://github.com/SELinuxProject/selinux/commit/86e568c27bd6e6d4428b9bca67c5de6a6bdcebb2
policycoreutils-2.6-5.fc27 - https://koji.fedoraproject.org/koji/taskinfo?taskID=18820403
policycoreutils-2.6-5.fc26 libselinux-2.6-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f21a1bffda
policycoreutils-2.5-20.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c89d1d37d0
policycoreutils-2.5-20.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c89d1d37d0
libselinux-2.6-5.fc26, policycoreutils-2.6-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f21a1bffda
*** Bug 1427138 has been marked as a duplicate of this bug. ***
policycoreutils-2.5-20.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
libselinux-2.6-5.fc26, policycoreutils-2.6-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.