It's quite common on the Raspberry Pi to make /var/log a tmpfs, in
order to reduce the number of writes to the SD card that is the pi's
main storage. That's quite acceptable for most logs but I'd like to
make journald's logs persistent so I'll be able to investigate any
crashes more easily.

It's not possible to tell journald to log somewhere other than
/var/log/journal, so I need to bind mount another directory on a
persistent filesystem over /var/log/journal

The question is, where should that other directory be placed in the
filesystem? /var/lib/journal sounds attractive except FHS 3.0 says "...
should not be logging output ...". So where should persistent log files
be kept, if /var/log is a tmpfs?

TIA, Dave
_______________________________________________
fhs-discuss mailing list
fhs-discuss@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/fhs-discuss

Reply via email to