Bug 1182318 - Wrong permission of /var/account/pacct in psacct package
Summary: Wrong permission of /var/account/pacct in psacct package
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: psacct
Version: 5.11
Hardware: All
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Jan Rybar
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 1182317 1249665
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-14 20:35 UTC by Paulo Andrade
Modified: 2016-06-30 11:43 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-30 11:43:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Paulo Andrade 2015-01-14 20:35:09 UTC
RPM psacct specifies the file /var/account/pacct as a ghost file with permissions 640, but after installation the file has permission 644, causing rpm verficiation and subsequent compliance check failures.

A simple psacct.spec pseudo patch would be:

-%attr(0600,root,root)   %ghost %config %{accounting_logdir}/pacct
+%attr(0644,root,root)   %ghost %config %{accounting_logdir}/pacct

Comment 1 Jaromír Cápík 2016-01-11 14:20:10 UTC
The permissions need to stay 0600 ... the right fix is here:
https://bugzilla.redhat.com/show_bug.cgi?id=1182317#c9

Comment 3 Jan Rybar 2016-06-07 11:25:44 UTC
This is not a critical bug for RHEL5 and is considered for patch in further versions of RHEL, namely https://bugzilla.redhat.com/show_bug.cgi?id=1182317 and https://bugzilla.redhat.com/show_bug.cgi?id=1249665 (Red Hat internal).
This BZ for RHEL5 is proposed to be closed.

Comment 4 Jan Rybar 2016-06-30 11:43:22 UTC
This bug will not be fixed in this version for the reasons mentioned in Comment 3. The bug is fixed in further versions of RHEL - https://bugzilla.redhat.com/show_bug.cgi?id=1249665


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