Artix Linux Forum

Init systems => S6 => Topic started by: TheRealKizu on 25 November 2020, 04:19:40

Title: Unable to start service console-setup
Post by: TheRealKizu on 25 November 2020, 04:19:40
Hello, everytime I boot this error message pops-out:
Code: [Select]
s6-rc: warning: unable to start service console-setup: command exited 1
Title: Re: Unable to start service console-setup
Post by: Dudemanguy on 25 November 2020, 15:19:05
Hmm well the actual script is literally just.

Code: [Select]
#!/usr/bin/execlineb -P
exec sh /etc/s6/sv/console-setup/shell_up

I suppose an error in the shell script may return a 1 to s6-rc (not totally sure if works like that in execline)? I probably should rewrite this particular oneshot to be all execline. It's not too complicated to do.

Could you post the contents of your /etc/vconsole.conf?
Title: Re: Unable to start service console-setup
Post by: TheRealKizu on 25 November 2020, 23:02:52
Here:
Code: [Select]
KEYMAP=ph
Title: Re: Unable to start service console-setup
Post by: Dudemanguy on 26 November 2020, 05:13:52
Are you positive you have that keymap installed? That shouldn't fail otherwise.
Title: Re: Unable to start service console-setup
Post by: strajder on 06 December 2020, 16:46:58
@TheRealKizu  Try pressing Ctrl+Alt+F2, login and type
Code: [Select]
$ sudo loadkeys -u ph
and report what it outputs.

Alternatively, try:
Code: [Select]
$ find /usr/share/kbd/keymaps -name 'ph*' -print

For example, on my system I have that return nothing (there's no "ph" keymap), and searching for 'p*' instead outputs:
Code: [Select]
$ find /usr/share/kbd/keymaps -name 'p*' -print
/usr/share/kbd/keymaps/i386/olpc/pt-olpc.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pt-latin1.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pl1.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pl2.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pc110.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pl.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pl4.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pt-latin9.map.gz
/usr/share/kbd/keymaps/i386/qwerty/pl3.map.gz
/usr/share/kbd/keymaps/ppc

So, either install the "ph" keymap separately or change it to something like "us".