Am 20.07.2016 um 17:37 schrieb Wang Jian: > # diff -u /lib/systemd/system/[email protected] > /etc/systemd/system/[email protected] > --- /lib/systemd/system/[email protected] 2016-04-25 17:32:15.000000000 +0800 > +++ /etc/systemd/system/[email protected] 2015-05-17 20:28:50.253964583 +0800 > @@ -21,7 +21,7 @@ > # On systems without virtual consoles, don't start any getty. Note > # that serial gettys are covered by [email protected], not this > # unit. > -ConditionPathExists=/dev/tty0 > +# ConditionPathExists=/dev/tty0 > > [Service] > # the VT is cleared by TTYVTDisallocate > > # cat /lib/systemd/system/getty-static.service > [Unit] > Description=getty on tty2-tty6 if dbus and logind are not available > ConditionPathExists=/dev/tty2 > ConditionPathExists=!/lib/systemd/system/dbus.service > > [Service] > Type=oneshot > ExecStart=/bin/systemctl --no-block start [email protected] > [email protected] [email protected] [email protected] > [email protected] > RemainAfterExit=true
As I expected, [email protected] was overridden but getty-static.service was not. This is strictly a misconfiguration error, maybe a local one or one created by lxc-create. But not by the systemd package itself. That said, we now changed the check in getty-static.service to use ConditionPathExists=/dev/tty0 I.e. we do not event attempt to start it if no working VC subsystem is available. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
