Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618888

Summary: sys-apps/openrc: /etc/init.d/agetty ignore terminal type argument due to misspelling of $term_type
Product: Gentoo Hosted Projects Reporter: Xiami <i>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xiami 2017-05-19 02:54:26 UTC
https://gitweb.gentoo.org/proj/openrc.git/commit/init.d/agetty.in?id=d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878

term_type="${term_type:-linux}"
command=/sbin/agetty
command_args_foreground="${agetty_options} ${port} ${baud} ${termtype}"

Save terminal type in $term_type but offer $termtype to command_args

Move to init=/sbin/openrc-init as soon as =sys-apps/openrc-0.26.2 was stablized, and found agetty process cmdline always lose the terminal type "linux" (set default in /etc/init.d/agetty)

Reproducible: Always
Comment 1 Xiami 2017-05-19 02:57:55 UTC
And... In conf.d/agetty, $termtype is used
Comment 2 William Hubbs gentoo-dev 2017-05-22 17:55:10 UTC
The following commit fixes this issue:

https://github.com/openrc/openrc/commit/ec27299f
Comment 3 William Hubbs gentoo-dev 2017-05-22 17:55:51 UTC
This will be in OpenRC-0.27.