Bug 1001636 - [Account] Add locking mechanism
Summary: [Account] Add locking mechanism
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openlmi-providers
Version: 7.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Robin Hack
URL:
Whiteboard:
: 1001016 (view as bug list)
Depends On:
Blocks: 1001490
TreeView+ depends on / blocked
 
Reported: 2013-08-27 12:35 UTC by Robin Hack
Modified: 2015-03-03 23:06 UTC (History)
3 users (show)

Fixed In Version: openlmi-providers-0.3.0-1.el7
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:38:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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