https://bugzilla.novell.com/show_bug.cgi?id=862076
https://bugzilla.novell.com/show_bug.cgi?id=862076#c9
--- Comment #9 from Robert Milasan 2014-02-04 13:20:43 UTC ---
Actually it should be both:
%post
%service_add_post blk-availability.service lvm2-monitor.service
lvm2-lvmetad.socket
/usr/bin/systemctl enable lvm2-lvmetad.socket
[ -x /sbin/mkinitrd ] && /sbin/mkinitrd
/sbin/ldconfig
%preun
%service_del_preun blk-availability.service lvm2-monitor.service
lvm2-lvmetad.socket lvm2-lvmetad.service
You see that at %preun lvm2-lvmetad.service is remove, but not added at %post,
so
We should do:
%service_add_post blk-availability.service lvm2-monitor.service
lvm2-lvmetad.socket lvm2-lvmetad.service
/usr/bin/systemctl enable lvm2-lvmetad.socket
/usr/bin/systemctl enable lvm2-lvmetad.service
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.