Change in ovirt-engine[master]: pki: use local lock file

yzaslavs at redhat.com yzaslavs at redhat.com
Wed Jun 26 09:44:16 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: pki: use local lock file
......................................................................


pki: use local lock file

remote file systems do not always support file locking using flock.

use lock file within /tmp to ensure local file system usage.

this has the side effect of leaving leftover file.

the alternative is to use symlink primitive lock loop which is more
complex.

Change-Id: I1d82032defcbcf7248ae24092deaf061ce7905fd
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M packaging/bin/pki-enroll-request.sh
1 file changed, 15 insertions(+), 1 deletion(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/15812
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1d82032defcbcf7248ae24092deaf061ce7905fd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>



More information about the Engine-commits mailing list