Package: systemd Version: 19-1 Severity: normal Tags: patch SysV/LSB services with X-Interactive: true need access to the tty for different reasons. The one relevant for systemd are console-common/kbd/console-setup/keyboard-setup and apache2 and openvpn
the console config scripts run very early during boot, so they are not really of a concern. For apache2 and openvpn it can happen that getty on tty1 is started before them. This makes those services block. As the openvpn sysv init script has X-Start-Before: $x-display-manager gdm kdm xdm wdm ldm sdm nodm this can lead to the display-manager not starting as it is waiting for openvpn to finish starting. Apache and openvpn require X-Interactive: true as the potentially need user input to unlock a certificate. Until both services are updated to use a password agent [1] in a async manner, we should start getty after openvpn.service and apache2.service. Patch is attached. Michael [1] https://bugs.freedesktop.org/show_bug.cgi?id=30038 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages systemd depends on: ii libaudit0 1.7.13-1+b2 Dynamic library for security audit ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libcap2 1:2.20-1 support for getting/setting POSIX. ii libcryptsetup1 2:1.2.0-2 libcryptsetup shared library ii libdbus-1-3 1.4.6-1 simple interprocess messaging syst ii libpam0g 1.1.2-2 Pluggable Authentication Modules l ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii libudev0 166-1 libudev shared library ii util-linux 2.17.2-9.1 Miscellaneous system utilities Versions of packages systemd recommends: ii libpam-systemd 19-1 system and service manager - PAM m Versions of packages systemd suggests: ii systemd-gui 19-1 system and service manager - GUI -- no debconf information
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 8e1f250..d3fcf2c 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -8,7 +8,7 @@ [Unit] Description=Getty on %I BindTo=dev-%i.device -After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service +After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service openvpn.service apache2.service m4_ifdef(`TARGET_FEDORA', After=rc-local.service )m4_dnl