[OE-core] [PATCH] systemd: Fix service file for race issues

Ernst Sjöstrand ernst.sjostrand at verisure.com
Tue Mar 3 13:39:05 UTC 2020


Yeah it's exactly like that, been bitten by that before.

Regards
//Ernst

tis 2020-03-03 klockan 13:05 +0000 skrev Richard Purdie:

It seems this service needs both Requires: and After: according to the definitions

in the systemd docs, else we see boot race failures.


Signed-off-by: Richard Purdie <

<mailto:richard.purdie at linuxfoundation.org>

richard.purdie at linuxfoundation.org

>

---

 meta/recipes-core/psplash/files/psplash-systemd.service | 1 +

 1 file changed, 1 insertion(+)


diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service

index 249aa540394..4e18980bb27 100644

--- a/meta/recipes-core/psplash/files/psplash-systemd.service

+++ b/meta/recipes-core/psplash/files/psplash-systemd.service

@@ -2,6 +2,7 @@

 Description=Start psplash-systemd progress communication helper

 DefaultDependencies=no

 After=systemd-start.service

+After=psplash-start.service

 Requires=psplash-start.service

 RequiresMountsFor=/run



--

2.25.0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200303/a01b0e08/attachment.html>


More information about the Openembedded-core mailing list