From: Frederic Crozat <[email protected]> Otherwise any agetty on the devices of the system console will conflict with sulogin and its input.
--- units/[email protected] | 1 + units/rescue.target | 1 + units/[email protected] | 1 + 3 files changed, 3 insertions(+) diff --git units/[email protected] units/[email protected] index aa853b8..7fb2db8 100644 --- units/[email protected] +++ units/[email protected] @@ -9,6 +9,7 @@ Description=Getty on %I Documentation=man:agetty(8) man:systemd-getty-generator(8) Documentation=http://0pointer.de/blog/projects/serial-console.html +Conflicts=rescue.service After=systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`HAVE_SYSV_COMPAT', After=rc-local.service diff --git units/rescue.target units/rescue.target index 3f59b14..20f6841 100644 --- units/rescue.target +++ units/rescue.target @@ -10,6 +10,7 @@ Description=Rescue Mode Documentation=man:systemd.special(7) Requires=sysinit.target rescue.service After=sysinit.target rescue.service +Conflicts=getty.target AllowIsolate=yes [Install] diff --git units/[email protected] units/[email protected] index 4ac51e7..4b1ab20 100644 --- units/[email protected] +++ units/[email protected] @@ -10,6 +10,7 @@ Description=Serial Getty on %I Documentation=man:agetty(8) man:systemd-getty-generator(8) Documentation=http://0pointer.de/blog/projects/serial-console.html BindsTo=dev-%i.device +Conflicts=rescue.service After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`HAVE_SYSV_COMPAT', After=rc-local.service -- 1.7.9.2 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
