Project

General

Profile

Actions

Bug #35366

closed

dnf can't load foreman-protector.py as a regular user

Added by Evgeni Golov over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
-

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:

Actions #1

Updated by The Foreman Bot over 1 year 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
Actions #2

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.5.0 added
Actions #3

Updated by Evgeni Golov over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden over 1 year 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
Actions #5

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/8799 added
Actions #6

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/9045 added
Actions

Also available in: Atom PDF