Bug 1296938 - [RFE] dnf read only history for non-root users
Summary: [RFE] dnf read only history for non-root users
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: All
OS: Linux
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-08 13:43 UTC by Ed Avis
Modified: 2016-11-30 10:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-30 10:03:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ed Avis 2016-01-08 13:43:07 UTC
'dnf history' does not work as non-root, not even for read-only history queries.

I understand that on many systems it may be a policy decision not to allow non-root to view the history of package updates, and this bug is not necessarily a request to change that default.  And yet, the underlying rpm database is available for read-only access to ordinary users; and requiring a read-only report of package changes to run as root ends up expanding the number of things that require root access, which may end up weakening rather than strengthening security.

Please add a documented way to allow read-only history operations ('dnf history list', 'dnf history info') to be run by non-root users.

Comment 1 Honza Silhan 2016-01-11 13:18:29 UTC
It's a valid point.

Comment 2 Fedora Admin XMLRPC Client 2016-07-08 09:36:35 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2016-11-24 14:47:23 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Honza Silhan 2016-11-30 10:03:47 UTC
There might be security issues when it's readable by user. History used to be readable in yum but security team requested to change that.


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