[Bug 1055834] New: [FAILED] Failed to start Setup Virtual Console.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834 Bug ID: 1055834 Summary: [FAILED] Failed to start Setup Virtual Console. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: eatobin@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- My first bug report. Please excuse irregularities. After a recent Tumbleweed update (20170822?) I began to receive this error on boot: [FAILED] Failed to start Setup Virtual Console. The details as reported: 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 Thu 2017-08-24 20:04:51 CDT; 26min ago Docs: man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) Process: 467 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS) Main PID: 467 (code=exited, status=0/SUCCESS) Aug 24 20:04:51 linux-epth systemd-vconsole-setup[467]: KD_FONT_OP_SET failed, fonts will not be copied to tty7: Invalid argument Aug 24 20:04:51 linux-epth systemd[1]: Started Setup Virtual Console. eric@linux-epth:~$ More research and think this is tied to a boot problem as systemctl work manually: 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:~$ My thanks to tsu2 on the user forum (Re: New Boot Error -"[FAILED] Failed to start Setup Virtual Console."): "Looks like this is likely a systemd upstream error. I found where your error is generated, and I doubt anyone but upstream can do anything about it https://github.com/systemd/systemd/blob/master/src/vconsole/vconsole-setup.c Best to just submit a bug to https://bugzilla.opensuse.org TSU" Please note line 306 of referenced code as it pertains to warning I received: log_warning_errno(errno, "KD_FONT_OP_SET failed, fonts will not be copied to tty%u: %m", i); KD_FONT_OP_SET failed, fonts will not be copied to tty7: Invalid argument Thank you for your help with this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Jiri Srain
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c1
--- Comment #1 from Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c2
Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c4
--- Comment #4 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c5
--- Comment #5 from Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c7
Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c8
--- Comment #8 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c9
--- Comment #9 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Sebastian Kuhne
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c10
--- Comment #10 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c11
--- Comment #11 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c12
--- Comment #12 from Franck Bui
Please let me know if you need any additional testing (I have just updated my email address that was obsolete).
Could you try to disable plymouth (add "plymouth.enable=0" to the kernel command line) and see if the error fades away ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c13
--- Comment #13 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c14
--- Comment #14 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c15
--- Comment #15 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c16
--- Comment #16 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c17
--- Comment #17 from Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c18
--- Comment #18 from Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c19
--- Comment #19 from Franck Bui
Sorry for the garbled sentence: Adding just "plymouth.enable=0" the error "Failed to start Setup Virtual Console."
I mean that the error occurs even with plymouth.enable=0.
This is still not coherent... According to the logs you attached: - with "debug printk.devkmsg=on" -> the error DOES occur - with "plymouth.enable=0 debug printk.devkmsg=on" -> the error does NOT occur -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c20
--- Comment #20 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c21
--- Comment #21 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c22
--- Comment #22 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Ulrich Beckmann
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c23
--- Comment #23 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c24
--- Comment #24 from Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c25
Vinicius B. Rodrigues
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c26
Petr Matula
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Arjen de Korte
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c28
Michael Vetter
- modify /usr/lib/systemd/system/plymouth-start.service in order to have: Wants=systemd-ask-password-plymouth.path
- regenerate the initrd with "mkinitrd"
didnt change anything. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c29
Freek de Kruijf
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Indy chery
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c33
--- Comment #33 from Indy chery
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c34
Ludger Ricken
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c35
--- Comment #35 from Ludger Ricken
I am experiencing the same bug since a Tumbleweed Update back in August 2017. It has persisted on my system (Tumbleweed, KDE / Plasma, German, no manual interventions) despite the huge number of system updates since. I should also like to ask for any advice towards a solution, please.
Thanks.
Please do also refer to the Forum thread https://forums.opensuse.org/showthread.php/526731-systemd-vconsole-setup- failed-(-Fonts-will-not-be-copied-to-remaining-consoles).
Adding info: NVIDIA graphics card, nouveau driver. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c36
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c37
--- Comment #37 from Ludger Ricken
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c38
Heinz Kohl
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c39
--- Comment #39 from Ludger Ricken
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c40
--- Comment #40 from Freek de Kruijf
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c41
--- Comment #41 from Ludger Ricken
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c42
--- Comment #42 from Indy chery
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c43
--- Comment #43 from Ludger Ricken
Ludger- Are you saying that the steps in #20 completely resolves the issues or just the error message? Please confirm? Thanks
I'm for sure not knowledgeable enough to answer this question. What I can say is this: Before putting the fix in #20 into place, (A) quite some folks got the obnoxious message "Failed to start Setup Virtual Console" on the screen during boot, and (B) my "sudo journalctl -b" log was literally flooded with error messages "systemd-vconsole-setup[nnn]: Input/output error" as appended to my comment #39. With the #20 fix in place now, I don't get the a.m. messages (A) and (B) any longer. In particular, my journalctl now has none of those vconsole-setup errors anymore. I would like to leave an interpretation of these observations to the more knowledgeable folks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Eric Tobin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c44
--- Comment #44 from Freek de Kruijf
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c45
--- Comment #45 from Ludger Ricken
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
JIMIT SALVI
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Boian Berberov
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c46
Jimmy Berry
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c47
--- Comment #47 from Freek de Kruijf
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c48
--- Comment #48 from Freek de Kruijf
Same failure on Leap 15.0 beta.
Applying suggestion in Comment 20 makes the error message to disappear. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c51
--- Comment #51 from Freek de Kruijf
Is there anybody that can reproduce this reliably and have some time to debug this ?
I can't reproduce here so I need some help.
Thanks.
In my view this problem occurs because it is executed too early in the boot process. Probably a file is not yet available at that time. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Kenneth Perry
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c52
Seppo Lehtikangas
Is there anybody that can reproduce this reliably and have some time to debug this ?
I can't reproduce here so I need some help.
Thanks.
Maybe I can help. I have dual boot with working and non-working release. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c53
--- Comment #53 from Freek de Kruijf
(In reply to Franck Bui from comment #50)
Is there anybody that can reproduce this reliably and have some time to debug this ?
I can't reproduce here so I need some help.
Thanks.
Maybe I can help. I have dual boot with working and non-working release.
Maybe I can help too. I have two Leap 15.0 Beta systems. On one the patch of Comment #20 has been applied, which does nor show the problem. On the other one the patch has not been applied and shows the error message. Performing "journalctl -b -u systemd-vconsole-setup.service" shows for about 3 seconds a number of error messages like: Mar 28 22:00:13 eik150t systemd-vconsole-setup[148]: Input/output error However at the end I have: Mar 28 22:00:14 eik150t systemd-vconsole-setup[148]: KDSKBENT: Input/output error: could not deallocate keymap 128 Mar 28 22:00:16 eik150t systemd[1]: Starting Setup Virtual Console... Mar 28 22:00:16 eik150t systemd[1]: Started Setup Virtual Console. Mar 28 22:00:21 eik150t systemd[1]: Started Setup Virtual Console. Mar 28 22:00:26 eik150t systemd[1]: Starting Setup Virtual Console... Mar 28 22:00:26 eik150t systemd-vconsole-setup[880]: KD_FONT_OP_SET failed, fonts will not be copied to tty7: Illegal argument Mar 28 22:00:26 eik150t systemd[1]: Started Setup Virtual Console. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c54
--- Comment #54 from Vinicius B. Rodrigues
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c55
Alexander Nolting
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c57
--- Comment #57 from Victor Zhestkov
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c58
--- Comment #58 from Victor Zhestkov
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Ignaz Forster
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c59
Randall Lewis
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c60
Hugo Ojendiz
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c61
--- Comment #61 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Emiliano Langella
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Steffen Sledz
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
M Vermeiden
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c64
--- Comment #64 from M Vermeiden
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c65
--- Comment #65 from M Fredericks
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c66
--- Comment #66 from M Fredericks
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Alberto Planas Dominguez
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Fred Jones
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c70
Ali Salam
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c72
John Mullen
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c73
--- Comment #73 from Fred Jones
I just had this exact same problem when installing the current Tumbleweed Snapshot-20180828 and happened to stumble on a solution by sheer coincidence.
The issue has something to do with English language system keyboard layouts.
The default keyboard layout for an installation happens to be English (US) which I had forgotten to change in the first screen where the user is prompted to accept the licensing agreement. Upon first booting I was immediately greeted by the the "Failed to start Setup Virtual Console" error message discussed in this tread. The good news is that I was able to hit Ctrl-D to bypass the error. In Yast I then changed the system keyboard configuration to German to match my keyboard. The error no longer appeared after rebooting. The bad news is that this issue seems to affect all English language keyboard layouts: UK/UK and US International.
I hope this helps.
Hi John, yes it certainly does help! I switched in YAST from UK to French keyboard layout and back to UK English and the error no longer appears. Thanks! (This was in LEAP 15, and for what it's worth the boot was from an SSD. Maybe a timing clash? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c74
--- Comment #74 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c75
--- Comment #75 from M Fredericks
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c76
--- Comment #76 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c77
Andrei Borzenkov
Or make dracut-cmdline-ask.service run after systemd-vconsole-setup.service, this should do the trick too.
I confirm that this fixed it for me on new clean Leap 15 install in QEMU KVM VM (XFCE pattern). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c78
--- Comment #78 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c79
--- Comment #79 from Andrei Borzenkov
Or make dracut-cmdline-ask.service run after systemd-vconsole-setup.service
Note that 90-vconsole.rules runs systemd-vconsole-setup directly. I am not sure why it does not call systemd-vconsole-setup.service via SYSTEMD_WANTS instead. It probably should, otherwise there is no way to order this call against anything else. Moreover, given that systemd-vconsole-setup is actually prerequisite for any interactive service (shells, anything that queries passwords etc) the obvious question is - how are we supposed to order these components against systemd-vconsole-setup in the first place? It *must* complete before anything else, but it is started asynchronously from udev rule leaving no way to directly add dependencies on it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c81
--- Comment #81 from Franck Bui
I am not sure why it does not call systemd-vconsole-setup.service via SYSTEMD_WANTS instead.
Perhaps it's been assumed that all services needing console accesses would run "long enough" after udev has finished to init the virtual consoles ? I can see only one (minor) advantage to do that: it removes the need for services that requires console accesses to explicitly add dependencies on systemd-virtual-console.service. But again this only works for services that run "long enough" after udev, so it's pretty fragile. To remove the need to explicitly track dependencies on systemd-vconsole-setup.service we could have added implicit default dependencies to units that uses Standard*=tty* but that wouldn't have been very helpful I guess as most units that define Standard*=tty* also set DefautDependencies=no. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c82
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c83
--- Comment #83 from Franck Bui
To remove the need to explicitly track dependencies on systemd-vconsole-setup.service we could have added implicit default dependencies to units that uses Standard*=tty* but that wouldn't have been very helpful I guess as most units that define Standard*=tty* also set DefautDependencies=no.
But for services that doesn't set DefautDependencies=no, SYSTEMD_WANTS would be useful as Werner pointed out. I'm wondering if we couldn't even make sysinit.target scheduled after systemd-vconsole-setup.service so there won't be any need for those services to add any explicit constraints... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c84
Daniel Molkentin
But that said it seems to me that dracut-cmdline-ask.service is a *special* case as it seems that this service wants to be run even before udev is.
Yes, the idea is arguments can be passed even for the udev cmdline. Hence this has to be run really early on. This seems to be for really quirky cases where you want to pass arguments to dracut that should not show up on the kernel commandline. I'd need to ask Harald about the motivation.
I don't know if it really needs that (actully I'm not sure to see the service's use-fullness) but if so it seems that it should need to be more careful with its dependencies and explicitly use "{Requires,After}=systemd-vconsole-setup.service".
As systemd-vconsole-setup.service has no dependencies on its own, I would agree. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c85
--- Comment #85 from Franck Bui
(In reply to Franck Bui from comment #82)
I don't know if it really needs that (actully I'm not sure to see the service's use-fullness) but if so it seems that it should need to be more careful with its dependencies and explicitly use "{Requires,After}=systemd-vconsole-setup.service".
As systemd-vconsole-setup.service has no dependencies on its own, I would agree.
Can you please take care of this ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c86
--- Comment #86 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c87
--- Comment #87 from Freek de Kruijf
As systemd-vconsole-setup.service has no dependencies on its own, I would agree.
Question: doesn't this service needs a file, so it depends on the availability of a file system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Daniel Molkentin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c88
--- Comment #88 from Daniel Molkentin
(In reply to Daniel Molkentin from comment #84)
As systemd-vconsole-setup.service has no dependencies on its own, I would agree.
Question: doesn't this service needs a file, so it depends on the availability of a file system.
Only initramfs, which should be present at this point. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c89
Daniel Molkentin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c90
Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c91
--- Comment #91 from Franck Bui
(In reply to Franck Bui from comment #82)
But that said it seems to me that dracut-cmdline-ask.service is a *special* case as it seems that this service wants to be run even before udev is.
Yes, the idea is arguments can be passed even for the udev cmdline.
BTW currently there's nothing that would prevent udev from starting before dracut-cmdline-ask.service and that leads to this issue: basically udev and dracut-cmdline-ask.service are started in //, which results in both systemd-vconsole-setup (binary) and dracut-cmdline-ask.service accessing to the console. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c92
--- Comment #92 from Daniel Molkentin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Daniel Molkentin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c93
Franck Bui
Is it safe to add Before=systemd-udevd.service?
Since sysinit.target depends on systemd-udevd.service, I would say so. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c94
--- Comment #94 from Daniel Molkentin
(In reply to Daniel Molkentin from comment #84)
(In reply to Franck Bui from comment #82)
But that said it seems to me that dracut-cmdline-ask.service is a *special* case as it seems that this service wants to be run even before udev is.
Yes, the idea is arguments can be passed even for the udev cmdline.
BTW currently there's nothing that would prevent udev from starting before dracut-cmdline-ask.service and that leads to this issue: basically udev and dracut-cmdline-ask.service are started in //, which results in both systemd-vconsole-setup (binary) and dracut-cmdline-ask.service accessing to the console.
Not quiet true it seems dracut-cmdline-ask.service has Before=dracut-cmdline.service which has Before=dracut-pre-udev.service which has Before=systemd-udevd.service How does systemd-vconsole-setup.service ensure it's started after udev? Before=initrd-switch-root.target seems too relaxed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Daniel Molkentin
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c95
Franck Bui
Not quiet true it seems
Indeed that's not needed in your case. I was wrong, this issue is not due to dracut-cmdline-ask.service racing with udev (and indirectly with systemd-vconsole-setup) but is due to plymouth-start.service pulling systemd-vconsole-setup.service in (even if plymouth.enable=0 BTW). Since systemd-vconsole-setup.service has basically no ordering constraints, it can be run at mostly any time and in this case it's run very early, racing with dracut-cmdline-ask.service.
How does systemd-vconsole-setup.service ensure it's started after udev?
There's no such enforcement as the console can be setup and used even before udev is run, I guess. At least it allows services, which needs to be run very early such as dracut-cmdline-ask.service to request the initialization of the console (if that's possible). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c101
Mykola Krachkovsky
Running mkinitrd I noticed a message that might be related to the problem (Could not find FONT_MAP none!):
https://bugzilla.opensuse.org/show_bug.cgi?id=1013573 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Michal Nowak
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c102
Donald Curtis
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c103
Rafael linux
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c106
--- Comment #106 from M Fredericks
OpenSUSE 15 up to date (LTS, NO Tumbleweed), Spanish configuration
Exactly the same error "Failed to start setup virstual console".
Did you try exactly the same patch as which worked for Tumbleweed? See above for details. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c107
--- Comment #107 from Ali Salam
(In reply to Rafael linux from comment #103)
OpenSUSE 15 up to date (LTS, NO Tumbleweed), Spanish configuration
Exactly the same error "Failed to start setup virstual console".
Did you try exactly the same patch as which worked for Tumbleweed? See above for details.
Is there a coming update to solve this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c108
--- Comment #108 from Rafael linux
(In reply to Rafael linux from comment #103)
OpenSUSE 15 up to date (LTS, NO Tumbleweed), Spanish configuration
Exactly the same error "Failed to start setup virstual console".
Did you try exactly the same patch as which worked for Tumbleweed? See above for details.
That rebuild seems to remove the error. I can't see it in dmesg output (thru Ksyslog). So that patch worked for me, thank you. So I understand is some fail in installation, it is not? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c109
--- Comment #109 from Rafael linux
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c110
Karl Mistelberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c111
--- Comment #111 from M Fredericks
systemd-vconsole-setup.service is forked by systemd-udevd.service. It fails on the first fork, but succeeds on the subsequent ones:
That is I think not strange, the problems happen during boot and the first time the files are not present/available yet while later they are. The patch: +After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service is aking sure dracut-cmdline-ask.service is started later in the boot process. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c112
--- Comment #112 from M Fredericks
systemd-vconsole-setup.service is forked by systemd-udevd.service. It fails on the first fork, but succeeds on the subsequent ones:
That is I think not strange, the problems happen during boot and the first time the files are not present/available yet while later they are. The patch: +After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service is making sure dracut-cmdline-ask.service is started later in the boot process. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c113
--- Comment #113 from Karl Mistelberger
(In reply to Karl Mistelberger from comment #110)
systemd-vconsole-setup.service is forked by systemd-udevd.service. It fails on the first fork, but succeeds on the subsequent ones:
That is I think not strange, the problems happen during boot and the first time the files are not present/available yet while later they are.
The patch:
+After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service
is making sure dracut-cmdline-ask.service is started later in the boot process.
added these lines to section [unit] of /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline-ask.service, ran mkinitrd and rebooted: No more errors from systemd-vconsole-setup.service! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c117
Hendrik Woltersdorf
(In reply to M Fredericks from comment #112)
(In reply to Karl Mistelberger from comment #110)
systemd-vconsole-setup.service is forked by systemd-udevd.service. It fails on the first fork, but succeeds on the subsequent ones:
That is I think not strange, the problems happen during boot and the first time the files are not present/available yet while later they are.
The patch:
+After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service
is making sure dracut-cmdline-ask.service is started later in the boot process.
added these lines to section [unit] of /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline-ask.service, ran mkinitrd and rebooted: No more errors from systemd-vconsole-setup.service!
(In reply to M Fredericks from comment #112)
(In reply to Karl Mistelberger from comment #110)
systemd-vconsole-setup.service is forked by systemd-udevd.service. It fails on the first fork, but succeeds on the subsequent ones:
That is I think not strange, the problems happen during boot and the first time the files are not present/available yet while later they are.
The patch:
+After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service
is making sure dracut-cmdline-ask.service is started later in the boot process.
I tried this and locked myself out of my system. I use an encrypted disk setup (LUKS). After applying this changes and recreating the initramfs it was not possible to enter the password for the disk decryption. But without decrypted disks the boot process got stuck. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c118
--- Comment #118 from M Fredericks
It crucially depends on where you put the additional lines in section [unit], doesn't it?
Not sure but better see the attachment "proposed patch" and either apply that or make the changes according to that patch. And .. do not forgot to run mkinitrd after making the change, I forgot that the first time ;-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c119
--- Comment #119 from M Fredericks
I tried this and locked myself out of my system. I use an encrypted disk setup (LUKS). After applying this changes and recreating the initramfs it was not possible to enter the password for the disk decryption. But without decrypted disks the boot process got stuck.
Interesting, too bad the patch does have bad side-effects using an encrypted disk setup (LUKS). I guess you landed here because you also see the "Failed to start Setup Virtual Console." message in your log, right? I know too less of the whole process to see what is the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c120
--- Comment #120 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c121
--- Comment #121 from Frank Kruger
Daniel, when do you plan to release the fix ?
AFAICS it's been accepted by upstream almost 2 months ago: https://github.com/dracutdevs/dracut/pull/457
Thanks.
Applying the above-mentioned changes to dracut-cmdline-ask.service, running mkinitrd and rebooting makes it worse for me (TW20181029). Besides the error message "Failed to start Setup Virtual Console" I get "Dependency failed for dracut ask for additional cmdline parameters". By the way, applying the patch to Leap 15 works, apart from the fact that it seems to affect the trashy plymouth splash screen (the squares moved to the upper left corner). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Steffen Sledz
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c122
--- Comment #122 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c123
--- Comment #123 from Karl Mistelberger
(In reply to Franck Bui from comment #120)
Daniel, when do you plan to release the fix ?
AFAICS it's been accepted by upstream almost 2 months ago: https://github.com/dracutdevs/dracut/pull/457
Thanks.
Applying the above-mentioned changes to dracut-cmdline-ask.service, running mkinitrd and rebooting makes it worse for me (TW20181029). Besides the error message "Failed to start Setup Virtual Console" I get "Dependency failed for dracut ask for additional cmdline parameters". By the way, applying the patch to Leap 15 works, apart from the fact that it seems to affect the trashy plymouth splash screen (the squares moved to the upper left corner).
20181029-0 killed the changes made. Any idea how to create a drop-in for dracut-cmdline-ask.service? I have one for fstrim.timer: Drop-In: /etc/systemd/system/fstrim.timer.d └─schedule.conf -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Lorenzo Paulatto
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c132
--- Comment #132 from Karl Mistelberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c133
--- Comment #133 from Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c135
--- Comment #135 from Luigi Baldoni
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c137
--- Comment #137 from Karl Mistelberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c138
--- Comment #138 from Frank Kruger
I am running "openSUSE Tumbleweed 20181107" and do NOT see the lines:
systemd-vconsole-setup: cannot open include file compose.latin1 systemd-vconsole-setup: syntax error, unexpected ERROR systemd-vconsole-setup: /usr/bin/loadkeys failed with exit status 1.
I see the lines:
systemd-vconsole-setup: KD_FONT_OP_GET failed while trying to get the font metadata: Function not implemented systemd-vconsole-setup: Fonts will not be copied to remaining consoles
But that seems to be informational only, as systemd-vconsole-setup.service is not reporting an error.
Although you see "Failed to start Setup Virtual Console" the underlying error is different. Agreed. Incidentally, the error message "systemd-vconsole-setup: cannot open include file compose.latin1" is caused by "KEYMAP=de-latin1-nodeadkeys" in /etc/vconsole.conf, which was written by Yast2 Country Settings, but does not exist in /usr/share/kbd/keymaps/xkb/ (only de-nodeadkeys.map.gz exists).
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Fred Jones
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c139
--- Comment #139 from M Fredericks
(In reply to M Fredericks from comment #134)
I see the lines:
systemd-vconsole-setup: KD_FONT_OP_GET failed while trying to get the font metadata: Function not implemented systemd-vconsole-setup: Fonts will not be copied to remaining consoles
Agreed. Incidentally, the error message "systemd-vconsole-setup: cannot open include file compose.latin1" is caused by "KEYMAP=de-latin1-nodeadkeys" in /etc/vconsole.conf, which was written by Yast2 Country Settings, but does not exist in /usr/share/kbd/keymaps/xkb/ (only de-nodeadkeys.map.gz exists).
This morning I booted the computer and did not see the problem anymore. Like written on the forum, the only thing I changed AFAIK is that I fixed another error I saw in the log ("kwin_x11[2297]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_NL.UTF-8") by adding to /usr/share/X11/locale/locale.alias and alias from en_NL.UTF-8 to en_US.UTF-8. Seems like that fixed it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c144
Dave Johnson
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
Ryan Bach
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834
http://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c145
--- Comment #145 from Dave Johnson
participants (1)
-
bugzilla_noreply@novell.com