Bug 1371215

Summary: [6.9] udev applies permission changes only on add events
Product: Red Hat Enterprise Linux 6 Reporter: Michal Sekletar <msekleta>
Component: udevAssignee: Michal Sekletar <msekleta>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.9CC: aperotti, chorn, cww, dornelas, fkrska, gveitmic, jherrman, jpittman, jreznik, lpol, mgandhi, mkalinin, tjko, udev-maint-list
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the udev device manager applied permission changes only on add events. As a consequence, using the VDSM service to connect to storage pools failed. This update ensures that udev changes permissions on all appropriate events, which enables VDSM to connect to storage pools properly.
Story Points: ---
Clone Of:
: 1371452 1371454 1371455 1371457 (view as bug list) Environment:
Last Closed: 2017-05-24 14:32:19 UTC Type: Bug
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: 1269194, 1371452, 1371454, 1371455, 1371457    

Description Michal Sekletar 2016-08-29 15:10:54 UTC
Description of problem:
$subject

Version-Release number of selected component (if applicable):
udev-147-2.73.el6_8.1	
udev-147-2.57.el6_6.1	
udev-147-2.63.el6_7.2	
udev-147-2.51.el6_5.2

How reproducible:
unsure

Steps to Reproduce:
1. Try to connect storage pool in RHEV-M

Actual results:
jsonrpc.Executor-worker-6::DEBUG::2016-08-26 13:30:01,632::blockSD::336::Storage.Misc.excCmd::(readlines) FAILED: <err> = "/bin/dd: opening `/dev/341ce77c-5437-4609-9307-1256d0954f2d/metadata': Permission denied\n"; <rc> = 1

Errors like one above in vdsm log file

Expected results:
VDSM connects storage pool without any problems

Additional info:
This is a regression caused by fix for #1354690

Comment 1 Michal Sekletar 2016-08-29 15:13:11 UTC
To get this fixed ASAP I propose to revert patches that went in as fix for bug 1354690.

Comment 11 Michal Sekletar 2016-09-09 10:22:42 UTC
*** Bug 1373659 has been marked as a duplicate of this bug. ***

Comment 12 Michal Sekletar 2016-09-09 10:23:54 UTC
*** Bug 1371503 has been marked as a duplicate of this bug. ***