Skip to contentSkip to conversation

psplash: ignore startup errors in psplash-systemd.service

PATCH New Mikko Rapeli 1 participant 1 message Feb 27, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 psplash: ignore startup errors in psplash-systemd.service

psplash-systemd.service depends on FIFO created by [email protected]. This FIFO can be removed due to signals or /dev/fb0 related errors when [email protected] exits. This exit can happen
when psplash-systemd.service is being started. Thus ignore
all errors in psplash-systemd.service startup.
There are too many ways things can go wrong and all of them
leave open race conditions unless a single process handles
all of the psplash usecases including progress bar updates.

---
 meta/recipes-core/psplash/files/psplash-systemd.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/psplash/files/psplash-systemd.service +2 -1
index b618be1ba6..15a894d577 100644
@@ -5,8 +5,9 @@ [email protected]
 [email protected]
 RequiresMountsFor=/run
 ConditionFileIsExecutable=/usr/bin/psplash
+ConditionFileIsExecutable=/usr/bin/psplash-systemd
 ConditionPathExists=/run/psplash_fifo
 
 [Service]
-ExecStart=/usr/bin/psplash-systemd
+ExecStart=-/usr/bin/psplash-systemd
 RemainAfterExit=yes
Signature · 1 line
2.43.0