Yaniv Dary has uploaded a new change for review.

Change subject: etl: removed unneeded chown that causes error on service actions
......................................................................

etl: removed unneeded chown that causes error on service actions

The PID file is already created with the correct permissions, so
this chown can be removed. If dwh is stopped a error arises due
to PID file not created yet.

Change-Id: I5a16c47c36fccd177db607f5c64a69c0799912fa
Signed-off-by: Yaniv Dary <[email protected]>
---
M data-warehouse/history_etl/history_service/ovirt-engine-dwhd
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/85/20985/1

diff --git a/data-warehouse/history_etl/history_service/ovirt-engine-dwhd 
b/data-warehouse/history_etl/history_service/ovirt-engine-dwhd
index 234033c..40d8d69 100644
--- a/data-warehouse/history_etl/history_service/ovirt-engine-dwhd
+++ b/data-warehouse/history_etl/history_service/ovirt-engine-dwhd
@@ -56,7 +56,6 @@
     fi
     ETL_PID=$PID_FOLDER/$prog.pid
     chown "${OVIRT_USER}" "${PID_FOLDER}"
-    chown "${OVIRT_USER}" "${ETL_PID}"
 fi
 
 lock_file=/var/lock/subsys/$prog


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a16c47c36fccd177db607f5c64a69c0799912fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Yaniv Dary <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to