[DSE-Dev] Bug#955805: policycoreutils: should give details on errors even when verbose isn't enabled

Russell Coker russell at coker.com.au
Sun Apr 5 04:20:22 BST 2020


Package: policycoreutils
Version: 3.0-1
Severity: normal
Tags: upstream

Ok: return value of 0.
Attempting to install module '/usr/share/selinux/default/zosremote.pp.bz2':
Ok: return value of 0.
Committing changes:
Found conflicting filecon rules
  at /var/lib/selinux/default/tmp/modules/100/bluetooth/cil:834
  at /var/lib/selinux/default/tmp/modules/100/bluetooth/cil:831
Problems processing filecon rules
Failed post db handling
semodule:  Failed!

When I have -v on the command-line it will abort with the above error on policy
it doesn't like, which allows debugging the problem (or filing a useful bug
report for a non-developer).  Without the -v on the command-line it gives the
below which is not useful for diagnosing the problem.

libsemanage.semanage_direct_install_info: updfstab module will be disabled after install as there is a disabled instance of this module present in the system.
libsemanage.semanage_direct_install_info: usernetctl module will be disabled after install as there is a disabled instance of this module present in the system.
Problems processing filecon rules
Failed post db handling
semodule:  Failed!

The conflicting filecon rules message should be displayed regardless of the
level of verbosity.

-- System Information:
Debian Release: 10.3
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (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 depends on:
ii  libaudit1      1:2.8.4-3
ii  libc6          2.30-4
ii  libselinux1    3.0-1+b2
ii  libsemanage1   3.0-1+b2
ii  libsepol1      3.0-1
ii  lsb-base       10.2019051400
ii  selinux-utils  3.0-1+b2

policycoreutils recommends no packages.

policycoreutils suggests no packages.

-- no debconf information



More information about the SELinux-devel mailing list