From unknown Tue Aug 19 18:20:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24390: VM with postgres service broken in master Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Sep 2016 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24390 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24390@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147327429530539 (code B ref -1); Wed, 07 Sep 2016 18:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2016 18:51:35 +0000 Received: from localhost ([127.0.0.1]:52895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhhwW-0007wO-R4 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhhwV-0007wC-I6 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhhwN-0004Zd-0S for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwM-0004ZK-T1 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwK-0002La-C1 for bug-guix@gnu.org; Wed, 07 Sep 2016 14:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhhwI-0004Yl-BW for bug-guix@gnu.org; Wed, 07 Sep 2016 14:51:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwB-0004XB-NH; Wed, 07 Sep 2016 14:51:07 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:43296 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bhhwA-0001S3-18; Wed, 07 Sep 2016 14:51:06 -0400 From: Jan Nieuwenhuizen Date: Wed, 07 Sep 2016 20:51:01 +0200 Message-ID: <87mvjjwnl6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=pg.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpKQoKKHVzZS1zZXJ2aWNlLW1vZHVsZXMKIGJhc2UKIGRhdGFiYXNl cwogbmV0d29ya2luZwogc3NoKQoKKHVzZS1wYWNrYWdlLW1vZHVsZXMKIGRhdGFiYXNlcwogbGlu dXgKIG5ldHdvcmtpbmcKIHNzaCkKCihkZWZpbmUgJXVzZXIgKGdldGVudiAiVVNFUiIpKQoKKG9w ZXJhdGluZy1zeXN0ZW0KICAoaG9zdC1uYW1lICJwb3N0Z3JlcyIpCiAgKHRpbWV6b25lICJFdXJv cGUvQW1zdGVyZGFtIikKICAobG9jYWxlICJlbl9VUy5VVEYtOCIpCgogIChib290bG9hZGVyIChn cnViLWNvbmZpZ3VyYXRpb24KICAgICAgICAgICAgICAgKGRldmljZSAiL2Rldi9zZGEiKSkpCgog IChmaWxlLXN5c3RlbXMKICAgKGNvbnMqCiAgICAoZmlsZS1zeXN0ZW0gKGRldmljZSAiZ3VpeCIp CiAgICAgICAgICAgICAgICAgKHRpdGxlICdsYWJlbCkKICAgICAgICAgICAgICAgICAobW91bnQt cG9pbnQgIi8iKQogICAgICAgICAgICAgICAgICh0eXBlICJleHQ0IikpCiAgICAlYmFzZS1maWxl LXN5c3RlbXMpKQoKICAoZ3JvdXBzIChjb25zKgogICAgICAgICAgICh1c2VyLWdyb3VwIChuYW1l ICV1c2VyKSkKICAgICAgICAgICAlYmFzZS1ncm91cHMpKQoKICAodXNlcnMKICAgKGNvbnMqICh1 c2VyLWFjY291bnQgKG5hbWUgJXVzZXIpCiAgICAgICAgICAgICAgICAgICAgICAgIChncm91cCAl dXNlcikKICAgICAgICAgICAgICAgICAgICAgICAgKHBhc3N3b3JkIChjcnlwdCAiIiAieHgiKSkK ICAgICAgICAgICAgICAgICAgICAgICAgKHVpZCAxMDAwKQogICAgICAgICAgICAgICAgICAgICAg ICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiKSkKICAgICAgICAgICAgICAgICAgICAg ICAgKGhvbWUtZGlyZWN0b3J5IChzdHJpbmctYXBwZW5kICIvaG9tZS8iICV1c2VyKSkpCiAgICAg ICAgICAlYmFzZS11c2VyLWFjY291bnRzKSkKCiAgKHNlcnZpY2VzIChjb25zKgogICAgICAgICAg ICAgKGRoY3AtY2xpZW50LXNlcnZpY2UpCiAgICAgICAgICAgICAobHNoLXNlcnZpY2UgIzpwb3J0 LW51bWJlciAyMjIyCiAgICAgICAgICAgICAgICAgICAgICAgICAgIzphbGxvdy1lbXB0eS1wYXNz d29yZHM/ICN0CiAgICAgICAgICAgICAgICAgICAgICAgICAgIzpyb290LWxvZ2luPyAjdCkKICAg ICAgICAgICAgIChwb3N0Z3Jlc3FsLXNlcnZpY2UpCiAgICAgICAgICAgICAlYmFzZS1zZXJ2aWNl cykpKQo= --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=-- From unknown Tue Aug 19 18:20:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24390: VM with postgres service broken in master Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Nov 2016 21:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24390 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Nieuwenhuizen Cc: 24390@debbugs.gnu.org Received: via spool by 24390-submit@debbugs.gnu.org id=B24390.147803420621022 (code B ref 24390); Tue, 01 Nov 2016 21:04:02 +0000 Received: (at 24390) by debbugs.gnu.org; 1 Nov 2016 21:03:26 +0000 Received: from localhost ([127.0.0.1]:39464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1gDO-0005T0-5L for submit@debbugs.gnu.org; Tue, 01 Nov 2016 17:03:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1gDM-0005So-E8 for 24390@debbugs.gnu.org; Tue, 01 Nov 2016 17:03:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1gDC-0000Mh-AW for 24390@debbugs.gnu.org; Tue, 01 Nov 2016 17:03:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1gD1-0000IM-74; Tue, 01 Nov 2016 17:03:03 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:51362 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c1gD0-0001N4-Nw; Tue, 01 Nov 2016 17:03:03 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87mvjjwnl6.fsf@gnu.org> Date: Tue, 01 Nov 2016 22:02:59 +0100 In-Reply-To: <87mvjjwnl6.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Wed, 07 Sep 2016 20:51:01 +0200") Message-ID: <87y412ncak.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.5 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.5 (-------) Hello! Jan Nieuwenhuizen 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=3Dvirtio -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=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 17:46:05 2016 Received: (at control) by debbugs.gnu.org; 7 Nov 2016 22:46:05 +0000 Received: from localhost ([127.0.0.1]:48802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3sg1-0000wX-5A for submit@debbugs.gnu.org; Mon, 07 Nov 2016 17:46:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3sfy-0000vN-Uo for control@debbugs.gnu.org; Mon, 07 Nov 2016 17:46:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3sfq-0007zg-R0 for control@debbugs.gnu.org; Mon, 07 Nov 2016 17:45:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3sfq-0007zb-GV for control@debbugs.gnu.org; Mon, 07 Nov 2016 17:45:54 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:50358 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c3sfp-0003Kx-TL for control@debbugs.gnu.org; Mon, 07 Nov 2016 17:45:54 -0500 Date: Mon, 07 Nov 2016 23:45:52 +0100 Message-Id: <87a8davrhb.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #24390 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) tags 24390 moreinfo From unknown Tue Aug 19 18:20:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan Nieuwenhuizen Subject: bug#24390: closed (Re: bug#24390: VM with postgres service broken in master) Message-ID: References: <87y3owmya5.fsf@gnu.org> <87mvjjwnl6.fsf@gnu.org> X-Gnu-PR-Message: they-closed 24390 X-Gnu-PR-Package: guix X-Gnu-PR-Keywords: moreinfo Reply-To: 24390@debbugs.gnu.org Date: Sat, 30 Sep 2017 07:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1506757142-31050-1" This is a multi-part message in MIME format... ------------=_1506757142-31050-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24390: VM with postgres service broken in master which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24390@debbugs.gnu.org. --=20 24390: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24390 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1506757142-31050-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24390-done) by debbugs.gnu.org; 30 Sep 2017 07:38:47 +0000 Received: from localhost ([127.0.0.1]:39904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyCMJ-00084O-4o for submit@debbugs.gnu.org; Sat, 30 Sep 2017 03:38:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyCMI-00084A-9x for 24390-done@debbugs.gnu.org; Sat, 30 Sep 2017 03:38:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyCMA-0000kW-4E for 24390-done@debbugs.gnu.org; Sat, 30 Sep 2017 03:38:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyCM1-0000gp-At; Sat, 30 Sep 2017 03:38:29 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:38648 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dyCM0-0003HE-ME; Sat, 30 Sep 2017 03:38:29 -0400 From: Jan Nieuwenhuizen To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#24390: VM with postgres service broken in master References: <87mvjjwnl6.fsf@gnu.org> <87y412ncak.fsf@gnu.org> Date: Sat, 30 Sep 2017 09:38:26 +0200 In-Reply-To: <87y412ncak.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 01 Nov 2016 22:02:59 +0100") Message-ID: <87y3owmya5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 24390-done Cc: 24390-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ludovic Court=C3=A8s 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 --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com ------------=_1506757142-31050-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Sep 2016 18:51:35 +0000 Received: from localhost ([127.0.0.1]:52895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhhwW-0007wO-R4 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhhwV-0007wC-I6 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhhwN-0004Zd-0S for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwM-0004ZK-T1 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 14:51:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwK-0002La-C1 for bug-guix@gnu.org; Wed, 07 Sep 2016 14:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhhwI-0004Yl-BW for bug-guix@gnu.org; Wed, 07 Sep 2016 14:51:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhwB-0004XB-NH; Wed, 07 Sep 2016 14:51:07 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:43296 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bhhwA-0001S3-18; Wed, 07 Sep 2016 14:51:06 -0400 From: Jan Nieuwenhuizen To: bug-guix@gnu.org Subject: VM with postgres service broken in master Date: Wed, 07 Sep 2016 20:51:01 +0200 Message-ID: <87mvjjwnl6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=pg.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpKQoKKHVzZS1zZXJ2aWNlLW1vZHVsZXMKIGJhc2UKIGRhdGFiYXNl cwogbmV0d29ya2luZwogc3NoKQoKKHVzZS1wYWNrYWdlLW1vZHVsZXMKIGRhdGFiYXNlcwogbGlu dXgKIG5ldHdvcmtpbmcKIHNzaCkKCihkZWZpbmUgJXVzZXIgKGdldGVudiAiVVNFUiIpKQoKKG9w ZXJhdGluZy1zeXN0ZW0KICAoaG9zdC1uYW1lICJwb3N0Z3JlcyIpCiAgKHRpbWV6b25lICJFdXJv cGUvQW1zdGVyZGFtIikKICAobG9jYWxlICJlbl9VUy5VVEYtOCIpCgogIChib290bG9hZGVyIChn cnViLWNvbmZpZ3VyYXRpb24KICAgICAgICAgICAgICAgKGRldmljZSAiL2Rldi9zZGEiKSkpCgog IChmaWxlLXN5c3RlbXMKICAgKGNvbnMqCiAgICAoZmlsZS1zeXN0ZW0gKGRldmljZSAiZ3VpeCIp CiAgICAgICAgICAgICAgICAgKHRpdGxlICdsYWJlbCkKICAgICAgICAgICAgICAgICAobW91bnQt cG9pbnQgIi8iKQogICAgICAgICAgICAgICAgICh0eXBlICJleHQ0IikpCiAgICAlYmFzZS1maWxl LXN5c3RlbXMpKQoKICAoZ3JvdXBzIChjb25zKgogICAgICAgICAgICh1c2VyLWdyb3VwIChuYW1l ICV1c2VyKSkKICAgICAgICAgICAlYmFzZS1ncm91cHMpKQoKICAodXNlcnMKICAgKGNvbnMqICh1 c2VyLWFjY291bnQgKG5hbWUgJXVzZXIpCiAgICAgICAgICAgICAgICAgICAgICAgIChncm91cCAl dXNlcikKICAgICAgICAgICAgICAgICAgICAgICAgKHBhc3N3b3JkIChjcnlwdCAiIiAieHgiKSkK ICAgICAgICAgICAgICAgICAgICAgICAgKHVpZCAxMDAwKQogICAgICAgICAgICAgICAgICAgICAg ICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiKSkKICAgICAgICAgICAgICAgICAgICAg ICAgKGhvbWUtZGlyZWN0b3J5IChzdHJpbmctYXBwZW5kICIvaG9tZS8iICV1c2VyKSkpCiAgICAg ICAgICAlYmFzZS11c2VyLWFjY291bnRzKSkKCiAgKHNlcnZpY2VzIChjb25zKgogICAgICAgICAg ICAgKGRoY3AtY2xpZW50LXNlcnZpY2UpCiAgICAgICAgICAgICAobHNoLXNlcnZpY2UgIzpwb3J0 LW51bWJlciAyMjIyCiAgICAgICAgICAgICAgICAgICAgICAgICAgIzphbGxvdy1lbXB0eS1wYXNz d29yZHM/ICN0CiAgICAgICAgICAgICAgICAgICAgICAgICAgIzpyb290LWxvZ2luPyAjdCkKICAg ICAgICAgICAgIChwb3N0Z3Jlc3FsLXNlcnZpY2UpCiAgICAgICAgICAgICAlYmFzZS1zZXJ2aWNl cykpKQo= --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=-- ------------=_1506757142-31050-1--