http://bugzilla.novell.com/show_bug.cgi?id=559534
http://bugzilla.novell.com/show_bug.cgi?id=559534#c46
--- Comment #46 from Stefan Schubert 2009-12-03 16:01:05 UTC ---
I think that could be a workaround:
in the spec file of yast2-webservice:
#---------------------------------------------------------------
# restart yastws on lighttpd update (bnc#559534)
%triggerin -- lighttpd
killproc -i /var/run/yastwc.pid /usr/sbin/lighttpd
if test -f '/var/run/yastws.pid'
rm /var/run/yastws.pid
startproc -p /var/run/yastws.pid -i /var/run/yastwc.pid /usr/sbin/lighttpd -f
/etc/yastws/lighttpd.conf
fi
in the spec file of yast2-webclient:
#---------------------------------------------------------------
# restart yastwc on lighttpd update (bnc#559534)
%triggerin -- lighttpd
killproc -i /var/run/yastws.pid /usr/sbin/lighttpd
if test -f '/var/run/yastwc.pid'
rm /var/run/yastwc.pid
startproc -p /var/run/yastwc.pid -i /var/run/yastws.pid /usr/sbin/lighttpd -f
/etc/yastws/lighttpd.conf
fi
The killproc kills all wrong started lighttpd deamons.
The test -f '/var/run/yastw?.pid' checks if the process has run before.
I have made these calls step by step after the lighttpd package has been
installed and both services are running again.
So I have the hope (if trigger works) we can use this workarounnd.
Any opinions ?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.