Yaniv Bronhaim has uploaded a new change for review.

Change subject: Remove libvirt configure code from debian prerm script
......................................................................

Remove libvirt configure code from debian prerm script

The code which configure related services conf files is currently part
of vdsm-tool configure verb. This verb is being called by ovirt deploy
or manually by the user. This patch removes leftovers which were forgot
in debian packaging code.

Change-Id: I5c428fd9d2da431f59e5d54a09ef5a9f7c323555
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M debian/vdsm.prerm
1 file changed, 0 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/67/39767/1

diff --git a/debian/vdsm.prerm b/debian/vdsm.prerm
index 7f647a9..1a05277 100644
--- a/debian/vdsm.prerm
+++ b/debian/vdsm.prerm
@@ -22,21 +22,6 @@
         initctl stop vdsmd || :
         initctl stop supervdsmd || :
 
-        start_conf_section="## beginning of configuration section by vdsm"
-        end_conf_section="## end of configuration section by vdsm"
-        by_vdsm="by vdsm"
-
-        sed -i -e "/${start_conf_section}/,/${end_conf_section}/d" \
-                    -e "/${by_vdsm}/d" \
-               /etc/default/libvirt-bin \
-               /etc/libvirt/libvirtd.conf \
-               /etc/libvirt/qemu.conf \
-               /etc/logrotate.d/libvirtd \
-               /etc/sysctl.conf \
-               /etc/default/sanlock
-
-        # Restoring backuped logrotate.d/libvirtd
-        sed -i -e 's/# VDSM backup//' /etc/logrotate.d/libvirtd
         saslpasswd2 -p -a libvirt -d vdsm@ovirt
     ;;
 


-- 
To view, visit https://gerrit.ovirt.org/39767
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c428fd9d2da431f59e5d54a09ef5a9f7c323555
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to