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

DNF: Warn/disallow changes outside /usr, /etc with --transient [rhel-9]

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • dnf
    • rhel-sst-cs-software-management
    • ssg_core_services
    • 0
    • Dev ack
    • False
    • Hide

      None

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

      Goal

      • As a DNF --transient user, I don't want to accidentally make permanent changes that would break my system, e.g. by removing a kernel package that provides important files under /boot.
      • As a DNF --transient user, I want to still be allowed to perform a potentially unsafe transaction if I need to.

      Acceptance criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Users on non-bootc systems and/or are not using --transient are not affected
      • Transactions that modify files outside /usr and /etc, such as dnf4 upgrade --transient kernel-core, should fail unless the user passes some "-i-know-what-im-doing" flag
      • DNF should list the files outside /usr and /etc that would be unsafely modified by the transaction, so the user can make an informed decision whether to proceed with the potentially-unsafe transaction
      • Third-party packages that modify files outside /usr and /etc should be handled the same way as RHEL packages without intervention by the package mantainers.

              packaging-team-maint packaging-team-maint
              rh-ee-egoode Evan Goode
              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: