Doron Fediuck has submitted this change and it was merged.

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


pki: use relative lock file

Current implementation uses /var/lock/ovirt-engine/* to perform lock of
pki operations.

Problem in current implementation is that /var/lock may be cleared on
distributions so no ovirt-engine exists. Also, in development mode there
is no access to /var directory.

The new implementation uses persistent SignReq.lock file which is
relative to SignReq.sh at PREFIX/etc, which is a valid location.

Change-Id: I4274778254167db8f632908a9bdcc0d6ad284b3e
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M Makefile
A backend/manager/conf/ca/SignReq.lock
M backend/manager/conf/ca/SignReq.sh
M backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/hostinstall/OpenSslCAWrapper.java
M packaging/fedora/spec/ovirt-engine.spec.in
8 files changed, 8 insertions(+), 43 deletions(-)

Approvals:
  Doron Fediuck: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4274778254167db8f632908a9bdcc0d6ad284b3e
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to