Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-18316

Why does container-selinux depend on policycoreutils-python-utils

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CentOS Stream 9
    • CentOS Stream 9
    • container-selinux
    • None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • All
    • None

      The centos9 container-selinux spec file has:

      %if 0%{?rhel} > 7 || 0%{?fedora}
      Requires(post): policycoreutils-python-utils
      %else
      Requires(post): policycoreutils-python
      %endif

      Which means it depends on policycoreutils-python-utils, which in turn depends on python3. This is a problem for us in the automotive project trying to create a small, python-less image.

      But why is this needed at all? This dependency was removed from fedora 2018:

      https://src.fedoraproject.org/rpms/container-selinux/c/2efd385d7d299b7ba37a8255f3d9dcadd52b94b1?branch=rawhide

      If this is not needed, it would be very nice if this could be removed.

            lmandvek Lokesh Mandvekar
            alexl@redhat.com Alexander Larsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: