From unknown Mon Jun 23 18:28:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22626 <22626@debbugs.gnu.org> To: bug#22626 <22626@debbugs.gnu.org> Subject: Status: Postgres service fails on adding user Reply-To: bug#22626 <22626@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:28:28 +0000 retitle 22626 Postgres service fails on adding user reassign 22626 guix submitter 22626 Christopher Allan Webber severity 22626 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 19:13:35 2016 Received: (at submit) by debbugs.gnu.org; 11 Feb 2016 00:13:35 +0000 Received: from localhost ([127.0.0.1]:35526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTet5-0001K7-8w for submit@debbugs.gnu.org; Wed, 10 Feb 2016 19:13:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40108) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTet4-0001Jv-FJ for submit@debbugs.gnu.org; Wed, 10 Feb 2016 19:13:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTesy-0005sk-EI for submit@debbugs.gnu.org; Wed, 10 Feb 2016 19:13:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTesy-0005sa-Ay for submit@debbugs.gnu.org; Wed, 10 Feb 2016 19:13:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTesx-0005SG-8z for bug-guix@gnu.org; Wed, 10 Feb 2016 19:13:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTesu-0005sF-3W for bug-guix@gnu.org; Wed, 10 Feb 2016 19:13:27 -0500 Received: from dustycloud.org ([50.116.34.160]:59586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTest-0005s9-Tw for bug-guix@gnu.org; Wed, 10 Feb 2016 19:13:24 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 9335F26676 for ; Wed, 10 Feb 2016 19:13:21 -0500 (EST) User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber To: bug-guix@gnu.org Subject: Postgres service fails on adding user Message-ID: <8760xwhzpt.fsf@dustycloud.org> Date: Wed, 10 Feb 2016 16:13:19 -0800 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: -4.0 (----) 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: -4.0 (----) --=-=-= Content-Type: text/plain Heya all... guix system config attached. I tried doing a guix system reconfigure and it failboat'ed. Here's what happened: adding user 'postgres'... useradd: group 'postgres' does not exist Backtrace: In ice-9/boot-9.scm: 63: 19 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 18 [eval # #] In ice-9/boot-9.scm: 2401: 17 [save-module-excursion #] 4050: 16 [#] 1724: 15 [%start-stack load-stack ...] 1729: 14 [#] In unknown file: ?: 13 [primitive-load "/gnu/store/24mbii9wjlyzfzsqwfmcvz6vz2fv5n6g-guix-0.9.0.c3f29bc/bin/.guix-real"] In guix/ui.scm: 1177: 12 [run-guix-command system "reconfigure" "guix-config.scm"] In ice-9/boot-9.scm: 157: 11 [catch srfi-34 # ...] 157: 10 [catch system-error ...] In guix/scripts/system.scm: 701: 9 [process-action reconfigure ("guix-config.scm") ...] In guix/store.scm: 1061: 8 [run-with-store # ...] In guix/scripts/system.scm: 520: 7 [# #] 302: 6 [# #] In unknown file: ?: 5 [primitive-load "/gnu/store/fnanaa7xalxa9h3yh1hpj3m5zgm9wasp-activate"] In ice-9/eval.scm: 432: 4 [eval # ()] In ice-9/boot-9.scm: 768: 3 [for-each # #] In unknown file: ?: 2 [primitive-load "/gnu/store/hz2hnin6c12afvsyqxv0vs2rndxl9vpg-activate-servic e"] In ice-9/eval.scm: 411: 1 [eval # ()] In unknown file: ?: 0 [getpw "postgres"] ERROR: In procedure getpw: ERROR: In procedure getpw: entry not found Config attached. Thanx! - cwebb --=-=-= Content-Type: application/octet-stream Content-Disposition: inline; filename=guix-config.scm Content-Transfer-Encoding: base64 OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gdGVtcGxhdGUKOzsg Zm9yIGEgImRlc2t0b3AiIHNldHVwIHdpdGggWDExLgoKKHVzZS1tb2R1bGVzIChnbnUpIChnbnUg c3lzdGVtIG5zcykKICAgICAgICAgICAgIChnbnUgcGFja2FnZXMgbGludXgpKQoodXNlLXNlcnZp Y2UtbW9kdWxlcyBkZXNrdG9wIGRhdGFiYXNlcykKKHVzZS1wYWNrYWdlLW1vZHVsZXMgeGZjZSBj ZXJ0cyBwdWxzZWF1ZGlvKQoKKG9wZXJhdGluZy1zeXN0ZW0KICAoaG9zdC1uYW1lICJvb2xvbmci KQogICh0aW1lem9uZSAiQW1lcmljYS9Mb3NfQW5nZWxlcyIpCiAgKGxvY2FsZSAiZW5fVVMuVVRG LTgiKQoKICAoa2VybmVsIGxpbnV4LWxpYnJlLTQuMSkKCiAgOzsgQXNzdW1pbmcgL2Rldi9zZFgg aXMgdGhlIHRhcmdldCBoYXJkIGRpc2ssIGFuZCAicm9vdCIgaXMKICA7OyB0aGUgbGFiZWwgb2Yg dGhlIHRhcmdldCByb290IGZpbGUgc3lzdGVtLgogIChib290bG9hZGVyIChncnViLWNvbmZpZ3Vy YXRpb24KCSAgICAgICAoZGV2aWNlICIvZGV2L3NkYSIpKSkKICAobWFwcGVkLWRldmljZXMgKGxp c3QgKG1hcHBlZC1kZXZpY2UKCQkJIChzb3VyY2UgIi9kZXYvc2RhOCIpCgkJCSAodGFyZ2V0ICJo b21lLWx1a3MiKQoJCQkgKHR5cGUgbHVrcy1kZXZpY2UtbWFwcGluZykpKSkKICAoZmlsZS1zeXN0 ZW1zIGAoLChmaWxlLXN5c3RlbQogICAgICAgICAgICAgICAgICAgICAgICAoZGV2aWNlICJndWl4 IikKICAgICAgICAgICAgICAgICAgICAgICAgKHRpdGxlICdsYWJlbCkKICAgICAgICAgICAgICAg ICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAgICAgICAgICAgICAgKHR5cGUg ImV4dDQiKSkKICAgICAgICAgICAgICAgICAgLChmaWxlLXN5c3RlbQogICAgICAgICAgICAgICAg ICAgICAoZGV2aWNlICIvZGV2L21hcHBlci9ob21lLWx1a3MiKQogICAgICAgICAgICAgICAgICAg ICAobW91bnQtcG9pbnQgIi9ob21lIikKICAgICAgICAgICAgICAgICAgICAgKHR5cGUgImV4dDQi KSkKICAgICAgICAgICAgICAgICAgLChmaWxlLXN5c3RlbQogICAgICAgICAgICAgICAgICAgICAo ZGV2aWNlICJkZWJpYW4iKQogICAgICAgICAgICAgICAgICAgICAodGl0bGUgJ2xhYmVsKQogICAg ICAgICAgICAgICAgICAgICAobW91bnQtcG9pbnQgIi9tbnQvZGViaWFuIikKICAgICAgICAgICAg ICAgICAgICAgKHR5cGUgImV4dDQiKSkKICAgICAgICAgICAgICAgICAgOzs7IE5vdCBxdWl0ZSB0 aGUgcmlnaHQgd2F5IHRvIG1vdW50IHRoaXMuLi4KICAgICAgICAgICAgICAgICAgOzsgLChmaWxl LXN5c3RlbQogICAgICAgICAgICAgICAgICA7OyAgICAoZGV2aWNlICIvZGV2L2Rpc2svYnktdXVp ZC9lOWIxMTYwNC1jMDQ0LTQwMGItOWRkNS05N2I0MDE1OGE5MjgiKQogICAgICAgICAgICAgICAg ICA7OyAgICAodGl0bGUgJ2xhYmVsKQogICAgICAgICAgICAgICAgICA7OyAgICAobW91bnQtcG9p bnQgIi9tbnQvYmFja3VwIikKICAgICAgICAgICAgICAgICAgOzsgICAgKHR5cGUgImV4dDQiKQog ICAgICAgICAgICAgICAgICA7OyAgICAobW91bnQ/ICNmKSkKICAgICAgICAgICAgICAgICAgLEAl YmFzZS1maWxlLXN5c3RlbXMpKQoKICAodXNlcnMgKGNvbnMgKHVzZXItYWNjb3VudAogICAgICAg ICAgICAgICAgKG5hbWUgImN3ZWJiZXIiKQoJCSh1aWQgMTAwMCkKICAgICAgICAgICAgICAgIChj b21tZW50ICJDaHJpc3RvcGhlciBBbGxhbiBXZWJiZXIiKQogICAgICAgICAgICAgICAgKGdyb3Vw ICJjd2ViYmVyIikKICAgICAgICAgICAgICAgIChzdXBwbGVtZW50YXJ5LWdyb3VwcyAnKCJ1c2Vy cyIKCQkJCQkid2hlZWwiICJuZXRkZXYiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAiYXVkaW8iICJ2aWRlbyIpKQogICAgICAgICAgICAgICAgKGhvbWUtZGlyZWN0b3J5 ICIvaG9tZS9jd2ViYmVyIikpCiAgICAgICAgICAgICAgICViYXNlLXVzZXItYWNjb3VudHMpKQoK ICAoZ3JvdXBzIChjb25zICh1c2VyLWdyb3VwCgkJIChuYW1lICJjd2ViYmVyIikKCQkgKGlkIDEw MDApKQoJCSViYXNlLWdyb3VwcykpCgogIDs7IEFkZCBYZmNlIGFuZCBSYXRwb2lzb247IHRoYXQg YWxsb3dzIHVzIHRvIGNob29zZQogIDs7IHNlc3Npb25zIHVzaW5nIGVpdGhlciBvZiB0aGVzZSBh dCB0aGUgbG9nLWluIHNjcmVlbi4KICAocGFja2FnZXMgKGNvbnMqIHhmY2UgICAgO2Rlc2t0b3Ag ZW52aXJvbm1lbnRzCiAgICAgICAgICAgICAgICAgICBuc3MtY2VydHMgICAgICAgICA7Zm9yIEhU VFBTIGFjY2VzcwogICAgICAgICAgICAgICAgICAgcHVsc2VhdWRpbwogICAgICAgICAgICAgICAg ICAgJWJhc2UtcGFja2FnZXMpKQoKICA7OyBVc2UgdGhlICJkZXNrdG9wIiBzZXJ2aWNlcywgd2hp Y2ggaW5jbHVkZSB0aGUgWDExCiAgOzsgbG9nLWluIHNlcnZpY2UsIG5ldHdvcmtpbmcgd2l0aCBX aWNkLCBhbmQgbW9yZS4KICAoc2VydmljZXMgKGNvbnMqCiAgICAgICAgICAgICAocG9zdGdyZXNx bC1zZXJ2aWNlKQogICAgICAgICAgICAgJWRlc2t0b3Atc2VydmljZXMpKQoKICA7OyBBbGxvdyBy ZXNvbHV0aW9uIG9mICcubG9jYWwnIGhvc3QgbmFtZXMgd2l0aCBtRE5TLgogIChuYW1lLXNlcnZp Y2Utc3dpdGNoICVtZG5zLWhvc3QtbG9va3VwLW5zcykpCg== --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 02:44:43 2016 Received: (at 22626) by debbugs.gnu.org; 11 Feb 2016 07:44:43 +0000 Received: from localhost ([127.0.0.1]:35641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTlvf-00055f-Bm for submit@debbugs.gnu.org; Thu, 11 Feb 2016 02:44:43 -0500 Received: from flashner.co.il ([178.62.234.194]:35769) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTlvd-00055X-65 for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 02:44:41 -0500 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id E111A40032; Thu, 11 Feb 2016 07:44:39 +0000 (UTC) Date: Thu, 11 Feb 2016 09:44:33 +0200 From: Efraim Flashner To: Christopher Allan Webber Subject: Re: bug#22626: Postgres service fails on adding user Message-ID: <20160211094433.59614a99@debian-netbook> In-Reply-To: <8760xwhzpt.fsf@dustycloud.org> References: <8760xwhzpt.fsf@dustycloud.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/VBcXActv1HWuaqRGRIYZlTV"; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 22626 Cc: 22626@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: -0.2 (/) --Sig_/VBcXActv1HWuaqRGRIYZlTV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 10 Feb 2016 16:13:19 -0800 Christopher Allan Webber wrote: > Heya all... guix system config attached. I tried doing a guix system > reconfigure and it failboat'ed. Here's what happened: >=20 > adding user 'postgres'... > useradd: group 'postgres' does not exist > Backtrace: > In ice-9/boot-9.scm: > 63: 19 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 18 [eval # #] > In ice-9/boot-9.scm: > 2401: 17 [save-module-excursion #] > 4050: 16 [#] > 1724: 15 [%start-stack load-stack ...] > 1729: 14 [#] > In unknown file: > ?: 13 [primitive-load "/gnu/store/24mbii9wjlyzfzsqwfmcvz6vz2fv5n6g-g= uix-0.9.0.c3f29bc/bin/.guix-real"] > In guix/ui.scm: > 1177: 12 [run-guix-command system "reconfigure" "guix-config.scm"] > In ice-9/boot-9.scm: > 157: 11 [catch srfi-34 # ..= .] > 157: 10 [catch system-error ...] > In guix/scripts/system.scm: > 701: 9 [process-action reconfigure ("guix-config.scm") ...] > In guix/store.scm: > 1061: 8 [run-with-store # ...] > In guix/scripts/system.scm: > 520: 7 [#= #] > 302: 6 [# = #] > In unknown file: > ?: 5 [primitive-load "/gnu/store/fnanaa7xalxa9h3yh1hpj3m5zgm9wasp-ac= tivate"] > In ice-9/eval.scm: > 432: 4 [eval # ()] > In ice-9/boot-9.scm: > 768: 3 [for-each # #] > In unknown file: > ?: 2 [primitive-load "/gnu/store/hz2hnin6c12afvsyqxv0vs2rndxl9vpg-ac= tivate-servic > e"] > In ice-9/eval.scm: > 411: 1 [eval # ()] > In unknown file: > ?: 0 [getpw "postgres"] > =20 > ERROR: In procedure getpw: > ERROR: In procedure getpw: entry not found >=20 > Config attached. Thanx! > - cwebb >=20 I noticed that you use the postgresql-service, by any chance did you try again after the fix to the service by Danny Milosavljevic in bug#22618? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/VBcXActv1HWuaqRGRIYZlTV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWvDvhAAoJEPTB05F+rO6TGY4P/iY8yuNvBuNBSxZamqKjDRD6 xYbYup0eMxDbGXilkUR4+X6Mc2sXTwp1t5KtF6pZOsdBoORFwpWqZ7UChxvIHLm4 3rdX0/Db03DPBu5lCoEhs6n1LxI2/PpQA/ONw3XcpAUKMuHnNG2bBZjWd40ZE+7e /0wM6D4b3Bl8dRBE3Iinfh/WJvqm88nfLdONVFWW7uyGmjzV3DSDvIiNSCd6K+TY W6LAN2hC/ilZTBK02qyo3tG4RMi2Pgu6WVdU1QXbt/wR+R+HQh+tI6FJoPM0XX9w A/RnVp1Pg8K393ObDoQrS8sci2YSJhSCWbnCVviCZFK4p8e74uLnERzXAY5Ibxt0 NCpB5RbnbCx+3/Y8xP1Rv4ssPiwtwsDykJokNj/A+GIJ5uQ4X6TarZG2Tu+XfzOb KjNVkKQY6E+xiL9GCo6LOiHP/LufIVs7pxxSY1gGVsefTKrSQYQVbWuqbu5FoVUI kteX1gJVDUSg9jLLTzsdftJJZeWOtOKD50NXLv2tMUMQ8TChDgL9IGkm9rTnXuPX ywRk0OzLTi9sxGuXE0hirwyFV8XbBa9Hk05ycyDDv5Vs4expyvHyH6cb8PAYArxv cHuIYhh1A6ILq3PfsdoxSAFYOFwUF+G0847yFAPfifcNNgL0aD0Kd7SRnmxY1Npe A0T9Q4kL+9AC3IGXgi1O =1csK -----END PGP SIGNATURE----- --Sig_/VBcXActv1HWuaqRGRIYZlTV-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 05:08:23 2016 Received: (at 22626) by debbugs.gnu.org; 11 Feb 2016 10:08:23 +0000 Received: from localhost ([127.0.0.1]:35672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aToAh-0008VQ-EE for submit@debbugs.gnu.org; Thu, 11 Feb 2016 05:08:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58074) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aToAf-0008VE-TU for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 05:08:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aToAC-0003Xy-28 for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 05:08:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 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]:52462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aToAB-0003Xs-TR; Thu, 11 Feb 2016 05:07:51 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:60182 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aToAA-0003vN-59; Thu, 11 Feb 2016 05:07:50 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Christopher Allan Webber Subject: Re: bug#22626: Postgres service fails on adding user References: <8760xwhzpt.fsf@dustycloud.org> Date: Thu, 11 Feb 2016 11:07:48 +0100 In-Reply-To: <8760xwhzpt.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 10 Feb 2016 16:13:19 -0800") Message-ID: <87io1vtv9n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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.3 (-----) X-Debbugs-Envelope-To: 22626 Cc: 22626@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.3 (-----) Christopher Allan Webber skribis: > Heya all... guix system config attached. I tried doing a guix system > reconfigure and it failboat'ed. Here's what happened: > > adding user 'postgres'... > useradd: group 'postgres' does not exist Normally just above that there should be: adding group 'postgres' Could it be that adding the group silently failed? What does /etc/group shows? (When testing in =E2=80=98guix system vm=E2=80=99, everything works well.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 12:44:20 2016 Received: (at 22626) by debbugs.gnu.org; 11 Feb 2016 17:44:20 +0000 Received: from localhost ([127.0.0.1]:36899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTvHw-0004h3-8Y for submit@debbugs.gnu.org; Thu, 11 Feb 2016 12:44:20 -0500 Received: from dustycloud.org ([50.116.34.160]:36530) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTvHu-0004gv-Bw for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 12:44:18 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 6C24F26676; Thu, 11 Feb 2016 12:44:17 -0500 (EST) References: <8760xwhzpt.fsf@dustycloud.org> <87io1vtv9n.fsf@gnu.org> User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#22626: Postgres service fails on adding user In-reply-to: <87io1vtv9n.fsf@gnu.org> Date: Thu, 11 Feb 2016 09:44:16 -0800 Message-ID: <87io1vqgzz.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 22626 Cc: 22626@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: -0.2 (/) Ludovic Courtès writes: > Christopher Allan Webber skribis: > >> Heya all... guix system config attached. I tried doing a guix system >> reconfigure and it failboat'ed. Here's what happened: >> >> adding user 'postgres'... >> useradd: group 'postgres' does not exist > > Normally just above that there should be: > > adding group 'postgres' > > Could it be that adding the group silently failed? What does /etc/group > shows? Well, it looks like it does do that. I didn't show my full output because there's a lot of garbage... maybe it turns out that this garbage is related: The following derivation will be built: /gnu/store/kil0p7xg6qrvvkf3mp0j0xii09s1cqx7-grub.cfg.drv /gnu/store/qsgrb7inl2mkrnccxf524faqax63dbs4-system /gnu/store/1b31ydr0yrc3jdl6i4chaccsbapzq0m5-grub.cfg /gnu/store/sx2xqvr3s033bl60s09zs6jjbs73n791-grub-2.00 activating system... setting up setuid programs in '/run/setuid-programs'... populating /etc from /gnu/store/piaczch5x7vczy9z7yjq4z8631rh828p-etc... usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. adding group 'postgres'... groupadd: existing lock file /etc/group.lock without a PID groupadd: cannot lock /etc/group; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. adding user 'ntpd'... useradd: existing lock file /etc/group.lock without a PID useradd: cannot lock /etc/group; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: no changes usermod: no changes usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. usermod: existing lock file /etc/shadow.lock without a PID usermod: cannot lock /etc/shadow; try again later. adding user 'postgres'... useradd: group 'postgres' does not exist Anyway /etc/group does not show postgres but I suppose it wouldn't without the "guix system reconfigure" succeeding? > (When testing in ‘guix system vm’, everything works well.) I can't tell whether or not "guix system vm" would be fine; I assume it probably would because I got to the point where qemu must have been invoked, since my system crashed. See my last bug. It definitely does not work with "guix system reconfigure" though. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 17:36:25 2016 Received: (at 22626) by debbugs.gnu.org; 11 Feb 2016 22:36:25 +0000 Received: from localhost ([127.0.0.1]:37021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTzqa-0004p7-S2 for submit@debbugs.gnu.org; Thu, 11 Feb 2016 17:36:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52413) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTzqZ-0004ov-AQ for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 17:36:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTzqR-0005y3-2j for 22626@debbugs.gnu.org; Thu, 11 Feb 2016 17:36:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTzqQ-0005xz-VZ; Thu, 11 Feb 2016 17:36:15 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:52456 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTzqQ-0000yM-A8; Thu, 11 Feb 2016 17:36:14 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Christopher Allan Webber Subject: Re: bug#22626: Postgres service fails on adding user References: <8760xwhzpt.fsf@dustycloud.org> <87io1vtv9n.fsf@gnu.org> <87io1vqgzz.fsf@dustycloud.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 11 Feb 2016 23:36:11 +0100 In-Reply-To: <87io1vqgzz.fsf@dustycloud.org> (Christopher Allan Webber's message of "Thu, 11 Feb 2016 09:44:16 -0800") Message-ID: <871t8ikh7o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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.3 (-----) X-Debbugs-Envelope-To: 22626 Cc: 22626@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.3 (-----) Christopher Allan Webber skribis: > Ludovic Court=C3=A8s writes: > >> Christopher Allan Webber skribis: >> >>> Heya all... guix system config attached. I tried doing a guix system >>> reconfigure and it failboat'ed. Here's what happened: >>> >>> adding user 'postgres'... >>> useradd: group 'postgres' does not exist >> >> Normally just above that there should be: >> >> adding group 'postgres' >> >> Could it be that adding the group silently failed? What does /etc/group >> shows? > > Well, it looks like it does do that. I didn't show my full output > because there's a lot of garbage... maybe it turns out that this garbage > is related: > > The following derivation will be built: > /gnu/store/kil0p7xg6qrvvkf3mp0j0xii09s1cqx7-grub.cfg.drv > /gnu/store/qsgrb7inl2mkrnccxf524faqax63dbs4-system > /gnu/store/1b31ydr0yrc3jdl6i4chaccsbapzq0m5-grub.cfg > /gnu/store/sx2xqvr3s033bl60s09zs6jjbs73n791-grub-2.00 > activating system... > setting up setuid programs in '/run/setuid-programs'... > populating /etc from /gnu/store/piaczch5x7vczy9z7yjq4z8631rh828p-etc... > usermod: existing lock file /etc/shadow.lock without a PID > usermod: cannot lock /etc/shadow; try again later. > adding group 'postgres'... > groupadd: existing lock file /etc/group.lock without a PID > groupadd: cannot lock /etc/group; try again later. Apparently there=E2=80=99s a stale lock file that prevents =E2=80=98groupad= d=E2=80=99 from succeeding, maybe from an earlier crash or something? Could you forcefully remove /etc/*.lock and retry? > Anyway /etc/group does not show postgres but I suppose it wouldn't > without the "guix system reconfigure" succeeding? At this point, /run/current-system has been successfully updated; the only thing that hasn=E2=80=99t been done yet is updating the GRUB menu. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 18:07:54 2016 Received: (at 22626-done) by debbugs.gnu.org; 11 Feb 2016 23:07:54 +0000 Received: from localhost ([127.0.0.1]:37037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aU0L3-0005ZL-UR for submit@debbugs.gnu.org; Thu, 11 Feb 2016 18:07:54 -0500 Received: from dustycloud.org ([50.116.34.160]:37130) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aU0L2-0005ZD-Ls for 22626-done@debbugs.gnu.org; Thu, 11 Feb 2016 18:07:52 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 0818326676; Thu, 11 Feb 2016 18:07:50 -0500 (EST) References: <8760xwhzpt.fsf@dustycloud.org> <87io1vtv9n.fsf@gnu.org> <87io1vqgzz.fsf@dustycloud.org> <871t8ikh7o.fsf@gnu.org> User-agent: mu4e 0.9.13; emacs 24.5.1 From: Christopher Allan Webber To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#22626: Postgres service fails on adding user In-reply-to: <871t8ikh7o.fsf@gnu.org> Date: Thu, 11 Feb 2016 15:07:49 -0800 Message-ID: <8737sy7smy.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 22626-done Cc: 22626-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: -0.2 (/) Ludovic Courtès writes: > Apparently there’s a stale lock file that prevents ‘groupadd’ from > succeeding, maybe from an earlier crash or something? > > Could you forcefully remove /etc/*.lock and retry? Well, that fixed it! I guess I could have guessed by the context clues being dumped into stdout... :) Anyway, closed! From unknown Mon Jun 23 18:28:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Mar 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator