Bug 747628 - corosync and cman conflict on /var/log/cluster permissions
Summary: corosync and cman conflict on /var/log/cluster permissions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: corosync
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jan Friesse
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-20 14:41 UTC by Jaroslav Kortus
Modified: 2012-06-20 12:22 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-06-20 12:22:52 UTC
Target Upstream Version:


Attachments (Terms of Use)
Proposed patch (455 bytes, patch)
2012-01-31 08:48 UTC, Jan Friesse
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0777 0 normal SHIPPED_LIVE corosync bug fix and enhancement update 2012-06-19 20:35:04 UTC

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


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