Skip to content

vconsole: if KD_FONT_OP_SET fails (maybe because X11/wayland/some display manager are blocking tty7), debug log and proceed gracefully instead of failing fatally #6689

@eatobin

Description

@eatobin

Submission type

  • Bug report

systemd version the issue has been seen with

Unsure

Used distribution

Unsure

In case of bug report: Expected behaviour you didn't see

See below

In case of bug report: Unexpected behaviour you saw

"[FAILED] Failed to start Setup Virtual Console."

eric@linux-epth:~$ sudo systemctl status systemd-vconsole-setup.service
[sudo] password for root: 
● systemd-vconsole-setup.service - Setup Virtual Console
   Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
   Active: inactive (dead) since Sat 2017-08-26 08:54:42 CDT; 1min 51s ago
     Docs: man:systemd-vconsole-setup.service(8)
       man:vconsole.conf(5)
  Process: 441 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
 Main PID: 441 (code=exited, status=0/SUCCESS)


Aug 26 08:54:42 linux-epth systemd-vconsole-setup[441]: KD_FONT_OP_SET failed, fonts will not be copied to tty7: Invalid argument
Aug 26 08:54:42 linux-epth systemd[1]: Started Setup Virtual Console.
eric@linux-epth:~$ sudo systemctl start systemd-vconsole-setup.service
eric@linux-epth:~$ sudo systemctl status systemd-vconsole-setup.service
● systemd-vconsole-setup.service - Setup Virtual Console
   Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
   Active: inactive (dead) since Sat 2017-08-26 08:57:03 CDT; 4s ago
     Docs: man:systemd-vconsole-setup.service(8)
       man:vconsole.conf(5)
  Process: 2637 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
 Main PID: 2637 (code=exited, status=0/SUCCESS)


Aug 26 08:57:02 linux-epth systemd[1]: Starting Setup Virtual Console...
Aug 26 08:57:03 linux-epth systemd[1]: Started Setup Virtual Console.
eric@linux-epth:~$

In case of bug report: Steps to reproduce the problem

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions