From: Titouan Christophe via buildroot <buildroot@buildroot.org>
To: Fiona Klute <fiona.klute@gmx.de>, buildroot@buildroot.org
Cc: "Julien Olivain" <ju.o@free.fr>, "Bernd Kuhls" <bernd@kuhls.net>,
"Hervé Codina" <herve.codina@bootlin.com>
Subject: Re: [Buildroot] [PATCH 1/2] package/apache: use "Debian" filesystem layout to fix read-only rootfs
Date: Sat, 22 Aug 2026 14:41:46 +0200 [thread overview]
Message-ID: <a0709e52-e943-4997-95a7-debf06f294b4@mind.be> (raw)
In-Reply-To: <20260701230410.2522114-1-fiona.klute@gmx.de>
On 2/07/26 01:04, Fiona Klute via buildroot wrote:
> The previous configuration placed both logs and PID file in /var/logs,
> which is not writable with a read-only rootfs (e.g. squashfs), as well
> as non-standard. Starting HTTPD during boot failed with:
>
> (30)Read-only file system: AH00091: httpd: could not open error log file /var/logs/error_log.
> AH00015: Unable to open logs
>
> An additional issue was that the Buildroot-default --prefix=/usr
> override meant various Apache-internal directories (e.g. htdocs) were
> placed directly in /usr. Note that the upstream default prefix is
> /usr/local/apache2, not /usr/local.
>
> Using the "Debian" layout provides a standard-compatible layout with
> logs in /var/log/apache2 and PID file in /var/run/apache2 (both in
> tmpfs with the default Buildroot fstab). Both directories need to
> exist when the server starts, so handle that in the init script.
>
> Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Series applied to 2025.02.x and 2026.05.x, thanks !
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-08-22 12:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 23:04 [Buildroot] [PATCH 1/2] package/apache: use "Debian" filesystem layout to fix read-only rootfs Fiona Klute via buildroot
2026-07-01 23:04 ` [Buildroot] [PATCH 2/2] support/testing: TestApache: use read-only rootfs image Fiona Klute via buildroot
2026-08-16 15:04 ` [Buildroot] [PATCH 1/2] package/apache: use "Debian" filesystem layout to fix read-only rootfs Thomas Petazzoni via buildroot
2026-08-22 12:41 ` Titouan Christophe via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0709e52-e943-4997-95a7-debf06f294b4@mind.be \
--to=buildroot@buildroot.org \
--cc=bernd@kuhls.net \
--cc=fiona.klute@gmx.de \
--cc=herve.codina@bootlin.com \
--cc=ju.o@free.fr \
--cc=titouan.christophe@mind.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox