Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618888 - sys-apps/openrc: /etc/init.d/agetty ignore terminal type argument due to misspelling of $term_type
Summary: sys-apps/openrc: /etc/init.d/agetty ignore terminal type argument due to miss...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 02:54 UTC by Xiami
Modified: 2017-05-22 17:55 UTC (History)
0 users

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 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.