[DSE-Dev] Bug#846484: policycoreutils-python-utils: Can't delete user with "semanage user -d"

Russell Coker russell at coker.com.au
Thu Dec 1 12:50:58 UTC 2016


Package: policycoreutils-python-utils
Version: 2.6-2
Severity: normal

# semanage user -a -R user_r test2
libsemanage.add_user: user system_u not in password file
# semanage user -d test2
ValueError: SELinux user test2 is not defined
#

I get the above when I try to add and delete a user.  The system is in
permissive mode.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages policycoreutils-python-utils depends on:
ii  libc6             2.24-7
ii  libselinux1       2.6-3
ii  libsepol1         2.6-1
ii  policycoreutils   2.6-2
ii  python3-audit     1:2.6.7-1
ii  python3-ipy       1:0.83-1
ii  python3-selinux   2.6-3
ii  python3-semanage  2.6-1
ii  python3-sepolgen  2.6-2
ii  python3-sepolicy  2.6-2
pn  python3:any       <none>
ii  selinux-utils     2.6-3

policycoreutils-python-utils recommends no packages.

policycoreutils-python-utils suggests no packages.

-- no debconf information



More information about the SELinux-devel mailing list