On 07/29/2013 11:56 PM, Burton, Ross wrote:
On 29 July 2013 03:33, <qi.c...@windriver.com> wrote:
+ echo "/www /var/volatile/www" > ${D}${sysconfdir}/default/readonly/lighttpd
/www is the default lighttpd document root, where the web sites are
stored, so putting them in a tmpfs would be very wrong indeed.
Why does lightttp need write access? If it's putting logs in there
Yes. Exactly the log issue.
After some thinking, I think I'll just drop this patch.
Because even if I move the log location to /var/log/xxx, it will not
make the situation any better, as the /www directory is still not writable.
So I think, at this point, we should not do too much.
I'll assume that if the user is using a read-only rootfs and his system
is holding a website, maybe he'll just mount some writable media to /www.
Best Regards,
Chen Qi
then they should be in /var/log, PIDs in /run and so on.
Ross
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core