[OE-core] [PATCH V2 09/10] lighttpd: make /www diretory writable in read-only rootfs
ChenQi
Qi.Chen at windriver.com
Tue Jul 30 05:33:36 UTC 2013
On 07/29/2013 11:56 PM, Burton, Ross wrote:
> On 29 July 2013 03:33, <Qi.Chen at 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
>
>
More information about the Openembedded-core
mailing list