GNU bug report logs - #24390
VM with postgres service broken in master

Previous Next

Package: guix;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Wed, 7 Sep 2016 18:52:01 UTC

Severity: normal

Tags: moreinfo

Done: Jan Nieuwenhuizen <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: 24390 <at> debbugs.gnu.org
Subject: bug#24390: VM with postgres service broken in master
Date: Wed, 07 Sep 2016 20:51:01 +0200
[Message part 1 (text/plain, inline)]
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

[pg.scm (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  

This bug report was last modified 7 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.