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

`rhc connect` should fail more gracefully when not run as root

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

    • None
    • Low
    • rhel-sst-insights
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      When I tried to run `rhc connect` as a non-root user, I got the following error:

      ```
      $ rhc connect -a <key> -o <org>
      Connecting localhost.localdomain to Red Hat.
      This might take a few seconds.

      write unix @->@/run/dbus-rsEbaYVP5H: write: broken pipe
      ```

      I think `rhc` should be able to detect when it is not being run as root and provide more informative erorot message.

      This was observed on a RHEL for Edge install with `rhc-0.2.1-5.el9.x86_64`

              jhnidek@redhat.com Jiri Hnidek
              miabbott@redhat.com Micah Abbott
              Zdenek Petracek Zdenek Petracek
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: