diff options
author | Karel Zak | 2018-06-06 15:57:24 +0200 |
---|---|---|
committer | Karel Zak | 2018-06-06 15:57:24 +0200 |
commit | 2c4d86abdadab19be76abecb156da7f7dc284d81 (patch) | |
tree | b72b0b850f49e466bf4ee0869f3895d660f7c594 /term-utils/agetty.8 | |
parent | tests: add empty column test (diff) | |
download | kernel-qcow2-util-linux-2c4d86abdadab19be76abecb156da7f7dc284d81.tar.gz kernel-qcow2-util-linux-2c4d86abdadab19be76abecb156da7f7dc284d81.tar.xz kernel-qcow2-util-linux-2c4d86abdadab19be76abecb156da7f7dc284d81.zip |
agetty: keep c_iflags unmodified on --autologin
agetty sets c_iflags according to interaction with serial line in
get_logname(). For --autologin it does not read from the line, so we
have no clue how to set the flags.
The current behavior is to zeroize the flags. Unfortunately, it seems
like bad idea, because the line may be already properly initialized by
kernel (or systemd, etc.).
The new behavior is not touch the flags on --autologin.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1252764
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r-- | term-utils/agetty.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8 index fcb1fd5fe..5a480808d 100644 --- a/term-utils/agetty.8 +++ b/term-utils/agetty.8 @@ -93,6 +93,10 @@ Automatically log in the specified user without asking for a username or passwor Using this option causes an \fB\-f \fIusername\fR option and argument to be added to the \fB/bin/login\fP command line. See \fB\-\-login\-options\fR, which can be used to modify this option's behavior. + +Note that \fB\-\-autologin\fP may affect the way how agetty initializes the +serial line, because on auto-login agetty does not read from the line and it +has no opportunity optimize the line setting. .TP \-c, \-\-noreset Do not reset terminal cflags (control modes). See \fBtermios\fP(3) for more |