Bug 1001636

Summary: [Account] Add locking mechanism
Product: Red Hat Enterprise Linux 7 Reporter: Robin Hack <rhack>
Component: openlmi-providersAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED CURRENTRELEASE QA Contact: Robin Hack <rhack>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.1CC: psklenar, tbzatek, tsmetana
Target Milestone: rcKeywords: Rebase, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openlmi-providers-0.3.0-1.el7 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:38:35 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: 1001490    

Comment 2 Roman Rakus 2013-08-27 13:09:28 UTC
reopening - I will take a look on this anyway. Seems the problem is in libuser - it is not able to handle more requests in short time.

"backup file size mismatch" is message from lu_files_create_backup() in libuser. I think it is used to create temp backup file of /etc/passwd (or other modified file). I think it is due to handling too much requests in short time.

Comment 4 Roman Rakus 2013-08-28 13:10:01 UTC
This is locking issue - Will implement some (basic) locking.

Comment 5 Roman Rakus 2013-09-04 12:08:24 UTC
*** Bug 1001016 has been marked as a duplicate of this bug. ***

Comment 9 Robin Hack 2014-01-08 08:54:03 UTC
This has been partialy fixed in AccountProvider (only in little part of code).
But still there will be troubles with locking and race conditions.

Should I made this pass?

Comment 12 Ludek Smid 2014-06-13 09:38:35 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.