Bug 2186067 - glances owns /etc/glances/glances.conf, but not /etc/glances (which is unowned)
Summary: glances owns /etc/glances/glances.conf, but not /etc/glances (which is unowned)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glances
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-12 02:31 UTC by "FeRD" (Frank Dana)
Modified: 2023-07-07 01:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-07 01:47:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description "FeRD" (Frank Dana) 2023-04-12 02:31:32 UTC
Description of problem:
The current glances package in F37 owns the file /etc/glances/glances.conf, but it does not own the parent directory — which is, at least in my install, currently unowned.

Version-Release number of selected component (if applicable):
glances-3.3.1-3.fc37

How reproducible:
100%

Steps to Reproduce:
1. sudo dnf install glances
2. rpm -qf /etc/glances /etc/glances/glances.conf

Actual results:
glances-3.3.1-3.fc37.noarch
file /etc/glances is not owned by any package

Expected results:
glances-3.3.1-3.fc37.noarch
glances-3.3.1-3.fc37.noarch

Additional info:
Per the Packaging Guidelines[1], unowned directories are not permitted. To address this, the %files section of glances.spec should include this line:

%dir %{_sysconfdir}/glances


[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership

Comment 1 "FeRD" (Frank Dana) 2023-04-12 02:44:16 UTC
I've submitted https://src.fedoraproject.org/rpms/glances/pull-request/5 with the fix for this issue.

Comment 2 "FeRD" (Frank Dana) 2023-07-07 01:47:35 UTC
The PR was merged, closing this.


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