Yaniv Bronhaim has uploaded a new change for review. Change subject: Avoid spec error outputs during installing VDSM ......................................................................
Avoid spec error outputs during installing VDSM Calling to vdsm-tool inside spec file can raise exceptions. We should direct stderr to /dev/null in each call. This miss that was fixed by this patch leaded to exception print during downgrading vdsm from 3.4 to 3.3. Change-Id: I1b88efcf4bea3a841c1ff9795af90cf75df44b7d Signed-off-by: Yaniv Bronhaim <[email protected]> --- M vdsm.spec.in 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/54/23454/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index a97045b..fb01ab2 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -679,9 +679,9 @@ /usr/sbin/usermod -a -G %{qemu_group},%{snlk_group} %{vdsm_user} %post -%{_bindir}/vdsm-tool sebool-config || : +%{_bindir}/vdsm-tool sebool-config >/dev/null 2>&1 || : # set the vdsm "secret" password for libvirt -%{_bindir}/vdsm-tool set-saslpasswd +%{_bindir}/vdsm-tool set-saslpasswd >/dev/null 2>&1 || : # Have moved vdsm section in /etc/sysctl.conf to /etc/sysctl.d/vdsm.conf. # So Remove them if it is played with /etc/sysctl.conf. -- To view, visit http://gerrit.ovirt.org/23454 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1b88efcf4bea3a841c1ff9795af90cf75df44b7d 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
