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

systemd post-requires python (via policycoreutils-python-utils)

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.5
    • CentOS Stream 9
    • systemd
    • None
    • systemd-252-35.el9
    • None
    • Moderate
    • ZStream
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 26
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • All
    • None

      Systemd 252-33 added a selinux policy, and this included adding:
       
      +# selinux
      +Requires(post): libselinux-utils
      +Requires(post): policycoreutils
      +Requires(post): policycoreutils-python-utils
       
      This means installing systemd will always pull in python, via policycoreutils-python-utils. We would like to build python-free images in the automotive product, but I think the same is true for other types of minimal images.
       
      Also, I don't think this dependency is actually necessary. For example, container-selinux uses %selinux_modules_install but doesn't have this dependency:
      https://pkgs.devel.redhat.com/cgit/rpms/container-selinux/tree/container-selinux.spec?h=rhel-9-main&id=e504d94e2502eb8a1329416a6790356b0fea8017
       
      In fact, this was recently fixed in container-selinux, which had a similar issue: https://issues.redhat.com/browse/RHEL-18316

              jamacku@redhat.com Jan Macku
              alexl@redhat.com Alexander Larsson
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: