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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24390 in the body.
You can then email your comments to 24390 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24390; Package guix. (Wed, 07 Sep 2016 18:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 07 Sep 2016 18:52:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: 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  

Information forwarded to bug-guix <at> gnu.org:
bug#24390; Package guix. (Tue, 01 Nov 2016 21:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 24390 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 24390 <at> debbugs.gnu.org
Subject: Re: bug#24390: VM with postgres service broken in master
Date: Tue, 01 Nov 2016 22:02:59 +0100
Hello!

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

> 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#" #)

Sorry for not answering earlier.  I cannot reproduce it with
v0.11.0-2111-g85533e2 and with the config you sent.

Could you check on your side?

Thanks,
Ludo’.




Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 07 Nov 2016 22:47:02 GMT) Full text and rfc822 format available.

Reply sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
You have taken responsibility. (Sat, 30 Sep 2017 07:39:01 GMT) Full text and rfc822 format available.

Notification sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
bug acknowledged by developer. (Sat, 30 Sep 2017 07:39:02 GMT) Full text and rfc822 format available.

Message #15 received at 24390-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 24390-done <at> debbugs.gnu.org
Subject: Re: bug#24390: VM with postgres service broken in master
Date: Sat, 30 Sep 2017 09:38:26 +0200
Ludovic Courtès writes:

> Sorry for not answering earlier.  I cannot reproduce it with
> v0.11.0-2111-g85533e2 and with the config you sent.
>
> Could you check on your side?

Sorry for not getting back earlier.  I've been running postgres VM's for
quite some time now.

janneke

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Oct 2017 11:24:07 GMT) Full text and rfc822 format available.

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.