Description of problem: The package contains a symlink > /usr/bin/subscription-manager -> /usr/bin/consolehelper but it doesn't require the "usermode" package. Version-Release number of selected component (if applicable): subscription-manager-1.1.4-1.el7.x86_64 Steps to Reproduce: 1. yum remove userhelper 2. Run "subscription-manager" as an unprivileged user Actual results: > Error: this command requires root access to execute Expected results: password prompt
https://github.com/candlepin/subscription-manager/pull/423
commit 30c594fcc5c9fa0b66b2ac40ca0118a4a3ba6884 Author: Bryan Kearney <bkearney> Date: Tue Nov 27 16:15:52 2012 -0500 878588: Move the requires on usermode from subscription-manager-gui to subscription-manager
Fixed in the 1.8.2 version of subscription-manager or python-rhsm
# rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-gui-1.8.3-1.el7.x86_64 subscription-manager-debuginfo-1.8.3-1.el7.x86_64 subscription-manager-1.8.3-1.el7.x86_64 subscription-manager-firstboot-1.8.3-1.el7.x86_64 python-rhsm-debuginfo-1.8.3-1.el7.x86_64 python-rhsm-1.8.3-1.el7.x86_64 subscription-manager-migration-1.8.3-1.el7.x86_64 Running "subscription-manager" and "subscription-manager-gui" as unprivileged user $ subscription-manager You are attempting to run "subscription-manager" which requires administrative privileges, but more information is needed in order to do so. Authenticating as "root" Password: Usage: subscription-manager MODULE-NAME [MODULE-OPTIONS] [--help] Primary Modules: attach Attach a specified subscription to the registered system list List subscription and product information for this system refresh Pull the latest subscription data from the server register Register this system to the Customer Portal or another subscription management service release Configure which operating system release to use remove Remove all or specific subscriptions from this system unregister Unregister this system from the Customer Portal or another subscription management service Other Modules: clean Remove all local system and subscription data without affecting the server config List, set, or remove the configuration parameters in use by this system environments Display the environments available for a user facts View or update the detected system information identity Display the identity certificate for this system or request a new one import Import certificates which were provided outside of the tool orgs Display the organizations against which a user can register a system redeem Attempt to redeem a subscription for a preconfigured system repos List the repositories which this system is entitled to use service-level Manage service levels for this system subscribe Deprecated, see attach unsubscribe Deprecated, see remove version Print version information $ subscription-manager-gui You are attempting to run "subscription-manager-gui" which requires administrative privileges, but more information is needed in order to do so. Authenticating as "root" Password: Traceback (most recent call last): File "/usr/sbin/subscription-manager-gui", line 40, in <module> import dbus.dbus_bindings ImportError: No module named dbus_bindings (This is because subscription-manager-gui is broken) In both senarios, it prompts for password. VERIFIED Adittional Information: To show subscription-manager and subscription-manager-gui are dependant on usermode Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Removing: usermode x86_64 1.111-1.el7 @anaconda/7.0 820 k usermode-gtk x86_64 1.111-1.el7 @rel-eng-latest 220 k Removing for dependencies: rhn-check noarch 1.8.27-8.el7 @rel-eng-compose 40 k rhn-setup noarch 1.8.27-8.el7 @rel-eng-compose 209 k rhnsd x86_64 5.0.4-4.el7 @rel-eng-compose 103 k subscription-manager x86_64 1.8.3-1.el7 @/subscription-manager-1.8.3-1.el7.x86_64 2.4 M subscription-manager-firstboot x86_64 1.8.3-1.el7 @/subscription-manager-firstboot-1.8.3-1.el7.x86_64 29 k subscription-manager-gui x86_64 1.8.3-1.el7 @/subscription-manager-gui-1.8.3-1.el7.x86_64 818 k subscription-manager-migration x86_64 1.8.3-1.el7 @/subscription-manager-migration-1.8.3-1.el7.x86_64 80 k yum-rhn-plugin noarch 1.8.8-3.el7 @rel-eng-compose 204 k Transaction Summary =================================================================================================================================================================================================================== Remove 2 Packages (+8 Dependent packages)
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1332.html