]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Apr 2023 10:39:48 +0000 (11:39 +0100)
commit644cfe9dcf351bfa6c67f4b4d1e7dec416a59021
tree44e036db7096b5a80533878919d0c36d7b338894
parentfea90325b180ba8d2b19704dc8911a9175527c61
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>
meta/recipes-extended/shadow/files/0001-Fix-can-not-print-full-login.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc