Comment 73 for bug 1508146

Revision history for this message
Samuel thibault (samuel-thibault) wrote :

Is there really any reason why keyboard-configuration.postinst passes --force to setupcon?

In Debian we do this in the Debian installer because it is running within a bterm and thus can't detect it's running on the Linux console. But we never do this for an installed system. Apparently Ubuntu took that code snipped and dropped the check for being running within the Debian installer, and thus erroneously run with --force when DISPLAY is empty (typically from unattended upgrades and such), with the resulting observed effects of this bug report.

I guess Ubuntu wants to apply the attached patch