Bugzilla – Bug 560302
WebYaST init scripts are confused by generic lighttpd
Last modified: 2009-12-04 14:45:54 UTC
In bug 559534 comment 31 (updating lighttpd crashes webyast) I note: > Actually there is a bug where rcyastw[sc] think they are running when in fact only the generic lighttpd is running. It turns out that both checkproc (status) and startproc (start) are invoked with -p $PIDFILE_OF_THIS_SERVICE -i $PIDFILE_OF_THE_OTHER_WEBYAST_HALF, but the program still picks up on the running copy of the generic lighttpd and therefore wrongly reports webyast as already running and does not start it.
If I read the man page right, startproc does not even write a pid file. So we should be just fine forgetting checkproc and startproc and simply checking the pid file and starting lighttpd directly.
In bug 559534 it turned out that startproc had a bug where it ignored -p sometimes. Fixing that, -i is not necessary anymore, yay! http://git.opensuse.org/?p=projects/yast/rest-service.git;a=commitdiff;h=4ab3fbcea1b5aaf42edfdf7a26a1c94fa1d218a0 http://git.opensuse.org/?p=projects/yast/web-client.git;a=commitdiff;h=c827dbff4be050721d48aae7497a3aacf6146c20 yast2-webservice-0.0.19 and yast2-webclient-0.0.28 submitted to YaST:Web:STABLE I will find the fixes for lighttpd ans sysvinit and link them to Devel:WebYaST, then create a separate small repo from their binaries. I will not forward them to SUSE:SLE-11:GA:Products:Test.