- From b3f6f8b50f222b65f54cfb412c8386717e7c4ad3 Mon Sep 17 00:00:00 2001
- From: Gavin Schenk <g.schenk@eckelmann.de>
- Date: Thu, 8 Oct 2020 11:52:03 +0200
- Subject: [PATCH] systemd: Fix dependency to /var/spool at runtime
- systemd installs /usr/lib/tmpfiles.d/var.conf which contains
- d /var/spool 0755 - - -
- This makes systemd-tmpfilesd fail creating this directory if
- the rootfs is readonly.
- This patch selects ROOTFS_VAR_SPOOL, as runtime dependency, to
- ensure this directory is already available which makes
- systemd-tmpfilesd happy.
- Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
- ---
- rules/systemd.in | 1 +
- 1 file changed, 1 insertion(+)
- diff --git a/rules/systemd.in b/rules/systemd.in
- index 95f77d064..04c6ee998 100644
- --- a/rules/systemd.in
- +++ b/rules/systemd.in
- @@ -33,6 +33,7 @@ menuconfig SYSTEMD
- select HOST_SYSTEMD if SYSTEMD_UDEV_HWDB
- select ROOTFS_VAR_LIB if RUNTIME
- select ROOTFS_VAR_CACHE if RUNTIME
- + select ROOTFS_VAR_SPOOL if RUNTIME
- prompt "systemd "
- help
- systemd is a system and session manager for Linux, compatible with SysV
- --
- 2.28.0
WIP: systemd: Fix dependency to /var/spool at runtime
Posted by Anonymous on Mon 12th Oct 2020 12:29
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.