[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] systemd: don't reset VT on autologin



Hi Daniel,

On 08/21/2015 10:31 AM, Daniel Baumann wrote:
On 08/20/2015 12:56 PM, Daniel Gollub wrote:
agetty --noclear is not enough when systemd is used.
correct; but the default in systemd on debian is to clear the terminal,
hence we should not have a different default on the live systems.

What about making it conditional? Parameter on cmdline? By default off.
So I can mimic that old behavior.


  ExecStart=-/sbin/agetty --autologin ${LIVE_USERNAME} --noclear %I 38400 linux
btw, the 38400 is not default either, do we really need that here?


You are right, it's no longer the default with systemd. With Debian 7 it was 38400 linux.
But if we want to keep the Debian 8 default we should switch to:

ExecStart=-/sbin/agetty --autologin ${LIVE_USERNAME} --noclear %I \$TERM

As in getty@.service.


Regards,
Daniel


Reply to: