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

[RFE] Remove dnf-system-upgrade service from RHEL dnf plugin

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-8.8.0, rhel-9.8
    • dnf-plugins-core
    • None
    • No
    • None
    • 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?

      dnf-system-upgrade.service and dnf-system-upgrade-cleanup.service are included in python3-dnf-plugins-core from RHEL 8.8 and later. it's an upgrade mechanism for fedora and not supported in RHEL I think. Is it possible to remove these services from RHEL package.

      1. cat /usr/lib/systemd/system/dnf-system-upgrade.service
        [Unit]
        Description=System Upgrade using DNF
        ConditionPathExists=/system-update
        Documentation=http://www.freedesktop.org/wiki/Software/systemd/SystemUpdates

      DefaultDependencies=no
      Requires=sysinit.target
      After=sysinit.target systemd-journald.socket system-update-pre.target
      Before=shutdown.target system-update.target
      OnFailure=dnf-system-upgrade-cleanup.service

      [Service]

      1. We are done when the script exits, not before
        Type=oneshot
      2. Upgrade output goes to journal and on-screen.
        StandardOutput=journal+console
        ExecStart=/usr/bin/dnf system-upgrade upgrade

      [Install]
      WantedBy=system-update.target

      What is the impact of this issue to you?

      Customer is asking about what are the services and how to use them.

      Please provide the package NVR for which the bug is seen:

      python3-dnf-plugins-core-4.0.21-19.el8_8 and later.

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

              packaging-team-maint packaging-team-maint
              rhn-support-lilhuang Lili Huang
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: