Summary: | sys-apps/util-linux-2.37.1: agetty does not clear display if Ctrl-C called from login line | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bogdan <bogdan.pylypenko107> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/karelzak/util-linux/issues/1399 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bogdan
2021-07-29 08:44:25 UTC
I can confirm your observation. There has been an issue with agetty and CTRL+C invocation in the past: https://github.com/karelzak/util-linux/issues/1046 But this seems to be fixed since util-linux-2.36-rc1. Do you mind filing this issue at util-linux upstream? Feel free to cross-reference between the upstream issue and this bug. If you urgently need this feature, net-dialup/mingetty seems to clear the screen by pressing CTRL+C. Bug registered at https://github.com/karelzak/util-linux/issues/1399 > If you urgently need this feature, net-dialup/mingetty seems to clear the screen by pressing CTRL+C.
I think, that this functionality is basic and must be realized in standard system utilities by default.
(In reply to Bogdan from comment #2) > Bug registered at https://github.com/karelzak/util-linux/issues/1399 Thank you! (In reply to Bogdan from comment #3) > > If you urgently need this feature, net-dialup/mingetty seems to clear the screen by pressing CTRL+C. > I think, that this functionality is basic and must be realized in standard > system utilities by default. I fully agree. Fixed in https://github.com/karelzak/util-linux/commit/6eb1c01e9dd25a73100f06db37190c63fd57d4d9 I don't know which version of util-linux has this updates. (In reply to Bogdan from comment #5) The change was committed 7 hours ago, and no release has been tagged since then. According to the upstream developer, this is a new feature (not a bug fix), so I don't think a backport is appropriate. I think we should just wait for the next tagged release. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da60551412d12ea1b7b0fe27a7603fb7873d63c2 commit da60551412d12ea1b7b0fe27a7603fb7873d63c2 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-08-11 12:25:48 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-08-11 12:30:42 +0000 sys-apps/util-linux: Revbump to add various upstream fixes * Erase names in agetty by pressing CTRL-C (#804972) * Fixed user mount of davfs2 filesystems (#805218) * Fixed lscpu segfault on riscv plattform with upstream patch (#802606) + Fixed potential buffer overflow in ipcutils (#806070) (CVE-2021-37600) Bug: https://bugs.gentoo.org/806070 Closes: https://bugs.gentoo.org/804972 Closes: https://bugs.gentoo.org/805218 Closes: https://bugs.gentoo.org/802606 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../util-linux-2.37.1-agetty_ctrl-c_erase.patch | 50 +++ .../util-linux-2.37.1-ipcutils_calloc_check.patch | 25 ++ .../util-linux-2.37.1-libmount_setgroups_fix.patch | 38 +++ ...l-linux-2.37.1-lscpu_NULL_dereference_fix.patch | 50 +++ sys-apps/util-linux/util-linux-2.37.1-r1.ebuild | 338 +++++++++++++++++++++ 5 files changed, 501 insertions(+) |