* [Buildroot] Why is /var/log symlinked to a tmpfs?
@ 2017-05-14 12:00 PTaylor.us
2017-05-14 13:56 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: PTaylor.us @ 2017-05-14 12:00 UTC (permalink / raw)
To: buildroot
First, I must say that buildroot is a great tool. Thank you.
I am using buildroot branch 2016.11.x.
Why is /var/log a symlink to /tmp (which is mounted with a tmpfs). My
understanding is that */var/log should be persistent across reboots*. I'm
very curious why the default skeleton was setup like this. It is causing
problems, for one, with journald where the "fix" I've seen suggested on this
mailing list is to set the logging to "volatile".
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Why-is-var-log-symlinked-to-a-tmpfs-tp164905.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Why is /var/log symlinked to a tmpfs?
2017-05-14 12:00 [Buildroot] Why is /var/log symlinked to a tmpfs? PTaylor.us
@ 2017-05-14 13:56 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-05-14 13:56 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 14 May 2017 05:00:00 -0700 (PDT), PTaylor.us wrote:
> First, I must say that buildroot is a great tool. Thank you.
>
> I am using buildroot branch 2016.11.x.
>
> Why is /var/log a symlink to /tmp (which is mounted with a tmpfs). My
> understanding is that */var/log should be persistent across reboots*. I'm
> very curious why the default skeleton was setup like this. It is causing
> problems, for one, with journald where the "fix" I've seen suggested on this
> mailing list is to set the logging to "volatile".
The reason why /var/log is a symlink to a tmpfs is because we want to
support the root filesystem to be mounted read only.
We know the current skeleton has some issues with journald (see
https://bugs.busybox.net/show_bug.cgi?id=7892), and Yann E. Morin is
working on a patch series to address this, see:
https://git.buildroot.org/~ymorin/git/buildroot/log/?h=yem/systemd-skeleton
https://git.buildroot.org/~ymorin/git/buildroot/log/?h=yem/systemd-skeleton-2
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-14 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-14 12:00 [Buildroot] Why is /var/log symlinked to a tmpfs? PTaylor.us
2017-05-14 13:56 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox