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

"gdm" pulls "tuned" despite it's not required, installing "gdm" with "tuned" exclude works

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.7
    • libsolv
    • None
    • None
    • Important
    • rhel-swm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      On a minimal system, installing gdm package pulls tuned automatically:

      # yum install gdm --assumeno
      [...]
      Installing:
       gdm                               x86_64  1:40.1-38.el9_7                    rhel-9-for-x86_64-appstream-rpms  899 k
      Installing dependencies:
      [...]
       tuned                             noarch  2.26.0-1.el9                       rhel-9-for-x86_64-baseos-rpms     470 k
      [...]
      

      It's unclear why this occurs since excluding tuned doesn't break the transaction:

      # yum install gdm --exclude tuned
      [...]
      Installing:
       gdm                               x86_64  1:40.1-38.el9_7                    rhel-9-for-x86_64-appstream-rpms  899 k
      Installing dependencies:
      [...]
      Transaction Summary
      ======================================================================================================================
      Install  194 Packages
      
      Total download size: 129 M
      Installed size: 527 M
      Is this ok [y/N]: ^COperation aborted.
      

      This occurs even though I don't want weak dependencies:

      # cat /etc/yum.conf
      [...]
      install_weak_deps=False
      

      Last but not least, if I install gdm only (hence pulling tuned), then remove tuned, gdm gets automatically removed.

      Please explain what's going on here, it looks like to me there is some depsolv issue somewhere.

      What is the impact of this issue to you?

      Critical because it makes installing "Server with GUI" system images with STIG+GUI profile using Image Builder impossible, before rule xccdf_org.ssgproject.content_rule_package_tuned_removed removes tuned, causing gdm removal.

      Please provide the package NVR for which the bug is seen

      libdnf-0.69.0-16.el9
      libsolv-0.7.24-3.el9

      How reproducible is this bug?

      Always

      Steps to reproduce

      1. On a minimal system, install gdm

      Expected results

      tuned not pulled

      Actual results

      tuned pulled

              packaging-team-maint packaging-team-maint
              rhn-support-rmetrich Renaud Métrich
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: