Files
Arch-R/packages/sysutils
Matthias Reichl d85c804c75 busybox: cleanup persistent log setup when debugging is enabled
The ancient approach of symlinking /var/log to /storage/log doesn't
play nice with systemd as it doesn't setup proper dependencies and
unmounting /storage during shutdown may fail because systemd doesn't
know that it's needed for /var/log.

Use a conditional bind mount instead so systemd can automatically
create proper dependencies and unmount filesystems in the correct order.

Also store the persistent logfiles on /storage in a .cache/log
directory instead of log to avoid confusing users - users can access
logfiles via /var/log.

Note: we can't use tmpfiles.d to create the .cache/log directory on
/storage because that would run after local-fs.target but we need
the .log directory before that so it has to be done via a one-shot
service.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 18:57:58 +02:00
..
2019-06-07 08:49:07 +01:00
2019-06-07 08:49:07 +01:00
2019-06-07 08:49:07 +01:00
2018-10-22 15:06:12 +02:00
2019-02-02 15:43:07 +00:00
2018-10-22 15:06:12 +02:00
2018-10-22 15:06:12 +02:00
2018-10-22 15:06:12 +02:00
2018-10-22 15:06:12 +02:00
2019-01-25 02:46:05 +00:00
2019-09-03 21:31:57 +01:00
2019-08-23 12:55:15 +02:00
2019-06-07 08:49:07 +01:00
2018-10-22 15:06:12 +02:00
2019-08-20 06:13:14 +00:00