package/systemd: set vconsole support option to default y
PATCH 1/1 package/systemd: set vconsole support option to default y
package/systemd:? set vconsole support option to default y
Without this support option enabled, systemd does not allow vterm switching, and could possibly lead to user lockout on tty1.
We prevent these scenarios by enabling the vconsole tool default y, as console login is much more prevalent than not. This allows the option to disable the tool if needed, but as this is a rare usage, it is better to let a user decide they do *not* need it than to expect them to know they *do*.
Any serial connections will not be impacted by absence of this tool, as there are no vconsoles on serial.
---
?package/systemd/Config.in | 1 +
?1 file changed, 1 insertion(+)
package/systemd/Config.in +0 -0
@@ -325,6 +325,7 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES
?
?config BR2_PACKAGE_SYSTEMD_VCONSOLE
??????? bool "enable vconsole tool"
+?????? default y
??????? help
????????? systemd-vconsole-setup is an early boot service that ????????? configures the virtual console font and console keymap.
Signature · 1 line
2.19.2
PATCH 1/1 package/systemd: set vconsole support option to default y
Hello David,
Thanks for this contribution!
Quoted 1 line · David J. Fogle
package/systemd:? set vconsole support option to default y
There is no need to repeat the commit title twice.
Quoted 3 lines
Without this support option enabled, systemd does not allow vterm switching, and could possibly lead to user lockout on tty1.
We prevent these scenarios by enabling the vconsole tool default y, as console login is much more prevalent than not.
I am not sure why you say "much more prevalent than not". I would say quite the opposite: in embedded systems, either there is no screen at all, or when there is a screen, it is used to display an end-user application and not a console login.
Quoted 3 lines
This allows the option to disable the tool if needed, but as this is a rare usage, it is better to let a user decide they do *not* need it than to expect them to know they *do*.
I'm a bit unconvinced. What is the size impact of having this option enabled by default ?
Also, make sure your commit log is wrapped to 72 characters.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Thomas Petazzoni
AppliedPATCH 1/1 package/systemd: set vconsole support option to default y
In reply to David J. FogleQuoted 4 lines · On Fri, 4 Jan 2019 21:35:23 +0000 "David J. Fogle" <[email protected]>…
package/systemd:? set vconsole support option to default y
Without this support option enabled, systemd does not allow vterm switching, and could possibly lead to user lockout on tty1.
Quoted 8 lines
We prevent these scenarios by enabling the vconsole tool default y, as console login is much more prevalent than not. This allows the option to disable the tool if needed, but as this is a rare usage, it is better to let a user decide they do *not* need it than to expect them to know they *do*.
Any serial connections will not be impacted by absence of this tool, as there are no vconsoles on serial.
Signed-off-by David Fogle <[email protected]>---
?package/systemd/Config.in | 1 +
?1 file changed, 1 insertion(+)
Applied to master with the reworked commit message proposed by Yann. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/systemd: set vconsole support option to default y
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Quoted 13 lines · On Fri, 4 Jan 2019 21:35:23 +0000 "David J. Fogle" <[email protected]>…
package/systemd:? set vconsole support option to default y
Without this support option enabled, systemd does not allow vterm switching, and could possibly lead to user lockout on tty1.
We prevent these scenarios by enabling the vconsole tool default y, as console login is much more prevalent than not. This allows the option to disable the tool if needed, but as this is a rare usage, it is better to let a user decide they do *not* need it than to expect them to know they *do*.
Any serial connections will not be impacted by absence of this tool, as there are no vconsoles on serial.
Quoted 7 lines
Quoted 4 lines
Signed-off-by David Fogle <[email protected]>---
?package/systemd/Config.in | 1 +
?1 file changed, 1 insertion(+)Applied to master with the reworked commit message proposed by Yann. Thanks!
Committed to 2018.02.x and 2018.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard