0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 5ae8209afad9a4284723712b46d8685e7f7fd72c Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Micha=C5=82=20=C5=81yszczek?= <michal.lyszczek@bofc.pl>
  3. Date: Mon, 6 May 2019 00:06:39 +0200
  4. Subject: [PATCH] sh/init.sh.Linux.in: change /run/lock from root:uucp to
  5. root:daemon
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. On gentoo /run/lock is owned by uucp group because of historical
  10. reasons. However uucp does not exist on buildroot by default, and
  11. it makes more sense that 'daemon' group should own this directory.
  12. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
  13. [Fabrice: update for 0.43.3]
  14. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  15. ---
  16. sh/init.sh.Linux.in | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
  19. index 222bbd3b..7f1a88db 100644
  20. --- a/sh/init.sh.Linux.in
  21. +++ b/sh/init.sh.Linux.in
  22. @@ -83,7 +83,7 @@ fi
  23. fi
  24. checkpath -d "$RC_SVCDIR"
  25. -checkpath -d -m 0775 -o root:uucp /run/lock
  26. +checkpath -d -m 0775 -o root:daemon /run/lock
  27. # Try to mount xenfs as early as possible, otherwise rc_sys() will always
  28. # return RC_SYS_XENU and will think that we are in a domU while it's not.
  29. --
  30. 2.18.1