Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731656 - sys-apps/sysvinit: don't clear boot tty1
Summary: sys-apps/sysvinit: don't clear boot tty1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-07 23:38 UTC by Georgy Yakovlev
Modified: 2021-01-31 11:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2020-07-07 23:38:36 UTC
it will be awesome if default inittab will not clear boot/tty1 by default


this can be achieved by using this tty1 config, note the --noclear

c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux


that way all the boot text stays there after boot sequence is complete.

the actual console clearing is handled by default .basrc/.bash_profile anyway.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-07-07 23:42:45 UTC
openrc-init can also achieve the same result by creating /etc/conf.d/agetty.1 with

> agetty_options="--noclear"
Comment 2 Larry the Git Cow gentoo-dev 2020-11-17 08:38:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8b823949d8a278b06dd60de0bc2fe5893fa0b5

commit 3c8b823949d8a278b06dd60de0bc2fe5893fa0b5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-11-17 08:38:34 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-11-17 08:38:54 +0000

    sys-apps/sysvinit: Bump to version 2.98
    
    Don't clear agetty on tty1 by default
    
    Closes: https://bugs.gentoo.org/731656
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/sysvinit/Manifest             |   1 +
 sys-apps/sysvinit/files/inittab-2.98   |  62 ++++++++++++++
 sys-apps/sysvinit/sysvinit-2.98.ebuild | 144 +++++++++++++++++++++++++++++++++
 3 files changed, 207 insertions(+)