Bug #35366
closeddnf can't load foreman-protector.py as a regular user
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2118252
Description of problem:
$ dnf search lol
Failed loading plugin "foreman-protector": [Errno 13] Permission denied: '/usr/lib/python3.6/site-packages/dnf-plugins/foreman-protector.py'
…
(the rest of the execution works fine, but the warning is rather useless)
Fixing this, you get:
$ dnf search lol
Last metadata expiration check: 0:07:59 ago on Mon 15 Aug 2022 08:14:13 AM UTC.
Error: Incorrect plugin configuration!
and only after fixing the config perms, you get:
$ dnf search lol
Last metadata expiration check: 0:09:20 ago on Mon 15 Aug 2022 08:14:13 AM UTC.
No matches found.
Version-Release number of selected component (if applicable):
6.11
How reproducible:
100%
Steps to Reproduce:
1. dnf search foreman
2.
3.
Actual results:
warnings
Expected results:
no warnings
Additional info:
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Evgeni Golov
- Pull request https://github.com/theforeman/foreman-packaging/pull/8349 added
Updated by Evgeni Golov about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman-packaging|35b077c56e1e2fa49f817449be48ad99a92f404e.
Updated by Ewoud Kohl van Wijngaarden almost 2 years ago
- Subject changed from dnf can't load foreman-protector.py as a regular user to dnf can't load foreman-protector.py as a regular user
- Category set to RPMs
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/8799 added
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/9045 added