[DSE-Dev] Bug#920667: policycoreutils-python-utils: semanage-user(8) and "semanage user -h" don't document -P prefix option

Russell Coker russell at coker.com.au
Mon Jan 28 08:04:37 GMT 2019


Package: policycoreutils-python-utils
Version: 2.8-3
Severity: normal

When adding or modifying a selinux user via "semanage user -a" or
"semanage user -m" you have to specify the prefix for labelling with the -P
option.

Something like the following is an example:
semanage user -a -P staff -R staff_r -r s0-s0:c0.c1023 test

-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default

Versions of packages policycoreutils-python-utils depends on:
ii  policycoreutils   2.8-1
ii  python3           3.7.1-3
ii  python3-audit     1:2.8.4-2
ii  python3-ipy       1:0.83-1
ii  python3-selinux   2.8-1+b1
ii  python3-semanage  2.8-2
ii  python3-sepolgen  2.8-3
ii  python3-sepolicy  2.8-3
ii  selinux-utils     2.8-1+b1

policycoreutils-python-utils recommends no packages.

policycoreutils-python-utils suggests no packages.

-- no debconf information



More information about the SELinux-devel mailing list