http://bugzilla.opensuse.org/show_bug.cgi?id=1155792
http://bugzilla.opensuse.org/show_bug.cgi?id=1155792#c1
Andrei Borzenkov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arvidjaar@gmail.com,
| |bliu@suse.com,
| |systemd-maintainers@suse.de
| |, yren@suse.com
--- Comment #1 from Andrei Borzenkov ---
Corosync %post includes
%{fillup_and_insserv -n corosync}
%service_add_post corosync.service corosync-notifyd.service
expansion of %fillup_and_insserv resets parameters, like
...
set -- $INSSRV_ARRAY
while [ ${#*} -gt 0 ] ; do
SCRIPTNAME=$1
SV_VALUE=$2
shift 2
so %service_add_post which expands to
...
if [ $1 -eq 1 ]; then
...
gets empty $1.
I guess %service_add_post and other systemd-rpm-macros need follow the suite of
%fillup_and_insserv:
test -n "$FIRST_ARG" || FIRST_ARG=$1
...
if test "$FIRST_ARG" = "1" -a "$SV_VALUE" = "no" ; then
corosync will then need to be rebuilt against updated systemd-rmp-macros.
Cc corosync and systemd maintainers.
--
You are receiving this mail because:
You are on the CC list for the bug.