Hi!

Building a VM with postgres service like so (pg.scm attached)

    guix system vm pg.scm --expose=$HOME --share=$HOME/tmp=/exchange

on master @22 August

     e8bb433 gnu: Add kmscon.

results in run-vm.sh that boots fine doing

    /gnu/store/0d28hg2ms78wciiwlq1ic1sk1i98vdd8-run-vm.sh -enable-kvm -m 2G 
-net nic,model=virtio -redir tcp:2223::2222 -redir -redir tcp:5433::5432 &

Creating the same vm with today's master

    392a4e1 guix hash: Add --exclude-vcs option.

and running it

    /gnu/store/fikrcvp5bz1f8f152hgrn94lx677s95l-run-vm.sh -enable-kvm -m 2G 
-net nic,model=virtio -redir tcp:2223::2222 -redir tcp:5433::5432 &

breaks like so (copied manually from graphical qemu box)

    Adding user guixbuilder10...
    Adding user postgres...
    ERROR: In procedure system*:
    ERROR: Wrong type (expecting string): #t
    ...
    In ./gnu/build/activation.scm:
       ...
       152:20 (add-user "postgres" "postgres" #:uid #f #:comment "Po#" #)
    In unknown file:
          0 (system* "useradd" "-g" "postgres" "-c" "PostgresSQL" se#" #)

I'm not sure how to debug this further.

Greetings,
Jan

Attachment: pg.scm
Description: Binary data

-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

Reply via email to