pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


WIP: systemd: Fix dependency to /var/spool at runtime
Posted by Anonymous on Mon 12th Oct 2020 12:29
raw | new post

  1. From b3f6f8b50f222b65f54cfb412c8386717e7c4ad3 Mon Sep 17 00:00:00 2001
  2. From: Gavin Schenk <g.schenk@eckelmann.de>
  3. Date: Thu, 8 Oct 2020 11:52:03 +0200
  4. Subject: [PATCH] systemd: Fix dependency to /var/spool at runtime
  5.  
  6. systemd installs /usr/lib/tmpfiles.d/var.conf which contains
  7.  
  8.         d /var/spool 0755 - - -
  9.  
  10. This makes systemd-tmpfilesd fail creating this directory if
  11. the rootfs is readonly.
  12.  
  13. This patch selects ROOTFS_VAR_SPOOL, as runtime dependency, to
  14. ensure this directory is already available which makes
  15. systemd-tmpfilesd happy.
  16.  
  17. Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
  18. ---
  19.  rules/systemd.in | 1 +
  20.  1 file changed, 1 insertion(+)
  21.  
  22. diff --git a/rules/systemd.in b/rules/systemd.in
  23. index 95f77d064..04c6ee998 100644
  24. --- a/rules/systemd.in
  25. +++ b/rules/systemd.in
  26. @@ -33,6 +33,7 @@ menuconfig SYSTEMD
  27.         select HOST_SYSTEMD     if SYSTEMD_UDEV_HWDB
  28.         select ROOTFS_VAR_LIB   if RUNTIME
  29.         select ROOTFS_VAR_CACHE if RUNTIME
  30. +       select ROOTFS_VAR_SPOOL if RUNTIME
  31.         prompt "systemd                       "
  32.         help
  33.           systemd is a system and session manager for Linux, compatible with SysV
  34. --
  35. 2.28.0

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at