On 02/28/2016 02:38 PM, Gregor Zattler wrote:
Dear debian users, I configured systemd according to
https://wiki.archlinux.org/index.php/automatic_login_to_virtual_console#Virtual_console
in order to automatically log me in at system startup. This
worked fine till a few weeks ago:
/etc/systemd/system/[email protected]/override.conf:
[Service]
ExecStart=-/sbin/agetty -a my-user-name --noclear %I $TERM
Type=idle
with /etc/systemd/system/getty.target.wants/[email protected]
-being a link to /lib/systemd/system/[email protected]
$ systemctl status [email protected]
● [email protected] - Getty on tty1
Loaded: error (Reason: Invalid argument)
Drop-In: /etc/systemd/system/[email protected]
└─override.conf
Active: inactive (dead)
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Invalid argument is strange because if I issue
sudo /sbin/agetty -a my-user-name --noclear tty3 linux
I'm actually logged in on tty3.
Any ideas what's wrong with this?
Ciao, Gregor
Copy "/lib/systemd/system/[email protected]" to
"/etc/systemd/system/getty.target.wants/ [email protected]" and change
"ExecStart=-/sbin/agetty --noclear %I $TERM" to "ExecStart=-/sbin/agetty
-a my-user-name --noclear %I".
I don't like systemd, but that's still working here.
Lotek