Console setup occasionally doesn't start #1

Closed
opened 2017-09-15 10:03:30 +02:00 by Disassembler · 4 comments
Disassembler commented 2017-09-15 10:03:30 +02:00 (Migrated from git.spotter.cz)

Steps to reproduce

Occasionally, Debian does not manage to start console-setup service and gracefully fails with Failed to start Set console font and keymap.

Likely a race condition in systemd which tries to start console-setup before /tmp is mounted. Try and trace with dpkg-reconfigure console-setup.

Observed behaviour

Mangled diacritics

Additional data (ticket URL, log, timestamp, stack trace etc.)

root@debian:~# systemctl status console-setup.service
● console-setup.service - Set console font and keymap
   Loaded: loaded (/lib/systemd/system/console-setup.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-09-15 09:26:44 CEST; 1min 50s ago
  Process: 463 ExecStart=/lib/console-setup/console-setup.sh (code=exited, status=1/FAILURE)
 Main PID: 463 (code=exited, status=1/FAILURE)
      CPU: 410ms

Sep 15 09:26:43 debian systemd[1]: Starting Set console font and keymap...
Sep 15 09:26:44 debian console-setup.sh[463]: /bin/setupcon: 866: /bin/setupcon: cannot open /tmp/tmpkbd.EcUkX2: No such file
Sep 15 09:26:44 debian systemd[1]: console-setup.service: Main process exited, code=exited, status=1/FAILURE
Sep 15 09:26:44 debian systemd[1]: Failed to start Set console font and keymap.
Sep 15 09:26:44 debian systemd[1]: console-setup.service: Unit entered failed state.
Sep 15 09:26:44 debian systemd[1]: console-setup.service: Failed with result 'exit-code'.
### Steps to reproduce Occasionally, Debian does not manage to start console-setup service and gracefully fails with `Failed to start Set console font and keymap`. Likely a race condition in systemd which tries to start console-setup before /tmp is mounted. Try and trace with `dpkg-reconfigure console-setup`. ### Observed behaviour Mangled diacritics ### Additional data (ticket URL, log, timestamp, stack trace etc.) ``` root@debian:~# systemctl status console-setup.service ● console-setup.service - Set console font and keymap Loaded: loaded (/lib/systemd/system/console-setup.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-09-15 09:26:44 CEST; 1min 50s ago Process: 463 ExecStart=/lib/console-setup/console-setup.sh (code=exited, status=1/FAILURE) Main PID: 463 (code=exited, status=1/FAILURE) CPU: 410ms Sep 15 09:26:43 debian systemd[1]: Starting Set console font and keymap... Sep 15 09:26:44 debian console-setup.sh[463]: /bin/setupcon: 866: /bin/setupcon: cannot open /tmp/tmpkbd.EcUkX2: No such file Sep 15 09:26:44 debian systemd[1]: console-setup.service: Main process exited, code=exited, status=1/FAILURE Sep 15 09:26:44 debian systemd[1]: Failed to start Set console font and keymap. Sep 15 09:26:44 debian systemd[1]: console-setup.service: Unit entered failed state. Sep 15 09:26:44 debian systemd[1]: console-setup.service: Failed with result 'exit-code'. ```
Disassembler commented 2017-09-15 10:04:50 +02:00 (Migrated from git.spotter.cz)

added ~20 label

added ~20 label
Disassembler commented 2017-09-20 10:10:09 +02:00 (Migrated from git.spotter.cz)

closed via commit 0a232bcc22

closed via commit 0a232bcc22879dedec4323e38acb9321ae6068db
Disassembler commented 2017-09-22 16:16:26 +02:00 (Migrated from git.spotter.cz)

removed assignee

removed assignee
Podhorecky commented 2018-04-01 00:24:52 +02:00 (Migrated from git.spotter.cz)

changed milestone to %1

changed milestone to %1
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disassembler/Spotter-VM#1
No description provided.