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

Running subscription-manager through userhelper causes a coredump

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • rhel-9.5
    • usermode
    • No
    • Critical
    • rhel-base-utils-core
    • ssg_core_services
    • None
    • False
    • False
    • Hide

      None

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

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

      Running subscription-manager as an unprivileged user runs the program through consolehelper and then userhelper to elevate permissions. When subscription manager is run this way the userhelper wrapper coredumps. However, the wrapped subscription-manager completes successfully

      What is the impact of this issue to you?

      In our CI/CD pipeline that we use to test configuration changes, our unregistration commands were not working because the coredump caused a non-zero exit code. We have implemented a workaround by calling the actual subscription-manager binary in /usr/sbin.

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

      usermode-1.114-5.el9.x86_64

      subscription-manager-1.29.42-1.el9.x86_64

      How reproducible is this bug?:

      I can reproduce it every time

      Steps to reproduce

      1. Create a RHEL 9.5 test environment
      2. Run subscription-manager list as an unprivileged user
      3. Enter the root pass when prompted by the userhelper wrapper

      Expected results

      Seeing the output of the subscription-manager list command

      Actual results

      Seeing the output of the subscription-manager list command plus the "Aborted (core dumped)" text.

              mhlavink Michal Hlavinka
              mihai.petracovici@colorado.edu Mihai Petracovici (Inactive)
              Michal Hlavinka Michal Hlavinka
              RHEL SST CS base utils QE Bot RHEL SST CS base utils QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: