Files
poky/meta/recipes-extended
Zoltan Boszormenyi ee83d0fdae rpcbind: Fix boot time start failure
With commits 90bc1810 ("bitbake.conf: Add runtimedir") and
561e853e ("rpcbind: Specify state directory under /run") rpcbind
still can fail during startup with:

  rpcbind: /var/run/rpcbind.lock: Read-only file system

The lockfile is hardcoded as "/var/run/rpcbind.lock".
While it should use the same internal define "RPCBIND_STATEDIR"
as the paths for rpcbind.xdr and portmap.xdr, it's not necessary
to be patched because of the default value of ${runtimedir} and
the presence of the /var/run -> /run symlink.

Using --with-statedir=/run/rpcbind adds the line

  RequiresMountsFor=/run/rpcbind

to the service but it doesn't guarantee that /run is writable yet
when rpcbind.service starts. Add this guarantee by running
rpcbind.service with systemd-tmpfiles-setup.service and add the
tmpfiles.d entry for /run/rpcbind.

(From OE-Core rev: 53fb871f84c99a66485979da2588c1d11d8749e7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
..
2024-04-08 23:33:32 +01:00
2024-05-16 11:06:01 +01:00
2024-07-16 11:25:29 +01:00
2023-06-27 16:23:40 +01:00
2024-05-28 09:38:23 +01:00
2024-07-30 12:46:22 +01:00
2023-05-22 10:53:48 +01:00
2024-07-04 22:56:15 +01:00
2022-04-19 14:14:12 +01:00
2024-02-03 22:08:26 +00:00
2023-11-05 11:28:40 +00:00
2023-07-17 15:30:04 +01:00
2023-07-30 07:54:44 +01:00
2024-08-03 07:47:35 +01:00
2024-08-03 07:47:35 +01:00
2024-03-07 17:25:02 +00:00
2024-04-16 08:07:02 +01:00
2024-06-06 11:56:04 +01:00
2024-07-10 10:52:20 +01:00
2024-03-07 17:25:02 +00:00
2024-05-28 09:38:23 +01:00
2023-07-30 07:54:44 +01:00
2021-08-02 15:44:10 +01:00
2023-09-02 18:23:06 +01:00
2022-11-22 12:26:46 +00:00
2022-11-14 16:19:43 +00:00
2022-08-21 22:51:42 +01:00
2024-08-03 07:47:36 +01:00
2024-07-16 11:25:29 +01:00
2023-09-28 12:37:46 +01:00
2024-04-16 08:07:01 +01:00
2022-08-17 19:57:32 +01:00
2024-06-25 11:50:58 +01:00
2023-04-05 08:39:43 +01:00
2024-05-13 15:42:27 +01:00
2024-05-30 09:04:14 +01:00