From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: bug#22626: Postgres service fails on adding user Date: Wed, 10 Feb 2016 16:13:19 -0800 Message-ID: <8760xwhzpt.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTetZ-0005Vo-Tw for bug-guix@gnu.org; Wed, 10 Feb 2016 19:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTetW-0005y3-I5 for bug-guix@gnu.org; Wed, 10 Feb 2016 19:14:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTetW-0005xz-Ek for bug-guix@gnu.org; Wed, 10 Feb 2016 19:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTetW-0001Ky-BZ for bug-guix@gnu.org; Wed, 10 Feb 2016 19:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22626@debbugs.gnu.org --=-=-= 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== --=-=-=--