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

[Epic]: fix: Fix removing kernel options with values

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

    • [Epic]: fix: Fix removing kernel options with values
    • Low
    • Red Hat Enterprise Linux
    • 0% To Do, 0% In Progress, 100% Done
    • rhel-system-roles
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Dev ack

      Enhancement: Fix removing kernel options with values

      Reason: The role had a bug, removing kernel options in form key=value didn't work if users provide only a key.

      Result: Removing kernel options only by name now works

      Issue Tracker Tickets (Jira or BZ if any): Fixes #123

        1. Summary by Sourcery

      Fix the removal logic for kernel options specified as key=value and add test coverage to ensure these options can be removed by name

      Bug Fixes:

      • Update regex in mod_boot_args to correctly match and remove kernel options with values

      Tests:

      • Add and adjust tests to verify that options provided as key=value can be removed by key alone and to assert remaining settings correctly

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: