VM with postgres service broken in master

DoneSubmitted by Jan Nieuwenhuizen.
Details
2 participants
  • Jan Nieuwenhuizen
  • Ludovic Courtès
Owner
unassigned
Severity
normal
J
J
Jan Nieuwenhuizen wrote on 7 Sep 2016 20:51
(address . bug-guix@gnu.org)
87mvjjwnl6.fsf@gnu.org
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
-- Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.orgFreelance IT http://JoyofSource.com| Avatar® http://AvatarAcademy.nl
L
L
Ludovic Courtès wrote on 1 Nov 2016 22:02
(name . Jan Nieuwenhuizen)(address . janneke@gnu.org)(address . 24390@debbugs.gnu.org)
87y412ncak.fsf@gnu.org
Hello!
Jan Nieuwenhuizen <janneke@gnu.org> skribis:
Toggle quote (21 lines)> 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 withv0.11.0-2111-g85533e2 and with the config you sent.
Could you check on your side?
Thanks,Ludo’.
L
L
Ludovic Courtès wrote on 7 Nov 2016 23:45
control message for bug #24390
(address . control@debbugs.gnu.org)
87a8davrhb.fsf@gnu.org
tags 24390 moreinfo
J
J
Jan Nieuwenhuizen wrote on 30 Sep 2017 09:38
Re: bug#24390: VM with postgres service broken in master
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 24390-done@debbugs.gnu.org)
87y3owmya5.fsf@gnu.org
Ludovic Courtès writes:
Toggle quote (5 lines)> 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 forquite some time now.
janneke
-- Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.orgFreelance IT http://JoyofSource.com| Avatar® http://AvatarAcademy.com
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 24390@debbugs.gnu.org