`systemctl isolate initrd-switch-root.target` called by initrd-cleanup.service kills initrd-cleanup.service itself. Then, initrd-cleanup.service failed and system goes to emergency shell. To prevent this problem, this commit adds `Wants=initrd-cleanup.service` to initrd-switch-root.target.
fixes: #4343.
a8cb1dc units: add Wants=initrd-cleanup.service to initrd-switch-root.target (#4345)
units/initrd-switch-root.target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Upstream: github.com