Change in vdsm[master]: packaging: move /rhev/data-center to /var/lib/vdsm/data-cent...

ewoud at kohlvanwijngaarden.nl ewoud at kohlvanwijngaarden.nl
Tue Oct 30 15:05:34 UTC 2012


Ewoud Kohl van Wijngaarden has posted comments on this change.

Change subject: packaging: move /rhev/data-center to /var/lib/vdsm/data-center
......................................................................


Patch Set 4: I would prefer that you didn't submit this

(1 inline comment)

+1 to the idea, just an inline comment I want answered even if it's 'I thought about it'.

....................................................
File vdsm.spec.in
Line 465: if [ -d /rhev/data-center -a -z "$(ls %{vdsmrepodir}/hsm-tasks)" ]; then
Line 466:     mv /rhev/data-center %{vdsmrepodir}/data-center.new && \
Line 467:         rm -rf %{vdsmrepodir} &&
Line 468:         mv %{vdsmrepodir}.new %{vdsmrepodir} &&
Line 469:         rm -rf /rhev
Are you sure you want to rm -rf /rhev and not rmdir --ignore-fail-on-non-empty /rhev. I think it's unlikely users stored something else in /rhev, but it might happen.
Line 470: fi
Line 471: 
Line 472: # set the vdsm "secret" password for libvirt
Line 473: %{_bindir}/vdsm-tool set-saslpasswd


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I4ed316fedbf2e4d7e5bf741b7c77a39704994ae7
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Ewoud Kohl van Wijngaarden <ewoud at kohlvanwijngaarden.nl>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Ryan Harper <ryanh at us.ibm.com>


More information about the vdsm-patches mailing list