Description of problem: [djuran@localhost ~]$ rpm -q --scripts keepalived postinstall scriptlet (using /bin/sh): %systemd_post keepalived.service preuninstall scriptlet (using /bin/sh): %systemd_preun keepalived.service postuninstall scriptlet (using /bin/sh): %systemd_postun_with_restart keepalived.service Version-Release number of selected component (if applicable): keepalived-1.2.8-1.fc19
Looks like I forgot the BuildRequires: systemd in the spec file. I also changed Requires(post,preun,postun) to systemd. Thanks for catching this bug.
With fix: $ rpm -q --scripts keepalived postinstall scriptlet (using /bin/sh): if [ $1 -eq 1 ] ; then # Initial installation /usr/bin/systemctl preset keepalived.service >/dev/null 2>&1 || : fi preuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ] ; then # Package removal, not upgrade /usr/bin/systemctl --no-reload disable keepalived.service > /dev/null 2>&1 || : /usr/bin/systemctl stop keepalived.service > /dev/null 2>&1 || : fi postuninstall scriptlet (using /bin/sh): /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ] ; then # Package upgrade, not uninstall /usr/bin/systemctl try-restart keepalived.service >/dev/null 2>&1 || : fi
keepalived-1.2.8-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/keepalived-1.2.8-2.fc19
keepalived-1.2.8-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/keepalived-1.2.8-2.fc20
Problem with the fix is that the %preuninstall of the old package fails so if you run "yum update", you'll end up with both the new and the old version. On the other hand, I'm not sure how to fix this in a good way either )-:
Package keepalived-1.2.8-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing keepalived-1.2.8-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-17193/keepalived-1.2.8-2.fc19 then log in and leave karma (feedback).
keepalived-1.2.8-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
keepalived-1.2.8-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.