As you can see, there's a bug in /etc/init.d/webfs. The log option is never added to WEBFS_LOG because of a typo: [[ -n "${WEBFS_LOG}" ]] && WEBF_OPTS="${WEBFS_OPTS} -l ${WEBFS_LOG}" ^^^^^^^^^ And while you're at it, change -l to -L which flushes with every request. From man webfsd: -l log Log all requests to the logfile >log< (common log format). Using "-" as filename makes webfsd print the access log to stdout, which is only useful together with the -F switch (see below). -L log Same as above, but additional flush every line. Useful if you want monitor the logfile with tail -f. Thanks and best regards, Norberto
We might even fix it if you post the ebuild name... :)
Created attachment 109145 [details, diff] Patch for /usr/portage/www-servers/webfs/files/webfs.initd
You're waaay to fast jakub :) The ebuild is /usr/portage/www-servers/webfs/webfs-1.21.ebuild But just patching files/webfs.initd is enough
Added patch. Reopen bug
Thanks. :)
fixed in cvs. thanks for the report!
Hello guys! The problem surfaced again :( # ps ax | grep webfsd # /etc/init.d/webfs start webfs |* Caching service dependencies... [ ok ] webfs |* Starting webfsd... [ ok ] # ps ax | grep webfsd 4630 ? Ss 0:00 /usr/bin/webfsd -p 80 -f index.html -t 30 -c 3 -u web -g web -r /opt/www/localhost/ -L /var/log/webfsd.log -c 10 -n localhost -j # /etc/init.d/webfs stop webfs |* Stopping webfsd... [ ok ] but the daemon is still running: # ps ax | grep webfsd 4630 ? Ss 0:00 /usr/bin/webfsd -p 80 -f index.html -t 30 -c 3 -u web -g web -r /files/www/localhost/ -L /var/log/webfsd.log -c 10 -n rabbit.avp.ru -j I use the latest webfs package: # equery l webfs * Searching for webfs ... [IP-] [ ] www-servers/webfs-1.21-r1 (0) Regards, Pavel Raykov
(In reply to comment #7) > but the daemon is still running: > > # ps ax | grep webfsd > 4630 ? Ss 0:00 /usr/bin/webfsd -p 80 -f index.html -t 30 -c 3 -u > web -g web -r /files/www/localhost/ -L /var/log/webfsd.log -c 10 -n > rabbit.avp.ru -j oops, a was forget to hide my options, please read text above as: but the daemon is still running: # ps ax | grep webfsd 4630 ? Ss 0:00 /usr/bin/webfsd -p 80 -f index.html -t 30 -c 3 -u web -g web -r /opt/www/localhost/ -L /var/log/webfsd.log -c 10 -n localhost -j ;] Regards, Pavel Raykov