diff options
author | Niko Mauno <niko.mauno@vaisala.com> | 2024-08-09 14:57:30 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-08-19 06:09:14 -0700 |
commit | 6b67a84d81c21738be8b3a043c0e32441b6a1d51 (patch) | |
tree | 53f42c9051361d069a864e4e3931227cc9941b05 /bitbake/lib/bb/data_smart.py | |
parent | 3866a30eeefac2925c1b1c1361289b02e1fed916 (diff) | |
download | poky-6b67a84d81c21738be8b3a043c0e32441b6a1d51.tar.gz |
systemd: Mitigate /var/log type mismatch issue
When VOLATILE_LOG_DIR evaluates as True, the base-files recipe provides
/var/log -> /var/volatile/log symlink which is in conflict with systemd
upstream tmpfiles.d/var.conf.in which defines it as a directory.
This generates following error in journal:
Jul 03 14:28:00 qemux86-64 systemd-tmpfiles[165]: "/var/log" already exists and is not a directory.
Mitigate the issue by defining /var/log as symlink corresponding to
the one created by base-files, when appropriate.
(From OE-Core rev: 711ee36e88c8968e3c45ea787b3adcf64352adf9)
(From OE-Core rev: b837d588de1ad76cbf8db3297dc51b0591a4df23)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions