Bug 1963151
Summary: | Yum/dnf commands fail for non root user | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rehana <redakkan> |
Component: | subscription-manager | Assignee: | candlepin-bugs |
Status: | CLOSED WORKSFORME | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.5 | Keywords: | Regression, Triaged |
Target Milestone: | beta | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-25 14:47:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rehana
2021-05-21 14:59:36 UTC
The issue appears to be solved in the latest compose : ======================================== # subscription-manager version server type: Red Hat Subscription Management subscription management server: 3.2.18-1 subscription management rules: 5.41 subscription-manager: 1.28.16-1.git.19.dfbe16a.el8 # rpm -q dnf dnf-4.4.2-11.el8.noarch # yum clean all Updating Subscription Management repositories. 0 files removed # su tester $ yum info zsh 2021-05-25 10:45:44,775 [ERROR] yum:17147:MainThread @logutil.py:200 - [Errno 13] Permission denied: '/var/log/rhsm/rhsm.log' - Further logging output will be written to stderr Not root, Subscription Management repositories not updated 2021-05-25 10:45:44,777 [ERROR] yum:17147:MainThread @identity.py:156 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 13] Permission denied: '/etc/pki/consumer/key.pem' No read/execute access in current directory, moving to / Last metadata expiration check: 0:00:55 ago on Tue 25 May 2021 10:44:50 AM EDT. Available Packages Name : zsh Version : 5.5.1 Release : 6.el8_1.2 Architecture : x86_64 Size : 2.9 M Source : zsh-5.5.1-6.el8_1.2.src.rpm Repository : rhel-8-for-x86_64-baseos-rpms Summary : Powerful interactive shell URL : http://zsh.sourceforge.net/ License : MIT Description : The zsh shell is a command interpreter usable as an interactive login : shell and as a shell script command processor. Zsh resembles the ksh : shell (the Korn shell), but includes many enhancements. Zsh supports : command line editing, built-in spelling correction, programmable : command completion, shell functions (with autoloading), a history : mechanism, and more. $ yum module list postgresql 2021-05-25 10:45:51,202 [ERROR] yum:17153:MainThread @logutil.py:200 - [Errno 13] Permission denied: '/var/log/rhsm/rhsm.log' - Further logging output will be written to stderr Not root, Subscription Management repositories not updated 2021-05-25 10:45:51,206 [ERROR] yum:17153:MainThread @identity.py:156 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 13] Permission denied: '/etc/pki/consumer/key.pem' No read/execute access in current directory, moving to / Last metadata expiration check: 0:01:01 ago on Tue 25 May 2021 10:44:50 AM EDT. Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) Name Stream Profiles Summary postgresql 9.6 client, server [d] PostgreSQL server and client module postgresql 10 [d] client, server [d] PostgreSQL server and client module postgresql 12 client, server PostgreSQL server and client module postgresql 13 client, server PostgreSQL server and client module Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled |