On Fri, Mar 04, 2016 at 11:23:54AM -0300, Felipe Sateler wrote: > > There is still keyboard-configuration.sh in runlevel S. So this > problem is still present.
Yes. The problem however is much smaller because this script does not require $remote_fs. > I suggest including a service file like this: OK. Unfortunately, I will not be able to maintain this file or to update it in accordance with future changes in systemd. So I suppose that unless you or somebody else volunteers to maintain it, it will be better to continue without it. > Description=Set preliminary keymap 'Set the console keyboard layout' is a better description. The new console-setup is better optimized for speed and configures the keyboard only once. > Before=local-fs-pre.target > Wants=local-fs-pre.target What is the meaning of these two? > After=udev.service keymap.service The reason for keymap.service is that the keymap of console-setup can take precedence to the keymap provided by the package kbd (I am not sure this package still configures the keyboard, in the past it did). The keyboard configuration depends on the existence of /dev/null and /dev/tty[1-6]. I have no idea whether this small dependency requires udeb.service. > EnvironmentFile=-/etc/default/locale What does this do? This file is used (optionally) only in abnormal situations. > ExecStart=/bin/setupcon --keyboard-only One novelty in version 1.138 is that it is unnecessary to run setupcon in order to configure the console. It is OK to configure the keyboard in this way, but this usually will be slower than what the script keyboard-setup.sh does -- instead of setupcon it runs /etc/console-setup/cached_setup_keyboard.sh and reverts to using setupcon only when this script doesn't exist of fails. Anton Zinoviev