Bug 979777 - semanage: incorrect syntax in example in semanage-login manpage
semanage: incorrect syntax in example in semanage-login manpage
Product: Fedora
Classification: Fedora
Component: policycoreutils (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-30 08:51 EDT by Ruben Kerkhof
Modified: 2013-07-01 06:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-01 06:37:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ruben Kerkhof 2013-06-30 08:51:37 EDT
Description of problem:

selinux-login(8) has an example to map a linux group to a selinux user:
Assign all users in the engineering group to the staff_u user
# semanage login -a -s staff_u @engineering

But this results in:
ValueError: Linux User @engineering does not exist

The correct syntax should be:
# semanage login -a -s staff_u %engineering

Version-Release number of selected component (if applicable):

[root@localhost ~]# rpm -q policycoreutils-python
Comment 1 Daniel Walsh 2013-07-01 06:37:33 EDT
Fixed in policycoreutils-2.1.14-62.fc20.x86_64

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