[PATCH] systemd-units: Add "Condition=!container"
@jwrdegoede
Submitted by Hans de Goede Assigned to Ray Strode @halfline
Link to original bug (#107506)
Description
Created attachment 140991 [PATCH] systemd-units: Add "Condition=!container"
When running in a container with plymouth installed, plymouth is started unnecessarily and systemd prints warnings:
[ OK ] Reached target Shutdown. Sending SIGTERM to remaining processes... Sending SIGKILL to remaining processes... Process 253 (plymouthd) has been been marked to be excluded from killing. It is
It makes little sense to start plymouth in contains, so add 'Condition=!container' everywhere where ConditionKernelCommandLine=!plymouth.enable=0 appears to disable plymouth in containers.
Also see https://bugzilla.redhat.com/show_bug.cgi?id=1337611
Patch 140991, "[PATCH] systemd-units: Add "Condition=!container"":
0001-systemd-units-Add-Condition-container.patch