Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-0040.html
Description of problem: 1. first issue: --------------- Post-install db list: -%- sasldblistusers2 -f /etc/libvirt/passwd.db vdsm@rhevh: userPassword -%- -%- # rpm -ev mom vdsm vdsm-python vdsm-python-cpopen vdsm-xmlrpc saslpasswd2: user not found /var/tmp/rpm-tmp.qYSj9k: line 22: syntax error near unexpected token `fi' /var/tmp/rpm-tmp.qYSj9k: line 22: `fi' warning: %postun(vdsm-4.13.2-0.2.rc.el6ev.x86_64) scriptlet failed, exit status 2 -%- But now it tried to delete vdsm@ovirt! -%- if [ "$1" -eq 0 ] then /sbin/service vdsmd stop > /dev/null 2>&1 || : /sbin/chkconfig --del vdsmd /sbin/service supervdsmd stop > /dev/null 2>&1 || : /sbin/chkconfig --del supervdsmd /sbin/chkconfig --del vdsm-restore-net-config /bin/sed -i '/# VDSM section begin/,/# VDSM section end/d' \ /etc/sysctl.conf /usr/bin/vdsm-tool sebool-unconfig || : /usr/sbin/saslpasswd2 -p -a libvirt -d vdsm@ovirt if /sbin/initctl status libvirtd >/dev/null 2>/dev/null ; then /sbin/initctl stop libvirtd >/dev/null 2>/dev/null rm -f /etc/init/libvirtd.conf /sbin/chkconfig libvirtd on /sbin/service libvirtd start >/dev/null fi fi -%- 2. issue --------- -%- D: erase: %postun(vdsm-4.13.2-0.2.rc.el6ev.x86_64) scriptlet start D: erase: %postun(vdsm-4.13.2-0.2.rc.el6ev.x86_64) execv(/bin/sh) pid 27917 + '[' 0 -ge 1 ']' + '[' '' = yes ']' + '[' '' = yes ']' /var/tmp/rpm-tmp.Y4Dxrh: line 23: syntax error near unexpected token `fi' /var/tmp/rpm-tmp.Y4Dxrh: line 23: `fi' D: erase: waitpid(27917) rc 27917 status 200 secs 0.012 warning: %postun(vdsm-4.13.2-0.2.rc.el6ev.x86_64) scriptlet failed, exit status 2 -%- Bogus line - 15! -%- # rpm --scripts -qp vdsm-4.13.2-0.2.rc.el6ev.x86_64.rpm | sed -n '/postun/,$p' | tail -n +2 | cat -nvte 1 if [ "$1" -ge 1 ]; then$ 2 supervdsmd_start_required='no'$ 3 vdsmd_start_required='no'$ 4 if /usr/bin/vdsm-tool service-status vdsmd >/dev/null 2>&1; then$ 5 /usr/bin/vdsm-tool service-stop vdsmd >/dev/null 2>&1$ 6 vdsmd_start_required='yes'$ 7 fi$ 8 if /usr/bin/vdsm-tool service-status supervdsmd >/dev/null 2>&1; then$ 9 /usr/bin/vdsm-tool service-stop supervdsmd >/dev/null 2>&1$ 10 supervdsmd_start_required='yes'$ 11 fi$ 12 $ 13 /usr/bin/vdsm-tool libvirt-configure >/dev/null 2>&1$ 14 $ 15 fi$ 16 if [ "${supervdsmd_start_required}" = 'yes' ]; then$ 17 /usr/bin/vdsm-tool service-start supervdsmd >/dev/null 2>&1$ 18 fi$ 19 if [ "${vdsmd_start_required}" = 'yes' ]; then$ 20 /usr/bin/vdsm-tool service-start vdsmd >/dev/null 2>&1$ 21 fi$ 22 fi$ 23 exit 0$ -%- Version-Release number of selected component (if applicable): is26 - vdsm-4.13.2-0.2.rc.el6ev.x86_64.rpm How reproducible: 100% Steps to Reproduce: 1. rpm -ev vdsm 2. 3. Actual results: rpm -ev vdsm saslpasswd2: user not found /var/tmp/rpm-tmp.BS96EV: line 22: syntax error near unexpected token `fi' /var/tmp/rpm-tmp.BS96EV: line 22: `fi' warning: %postun(vdsm-4.13.2-0.2.rc.el6ev.x86_64) scriptlet failed, exit status 2 Expected results: no failure, no spam Additional info: