getty@.service.m4: add Conflicts=/Before= against rescue.service (#3792)
authorMichal Soltys <soltys@ziu.info>
Mon, 25 Jul 2016 14:18:00 +0000 (16:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jul 2016 14:18:00 +0000 (16:18 +0200)
commit5ed020d8d10fc100c68edddb519f085b7397a45c
tree62e279a78acde093fb93e0ac2a2ea76b5494dd87
parente9baf6963af30f293d05079222e2881b0989ed1a
getty@.service.m4: add Conflicts=/Before= against rescue.service (#3792)

If user isolates rescue target from multi-user or graphical target (or just
starts the service), IgnoreOnIsolate will cause issues with sulogin which is
directly started on current virtual console. This patch adds necessary
Conflicts= and Before= against rescue.service.

Note that this is not needed for emergency target, as implicit Requires= and
After= against sysinit.target is in effect for this service
(DefaultDependencies=yes).
units/getty@.service.m4