Bug 1323757 - dnf group summary fails with EPERM
Summary: dnf group summary fails with EPERM
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 15:40 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2016-04-11 11:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 11:41:12 UTC
Type: Bug


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2016-04-04 15:40:20 UTC
Description of problem:
$ dnf group summary
Last metadata expiration check: 0:00:48 ago on Mon Apr  4 11:34:01 2016.
[Errno 13] Permission denied: '/var/lib/dnf/groups.json'

$ ls -l /var/lib/dnf/groups.json
-rw-r--r--. 1 root root 1753 Jul 16  2015 /var/lib/dnf/groups.json

After running 'sudo dnf group summary', running it again as a normal user succeeds. So the failure is transient.

Version-Release number of selected component (if applicable):
dnf-1.1.7-2.fc23.noarch

Comment 1 Michael Mráka 2016-04-05 08:01:08 UTC
By chance are there any selinux denials in audit log?

Comment 2 Zbigniew Jędrzejewski-Szmek 2016-04-05 12:59:08 UTC
No, afaict (I can see the log entry for sudo, and nothing before that for ~30 min).

BTW, I'm running in enforcing mode, selinux-policy-targeted, Fedora defaults.

Feel free to close this for now, if it happens again I'll try to gather more information.


Note You need to log in before you can comment on or make changes to this bug.