Bug 747628

Summary: corosync and cman conflict on /var/log/cluster permissions
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Kortus <jkortus>
Component: corosyncAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.2CC: cluster-maint, sdake
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: corosync-1.4.1-5.el6 Doc Type: Bug Fix
Doc Text:
Cause Install both RPM for corosync and cman. Both packages owns same directory but with different rights. Consequence rpm verify fails ether on corosync or cman Fix Ship corosync rpm with same rights as cman does. Result rpm verify no longer fails.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:22:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 756082    
Attachments:
Description Flags
Proposed patch none

Description Jaroslav Kortus 2011-10-20 14:41:27 UTC
Description of problem:
corosync sets the permissions for /var/log/cluster to 700.
cman sets the permissions to 755.

The problem is that rpm -qV will always fail on at least one of them.
(09:36:17) [root@marathon-01:/var/log]$ rpm -qV cman
(09:36:20) [root@marathon-01:/var/log]$ rpm -qV corosync
.M.......    /var/log/cluster

Version-Release number of selected component (if applicable):
corosync-1.4.1-4.el6.x86_64
cman-3.0.12.1-23.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. rpm -qV corosync cman
2.
3.
  
Actual results:

.M.......    /var/log/cluster

Expected results:
no differences reported by rpm -qV

Additional info:

Comment 1 Steven Dake 2011-10-20 14:49:35 UTC
change 700 to 755 in %attr in spec file

Comment 3 Jan Friesse 2012-01-31 08:48:34 UTC
Created attachment 558566 [details]
Proposed patch

Comment 5 Jan Friesse 2012-03-07 07:35:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
Install both RPM for corosync and cman. Both packages owns same directory but with different rights.

Consequence
rpm verify fails ether on corosync or cman

Fix
Ship corosync rpm with same rights as cman does.

Result
rpm verify no longer fails.

Comment 8 errata-xmlrpc 2012-06-20 12:22:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0777.html