[Nix-dev] Problem with nixos-rebuild and Setup Virtual Console

Nikolay Amiantov ab at fmap.me
Tue Feb 14 13:28:06 CET 2017


See https://github.com/NixOS/nixpkgs/issues/22470, we are investigating 
this currently. Sorry for the trouble!


On 02/14/2017 03:05 PM, x1n4u wrote:
> Hello Again,
> i forgot to append the journalctl -xe
>
> so here it is:
> Feb 14 12:59:23 citadel sudo[14517]:    x1n4u : TTY=pts/1 ;
> PWD=/home/x1n4u ; USER=root ;
> COMMAND=/run/current-system/sw/bin/systemctl restart
> systemd-vconsole-setup.service
> Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session
> opened for user root by (uid=0)
> Feb 14 12:59:23 citadel systemd[1]: Starting Setup Virtual Console...
> -- Subject: Unit systemd-vconsole-setup.service has begun start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-vconsole-setup.service has begun starting up.
> Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console
> /dev/tty0 is not in K_XLATE or K_UNICODE.
> Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main
> process exited, code=exited, status=1/FAILURE
> Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual Console.
> -- Subject: Unit systemd-vconsole-setup.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-vconsole-setup.service has failed.
> --
> -- The result is failed.
> Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Unit
> entered failed state.
> Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service:
> Failed with result 'exit-code'.
> Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session
> closed for user root
>
> the red highlighted line being:
> Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console
> /dev/tty0 is not in K_XLATE or K_UNICODE.
> Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main
> process exited, code=exited, status=1/FAILURE
> Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual
>
> Hope this helps some more
>
> Greez Felix
>
>
> On 02/14/2017 09:25 AM, x1n4u wrote:
>> Hi Folks,
>> i have a problem with my nixos-rebuild,
>> i am not able to to switch after rebuild due to
>> systemd-vconsole-setup.service failing.
>>
>> I get following error message from the nixos-rebuild :
>>> sudo nixos-rebuild switch
>> created 5 symlinks in user environment
>> building Nix...
>> building the system configuration...
>> activating the configuration...
>> setting up /etc...
>> readlink: missing operand
>> Try 'readlink --help' for more information.
>> warning: the following units failed: systemd-vconsole-setup.service
>>
>> ● systemd-vconsole-setup.service - Setup Virtual Console
>>     Loaded: loaded
>> (/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/example/systemd/system/systemd-vconsole-setup.service;
>> enabled; vendor preset: enabled)
>>    Drop-In:
>> /nix/store/7p8cfjzzm845f262gxm1ix21sy3jah4v-system-units/systemd-vconsole-setup.service.d
>>             └─overrides.conf
>>     Active: failed (Result: exit-code) since Tue 2017-02-14 09:13:21 CET;
>> 16ms ago
>>       Docs: man:systemd-vconsole-setup.service(8)
>>             man:vconsole.conf(5)
>>    Process: 32176
>> ExecStart=/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/lib/systemd/systemd-vconsole-setup
>> (code=exited, status=1/FAILURE)
>>   Main PID: 32176 (code=exited, status=1/FAILURE)
>>        CPU: 2ms
>>
>> Feb 14 09:13:21 citadel systemd[1]: Starting Setup Virtual Console...
>> Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Main
>> process exited, code=exited, status=1/FAILURE
>> Feb 14 09:13:21 citadel systemd[1]: Failed to start Setup Virtual Console.
>> Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Unit
>> entered failed state.
>> Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service:
>> Failed with result 'exit-code'.
>> warning: error(s) occurred while switching to the new configuration
>>
>> I'm using the nixos-unstable channel.
>>
>> I hope someone can help me, cause i've got no clue whats going on.
>>
>>
>> Greez Felix
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list