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

x1n4u x1n4u at devtal.de
Tue Feb 14 09:25:09 CET 2017


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


More information about the nix-dev mailing list