[systemd-commits] 2 commits - units/arch units/fedora units/gentoo units/getty at .service.m4

Lennart Poettering lennart at kemper.freedesktop.org
Mon Aug 9 15:21:40 PDT 2010


 units/arch/halt.service       |    2 +-
 units/arch/poweroff.service   |    2 +-
 units/arch/reboot.service     |    2 +-
 units/fedora/killall.service  |    2 +-
 units/gentoo/halt.service     |    2 +-
 units/gentoo/killall.service  |    2 +-
 units/gentoo/poweroff.service |    2 +-
 units/gentoo/reboot.service   |    2 +-
 units/getty at .service.m4       |    3 ++-
 9 files changed, 10 insertions(+), 9 deletions(-)

New commits:
commit 61bec80cf3a86d574d73bdeba32e3c0f30198a4b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 10 00:21:25 2010 +0200

    getty: properly synchronize of tty devices being plugged in

diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
index e023a9d..770fc6c 100644
--- a/units/getty at .service.m4
+++ b/units/getty at .service.m4
@@ -13,7 +13,8 @@ m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl
 m4_dnl
 [Unit]
 Description=Getty on %I
-Before=getty.target
+Requires=dev-%i.device
+After=dev-%i.device
 m4_ifdef(`TARGET_FEDORA',
 After=rc-local.service
 )m4_dnl
commit 1e532d14addcff114a0a358fc5e4c193707bd120
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 10 00:08:13 2010 +0200

    units: make sure that killall does not wait for the tty

diff --git a/units/arch/halt.service b/units/arch/halt.service
index 2017d91..b193526 100644
--- a/units/arch/halt.service
+++ b/units/arch/halt.service
@@ -16,4 +16,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service
index 04922db..3d40ba8 100644
--- a/units/arch/poweroff.service
+++ b/units/arch/poweroff.service
@@ -16,4 +16,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/arch/reboot.service b/units/arch/reboot.service
index 8d1e90f..37112fe 100644
--- a/units/arch/reboot.service
+++ b/units/arch/reboot.service
@@ -16,4 +16,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=6
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 8762276..08d672f 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -15,4 +15,4 @@ OnlyByDependency=yes
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/killall start
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index 0b4de11..56c3f2e 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -16,4 +16,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index fb4b988..d466636 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -15,4 +15,4 @@ OnlyByDependency=yes
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/killprocs start
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index f4b8fbf..40126b2 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -16,4 +16,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
-StandardInput=tty
+StandardOutput=tty
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index 7492aae..de16655 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -15,4 +15,4 @@ After=shutdown.target umount.target killall.service
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/reboot.sh
-StandardInput=tty
+StandardOutput=tty


More information about the systemd-commits mailing list