]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
shadow: Fix can not print full login timeout message
authorSoumya <soumya.sambu@windriver.com>
Fri, 31 Mar 2023 16:26:51 +0000 (16:26 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 5 Apr 2023 16:24:00 +0000 (06:24 -1000)
commite5c1b64ea66fb1cbdb6403fa26d4d42b9d64e44f
tree29915be495d75a94b9f4ddfb1133102a9e4eaba3
parentbed045277b835d38048021e7ad158f27dd3ae9bb
shadow: Fix can not print full login timeout message

When we do not enter password during login, it is expected to display message "Login timed out after 60 seconds". But it prints only first few bytes(like "Login t") when write is immediately followed by exit.
Fix - Calling exit from new handler provides enough time to display full message.

Upstream-Status: Accepted [https://github.com/shadow-maint/shadow/commit/670cae834827a8f794e6f7464fa57790d911b63c]

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 644cfe9dcf351bfa6c67f4b4d1e7dec416a59021)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/shadow/files/0001-Fix-can-not-print-full-login.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc