policycoreutils-python-utils has a missing dependency

Bug #2030900 reported by Adam Vest
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selinux-python (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

During the setup of SELinux and it's various troubleshooting tools on Ubuntu, I noticed that after the installation of the "policycoreutils-python-utils" package, neither the "audit2allow" nor "audit2why" commands were functioning due to missing ausearch, part of the "auditd" package:

---
:~# audit2why -a
could not run ausearch - "[Errno 2] No such file or directory: '/sbin/ausearch'"
---

Since these commands depend on ausearch being present, recommend adding "auditd" as a dependency of "policycoreutils-python-utils".

Thanks for your time!

System Info:
:~# lsb_release -rd
Description: Ubuntu 22.04.3 LTS
Release: 22.04

:~# apt-cache policy policycoreutils-python-utils
policycoreutils-python-utils:
  Installed: 3.3-1
  Candidate: 3.3-1
  Version table:
 *** 3.3-1 500
        500 http://192.168.1.92/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

* What you expected to happen: The "audit2allow" and "audit2why" binaries function as expected out of the box
* What happened instead: Neither "audit2allow" nor "audit2why" function without further user intervention

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.