-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from MingliuYan/fix-rpcbind-runtime-issues
rpcbind: fix a systemd dependency issue
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
recipes-extended/rpcbind/rpcbind/0001-rpcbind.service-run-after-systemd-tmpfiles-setup.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 2a28043f82f781a5fdf988123f2309442964918d Mon Sep 17 00:00:00 2001 | ||
From: Ming Liu <[email protected]> | ||
Date: Thu, 21 Mar 2024 14:01:12 +0100 | ||
Subject: [PATCH] rpcbind.service: run after systemd-tmpfiles-setup.service | ||
|
||
This ensures /var/run present when rpcbind runs. | ||
|
||
Upstream-Status: Inappropriate [OE specific] | ||
|
||
Signed-off-by: Ming Liu <[email protected]> | ||
--- | ||
systemd/rpcbind.service.in | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in | ||
index f45ee1e..a707fc4 100644 | ||
--- a/systemd/rpcbind.service.in | ||
+++ b/systemd/rpcbind.service.in | ||
@@ -8,6 +8,7 @@ RequiresMountsFor=@statedir@ | ||
# rpcbind.socket, no matter how this unit is started. | ||
Requires=rpcbind.socket | ||
Wants=rpcbind.target | ||
+After=systemd-tmpfiles-setup.service | ||
|
||
[Service] | ||
Type=notify | ||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters