The console-setup service still fails on boot for the same reason:
- setupcon fails to access some /tmp file, even that the service runs
long after /tmp has been mounted and successfully used by other systemd
units.
- Even dpkg-reconfigure keyboard-configuration causes this bug since it
updates /etc/default/keyboard, which triggers the setupcon call, without
updating the cached scripts mentioned above.
- This is true on current Buster and Bullseye systems. On Stretch for
some reason, setupcon succeeds in these cases.
________________
# journalctl -u console-setup
-- Logs begin at Tue 2019-09-17 12:57:09 CEST, end at Tue 2019-09-17
12:57:23 CEST. --
Sep 17 12:57:10 DietPi console-setup.sh[175]: /usr/bin/setupcon: 870:
cannot open /tmp/tmpkbd.7BxIiO: No such file
Sep 17 12:57:10 DietPi systemd[1]: console-setup.service: Main process
exited, code=exited, status=1/FAILURE
Sep 17 12:57:10 DietPi systemd[1]: console-setup.service: Failed with
result 'exit-code'.
Sep 17 12:57:10 DietPi systemd[1]: Failed to start Set console font and
keymap.
# dpkg -l console-setup
ii console-setup 1.193 all console font and keymap
setup program
________________
Best regards,
MichaIng