diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2016-10-11 21:36:14 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-11 14:36:14 +0200 |
commit | a8cb1dc3e0fa81affd01c8ed3df35e4c4520a24e (patch) | |
tree | 430ac24e8ea3947d5a3c4fd1388d97d598881e92 /coccinelle/safe_close-no-if.cocci | |
parent | 1f1a5e8b403332eb0788ace2fa44f07c588a2464 (diff) |
units: add Wants=initrd-cleanup.service to initrd-switch-root.target (#4345)
`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.
Diffstat (limited to 'coccinelle/safe_close-no-if.cocci')
0 files changed, 0 insertions, 0 deletions