From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 30 21:57:09 2018 Received: (at submit) by debbugs.gnu.org; 31 Jan 2018 02:57:09 +0000 Received: from localhost ([127.0.0.1]:50059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egiaD-0000kD-14 for submit@debbugs.gnu.org; Tue, 30 Jan 2018 21:57:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egiaB-0000jn-29 for submit@debbugs.gnu.org; Tue, 30 Jan 2018 21:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egia5-0008If-0a for submit@debbugs.gnu.org; Tue, 30 Jan 2018 21:57:01 -0500 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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1egia4-0008Ia-TF for submit@debbugs.gnu.org; Tue, 30 Jan 2018 21:57:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egia3-0000Ir-Qw for bug-guix@gnu.org; Tue, 30 Jan 2018 21:57:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egiZy-0008GU-Vq for bug-guix@gnu.org; Tue, 30 Jan 2018 21:56:59 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38007) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1egiZy-0008GD-NV for bug-guix@gnu.org; Tue, 30 Jan 2018 21:56:54 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D9AB320C2C; Tue, 30 Jan 2018 21:56:53 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 30 Jan 2018 21:56:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=BNi5EA5QNM5PGi BhsvSGYu0iqqEqxKL0J9aef7p0PJ8=; b=BBY2RzqGb6nrLje26xSEx4yonb4pZs DwRYn74jWT3uPGzxV2UTkvLjmeeTp7/5fG5PVN/MleD/AeKx7hbnMI+YXAmxZv4o jfFZ7+/W2v3Ky1aH2XS/rxJ8dfMzqOGjFlqNR4YynIgcZp76hHh4c6d2LHvZWlun 002wrHQNAX9XM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=BNi5EA5QNM5PGiBhsvSGYu0iqqEqxKL0J9aef7p0PJ8=; b=OjKvq9ON GUmx5d6f7Ckh2V8awzLkmb2HXaaJ29p1D3D8DDKT6K2RfUPaz53PXWKtAuZEG7dd SU+jaklVMEOY2n+tMMavfZXO3UqG7WeoifFI5n8/Qf2m35aBOD3mV6S9heBbjmfw TJmsV1h3WxGLx47qJCGlz4t4Eeh7x80xHsHHBxswsPlGxMWH928IwNUO7danG55h +IiFY7wTtie5lEQ/0N7fk4aUVLcQPx9wIulbbduYZ9cfceFhRk6U7zJQ1fly7n4V 9dJtL0cUjoY31JxA5j44TrISWb7HpJiSqc7LVsD3zNozBmTUxfS8pgKcrsALEcdI f1cJMJxylem0WQ== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 9847E7E585 for ; Tue, 30 Jan 2018 21:56:53 -0500 (EST) Date: Tue, 30 Jan 2018 21:56:52 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: core-updates: Failure to find the guixbuild group Message-ID: <20180131025652.GA14550@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.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: -4.1 (----) --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I updated my Guix installation on a Debian system to the latest core-updates (8b9dbdf36fa89b7eb02). After restarting the guix-daemon, anything requiring a build fails like this: # guix package --rollback guix package: error: build failed: the group `guixbuild' specified in `build-users-group' does not exist But: # grep guixbuild /etc/group guixbuild:x:999:guixbuilder01,guixbuilder02,guixbuilder03,guixbuilder04,guixbuilder05,guixbuilder06,guixbuilder07,guixbuilder08,guixbuilder09,guixbuilder10 --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpxMHAACgkQJkb6MLrK fwhQVhAAhNyV8Abqoqo4igdsuj0UO9jM4hN2k2IrTyYRmXNhjKz7Y7vQH9/HPMp4 6SkNFM92BcUUXLVmpaUR/Y86/XXR26r5WA3Wec47gytO3/Dl2Oh59GbWC/MVVyHC 0uc/c5EHv5eFusSYK0/qazowkWvVeJdbfl/AAUripOb2YcogqSFMU/pz3Y6tlN4z bM3CicTZbyGMgptKLtvbmR9sMhcofNiYF2J5hai23MWAFzIot+RVU5/2uGUCjp5h ktxdI8sWJ66OAZDSWDxTila3LjeR6wDMHDlaV8LrDDpBFXzNHZEpwfAkaEMa1X7G MaJTpHnhplssfIjmvgfA9EMVp37/HNjZDNEA6+YgpvIrBhI7xDzKcrsj46buzvxm uirW2aU4hHedodE3gtM2yMimbTsn4vtHQ5Bt01E27loefHW4J6wtDOWVUPhYVwD8 sdQF/bzykEVrJSiGXUN+FVESgYRydLb0P4Faxgcs8jt2E1ljKk3/d/7fh4vhPskb sqLGfe8IMA9T3qi9jp3wP9uvYgc1QkxKuU2S1whOgv+8Mvh78b4lpSDPoRXLRmvD 961Xf9r4xO19s4YMRHriMtlAyS16paKU2JPkgBCGYI/2FIzk1Elg2Kmwz0VNY5W1 2QneJyFrPZg8Ilms3FDyl8tZY/2YmdWIAbKVg4+vgg5wYvK5dyA= =Evfi -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 30 22:03:38 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 03:03:38 +0000 Received: from localhost ([127.0.0.1]:50065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egigT-0002om-Os for submit@debbugs.gnu.org; Tue, 30 Jan 2018 22:03:38 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egigR-0002ob-JN for 30298@debbugs.gnu.org; Tue, 30 Jan 2018 22:03:35 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 10F2720808; Tue, 30 Jan 2018 22:03:35 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 30 Jan 2018 22:03:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=OJzgnS7xH7NHwD WxIAYr+JX2CA/mrc1Gb/B36pXplC4=; b=DVbuuUv2vE/sWjxvFDkdALuMn3/kM5 Hah1w9dYfec+Q1S1JMeXU+tblHXrs7MyDM05ravwZ1XaYmqwx+ELi1631HQes7Fz Xp9Jh8tH+CW51UJ0Xp1DX6x+plovpg2VysYr7uayxVJH+a2DmedT5iCRye1kMxud CCjW+IlJa4mpM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=OJzgnS7xH7NHwDWxIAYr+JX2CA/mrc1Gb/B36pXplC4=; b=DOESCo0f ybfLuTkdzYEYf9U5rcADE03G/bGh+1xr1K/WtdkN9Ta5xsXLHIkAcBSd7lMaEol4 4WkDFMIsbGD/BULKXAl+0LRxDyUDUuEsNWPq0uQ8zpr3QiA1RvCs5vsJUfQgOM5X zCPehs+GBx3p0pmBtcnC55Yr3hjG7A1JM0NUy2Covg/ehoVzaxYP7Y3dafA334fy pfaUceo3/Z/2nS5sVwCbXVQfUhdOYeEqAkSOU+cqBwicGPSmfTVNWmc20saLnOj6 KMUh+nvbMGb6ooiHOC1w+EGHc5Az5GAKrDA0ApwY7cjColMZFFxlaFOGJaN0axT+ +vHnDtnbwUVKfw== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id B592D24640 for <30298@debbugs.gnu.org>; Tue, 30 Jan 2018 22:03:34 -0500 (EST) Date: Tue, 30 Jan 2018 22:03:34 -0500 From: Leo Famulari To: 30298@debbugs.gnu.org Subject: RE: core-updates: Failure to find the guixbuild group Message-ID: <20180131030334.GA14907@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 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.7 (/) --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here is the strace of guix-daemon: strace: Process 21446 attached select(4, [3], NULL, NULL, NULL) = 1 (in [3]) accept(3, {sa_family=AF_UNIX}, [128->2]) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not supported) setsockopt(4, SOL_TCP, TCP_QUICKACK, [1], 4) = -1 EOPNOTSUPP (Operation not supported) getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=21666, uid=1000, gid=1000}, [12]) = 0 write(2, "accepted connection from pid 216"..., 46) = 46 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f49fcf761d0) = 21672 strace: Process 21672 attached [pid 21446] close(4 [pid 21672] set_robust_list(0x7f49fcf761e0, 24 [pid 21446] <... close resumed> ) = 0 [pid 21672] <... set_robust_list resumed> ) = 0 [pid 21446] select(4, [3], NULL, NULL, NULL [pid 21672] close(3) = 0 [pid 21672] setsid() = 21672 [pid 21672] rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, {sa_handler=0x408f90, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, 8) = 0 [pid 21672] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 21672] getpid() = 21672 [pid 21672] fcntl(4, F_SETOWN, 21672) = 0 [pid 21672] fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) [pid 21672] fcntl(4, F_SETFL, O_RDWR|O_ASYNC) = 0 [pid 21672] read(4, "cxin\0\0\0\0", 32768) = 8 [pid 21672] write(4, "oixd\0\0\0\0a\1\0\0\0\0\0\0", 16) = 16 [pid 21672] read(4, "a\1\0\0\0\0\0\0", 32768) = 8 [pid 21672] --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- [pid 21672] read(4, "\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 32768) = 16 [pid 21672] rt_sigaction(SIGIO, {sa_handler=0x4096f0, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, {sa_handler=SIG_IGN, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, 8) = 0 [pid 21672] select(5, [4], NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout) [pid 21672] lstat("/gnu/store", {st_dev=makedev(254, 0), st_ino=261483, st_mode=S_IFDIR|S_ISVTX|0775, st_nlink=812, st_uid=0, st_gid=999, st_blksize=4096, st_blocks=2864, st_size=1462272, st_atime=2018-01-30T05:08:01-0500.005440398, st_mtime=2018-01-30T21:58:20-0500.717328223, st_ctime=2018-01-30T21:58:20-0500.717328223}) = 0 [pid 21672] getuid() = 0 [pid 21672] statfs("/gnu/store", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=2370105, f_bfree=678352, f_bavail=552196, f_files=610800, f_ffree=439747, f_fsid={val=[1197410366, 3135970965]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 [pid 21672] lstat("/gnu/store/.links", {st_dev=makedev(254, 0), st_ino=261484, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=29704, st_size=15196160, st_atime=2018-01-30T05:09:07-0500.734306527, st_mtime=2018-01-30T21:58:20-0500.657327505, st_ctime=2018-01-30T21:58:20-0500.657327505}) = 0 [pid 21672] lstat("/var/guix/profiles", {st_dev=makedev(254, 0), st_ino=261476, st_mode=S_IFDIR|0755, st_nlink=3, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2018-01-30T05:07:50-0500.201299582, st_mtime=1969-12-31T19:00:01-0500, st_ctime=2016-01-17T02:42:03-0500.994173793}) = 0 [pid 21672] lstat("/var/guix/temproots", {st_dev=makedev(254, 0), st_ino=261481, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2018-01-30T05:08:00-0500.989440189, st_mtime=2018-01-30T21:58:39-0500.313550723, st_ctime=2018-01-30T21:58:39-0500.313550723}) = 0 [pid 21672] lstat("/var/guix/db", {st_dev=makedev(254, 0), st_ino=261469, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2017-12-06T11:13:50-0500.709588501, st_mtime=2018-01-30T21:59:11-0500.449935220, st_ctime=2018-01-30T21:59:11-0500.449935220}) = 0 [pid 21672] lstat("/var/guix/gcroots", {st_dev=makedev(254, 0), st_ino=261474, st_mode=S_IFDIR|0755, st_nlink=3, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2018-01-30T05:07:50-0500.201299582, st_mtime=2017-07-24T03:33:04-0400.151020803, st_ctime=2017-07-24T03:33:04-0400.151020803}) = 0 [pid 21672] getuid() = 0 [pid 21672] lstat("/var/guix/profiles/per-user", {st_dev=makedev(254, 0), st_ino=261477, st_mode=S_IFDIR|S_ISVTX|0777, st_nlink=4, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2018-01-30T21:57:51-0500.636980272, st_mtime=2016-01-17T03:24:24-0500.763756302, st_ctime=2018-01-30T21:59:58-0500.434480564}) = 0 [pid 21672] chmod("/var/guix/profiles/per-user", 01777) = 0 [pid 21672] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 [pid 21672] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 21672] close(3) = 0 [pid 21672] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 [pid 21672] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 21672] close(3) = 0 [pid 21672] futex(0x7f49fbe86190, FUTEX_WAKE_PRIVATE, 2147483647) = 0 [pid 21672] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, {sa_handler=0x4096f0, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, 8) = 0 [pid 21672] write(4, "ptxc\0\0\0\0E\0\0\0\0\0\0\0the group `guixb"..., 96) = 96 [pid 21672] exit_group(0) = ? [pid 21672] +++ exited with 0 +++ <... select resumed> ) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21672, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, NULL, WNOHANG, NULL) = 21672 wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) select(4, [3], NULL, NULL, NULL --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpxMgUACgkQJkb6MLrK fwjW8A/9Hrzi/KsLjYP2WLcF17EnQlAGzVnC3idVch8Q7ohllyVLcJtUSTSs+IDL 5guWJdsaWagMDEgn13AFDFpudDa7Pk6f4a1a6XqiVmp6ey4f6UhklKVqjXLNOSKZ R/lNVJbt+7hy2K5OucsemVZl+nU9jCx9NySkmlqBOAZe/TMAJ9Z+Xekuc8tYs/F/ JcK4KdPvXXtRj8tqwTZDJj6XS8eNCTIPsNqh6i8xzI88kpCUoCYABCbIHc/Gu5NK paoRN/A8XRrJQmRa9fcilYAgqZ9tK95O79HM9yFAYHjgDD16KD8Ezyvrqol5epnK 5PvUm3A0ulDnR3mLycM1a40C1bcwagKqBC3uX3dr7oGvkYnU6DbNVFAOes6ycwxH BxOeHGLxsCxi8frYbzdeC2nLIuY+jMae7n3yI3yTt+ytxXQcLI1qdpRfuJL9cgYz PZpdqQhPp2PyWhIF5jXbUn8kPe/dHMG9Su53sV5Ak6RSSeUewtZ74ignSYCC3vuc sxMyxrjb1uzH226Tfcgi2IllT5YsmHf/HaRNV2OBQcd1AvK4YfKUHHxKBI4kkONZ cFCsui0fUce/00rWO2SoGu2Rw2VMc58f5OtDoPYqfSkmUBU+k4HpFLJZ/0wEDhNt k40nDZ352n1S3jpOlkGb+6kax+1NBlDPPPZrER2lT7e0hGr6FG0= =/Hli -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 30 22:29:16 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 03:29:16 +0000 Received: from localhost ([127.0.0.1]:50081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egj5H-0003Of-Vl for submit@debbugs.gnu.org; Tue, 30 Jan 2018 22:29:16 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:52941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egj5G-0003OY-GQ for 30298@debbugs.gnu.org; Tue, 30 Jan 2018 22:29:14 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A72D620A5A; Tue, 30 Jan 2018 22:29:13 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 30 Jan 2018 22:29:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=En/COMisvf4wZ4LdYVlZLexQO6CA1U8DCHao6H2myMM=; b=AiT3U bFqec/NoJaes8Lpea712u3i/Fp5PTgYwl/5/x2IJ4B1Wlc35oArcDVpt0PxjMqyU f3TcnPAl3T4s2p8XlhCxtisPeAbVb+b6+EiNhyjwPixddZMQ1GmzkH/B7eKu28c4 o9vLNwvVHOz1edK9k+ISbhqUZ6xgFxl8/N/S1c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=En/COMisvf4wZ4LdYVlZLexQO6CA1 U8DCHao6H2myMM=; b=a7qcT3cT85QaDzUq8D/MfeYFPXAVzkNYApQAb4UoB9oOd kFH9YjcaGR5USN+xvGAiDSzK/8z5EMiB/h+nWAal2yZnn3lulMIj0D55inqljPmP RQ0dT3sxEuzUy+tgxt1mFKipmAhlafbYxvHdS2LA6BMDtvOCX4tuUED+4lmQekCr N0iKMzWXRTMTSkvkUAEnvuAdTplJYE//HwtyS59vgiG6HUfu86N2Te43ALiZ9PFa GeAMdITRyKvgSpv5ytwQXHUhOvQoqb1qZSnYwWkepX6dsEULjEe0GGJUOE/ZEmnr /GDETxAmOSVZCGCHXrsMGHXr5bh1S60QW3yVnRYWQ== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CDEE7E0FD for <30298@debbugs.gnu.org>; Tue, 30 Jan 2018 22:29:13 -0500 (EST) Date: Tue, 30 Jan 2018 22:29:12 -0500 From: Leo Famulari To: 30298@debbugs.gnu.org Subject: Re: core-updates: Failure to find the guixbuild group Message-ID: <20180131032912.GA15941@jasmine.lan> References: <20180131030334.GA14907@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20180131030334.GA14907@jasmine.lan> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 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.7 (/) --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 30, 2018 at 10:03:34PM -0500, Leo Famulari wrote: > [pid 21672] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > [pid 21672] close(3) = 0 > [pid 21672] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 > [pid 21672] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > [pid 21672] close(3) = 0 > [pid 21672] futex(0x7f49fbe86190, FUTEX_WAKE_PRIVATE, 2147483647) = 0 > [pid 21672] rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, {sa_handler=0x4096f0, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f49fb8f2250}, 8) = 0 > [pid 21672] write(4, "ptxc\0\0\0\0E\0\0\0\0\0\0\0the group `guixb"..., 96) = 96 > [pid 21672] exit_group(0) = ? > [pid 21672] +++ exited with 0 +++ > <... select resumed> ) = ? ERESTARTNOHAND (To be restarted if no handler) > --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21672, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- > wait4(-1, NULL, WNOHANG, NULL) = 21672 > wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes) > rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) > select(4, [3], NULL, NULL, NULL On GuixSD instead of Debian, also using core-updates, it instead proceeds successfully like this: 52 [pid 22286] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 53 [pid 22286] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0 54 [pid 22286] sendto(3, "\2\0\0\0\f\0\0\0\6\0\0\0group\0", 18, MSG_NOSIGNAL, NULL, 0) = 18 55 [pid 22286] poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) 56 [pid 22286] recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=6}, {iov_base="", iov_len=8}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_C LOEXEC) = 0 57 [pid 22286] close(3) = 0 58 [pid 22286] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 59 [pid 22286] connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0 60 [pid 22286] sendto(3, "\2\0\0\0\2\0\0\0\n\0\0\0guixbuild\0", 22, MSG_NOSIGNAL, NULL, 0) = 22 61 [pid 22286] poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) 62 [pid 22286] read(3, "\2\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0", 24) = 24 63 [pid 22286] close(3) = 0 64 [pid 22286] open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 65 [pid 22286] fstat(3, {st_dev=makedev(8, 1), st_ino=524529, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=550, st_atime=1517333161 /* 2018-01- 30T12:26:01.702640653-0500 */, st_atime_nsec=702640653, st_mtime=1515043935 /* 2018-01-04T00:32:15.108027808-0500 */, st_mtime_nsec=108027808, st_ctime=1515043935 /* 2018-01-04T00:32:15.1 32027927-0500 */, st_ctime_nsec=132027927}) = 0 66 [pid 22286] read(3, "root:x:0:\nwheel:x:999:leo\nusers:"..., 4096) = 550 67 [pid 22286] close(3) = 0 --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpxOAgACgkQJkb6MLrK fwgvOxAA5KY0uUyMU5onJTxzG1w/NoT9hVAf0gJ3Cw2Aofatv++4jiQwfDkMVfgM GQe7fAx6K3YqsA/GrE8scZJWLgx091j2oE19Tqth5wXcdbYysT6q2MiD7kiLGEUC Jg/8hZnYgcZ3CZRA5luTtOvUyN66I11/RuQMNX/mr5gE4KESkLxqEyKzueRowltZ Dkx0COgbW7UMWTfkUOqJo8AlyFGely5x5xrT1HJs/aCPechycjytqt/A3J45ASGR 1QqVXQRCZfPEAYr7T/yPbpPK7H36F3Z6K38ktbcBOM4gGKg1ryL/j5WxJ7ISIdDn ssr9IFHqHpAZgaNr21ThEi//J+yTHJ2uZl/vmU2xL91J0TuRgaahHpB2VtU6ERkH LZVyC33b3fqfQa1al2BS82sCJpqKmaL6jHRlMRKmTifV4LolyDwKVDzBvbsVpkeL AQpPCxVFTSjB+C/bIgNtOoqq/94ANXkLbZhE9hwZV2HgbJOUFyndIRNd/DfajWO3 jKqlZB2Jz08AS+iTipM08eA7hmq30Z0up4jZLFmCnHqQHvfK+yVhr7rBhQEWtBNA wcj51tHoC6FYaTpaORUTvn2AVE0utfo3EvTvPnfMotg813I94fqCmw/I29v9vzbX aVxzHjhy82xCqt3CKTe3yZ+dSFZeLTH5Dsux2CwGBhkm4BbScFk= =kare -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 17:38:39 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 22:38:39 +0000 Received: from localhost ([127.0.0.1]:51595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh11b-0001gE-Hi for submit@debbugs.gnu.org; Wed, 31 Jan 2018 17:38:39 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh11a-0001g7-Ir for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 17:38:39 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 19B5411C33; Wed, 31 Jan 2018 23:38:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4-gD21xKO7r; Wed, 31 Jan 2018 23:38:37 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9E16211C32; Wed, 31 Jan 2018 23:38:36 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group References: <20180131025652.GA14550@jasmine.lan> Date: Wed, 31 Jan 2018 23:38:35 +0100 In-Reply-To: <20180131025652.GA14550@jasmine.lan> (Leo Famulari's message of "Tue, 30 Jan 2018 21:56:52 -0500") Message-ID: <87tvv1r6vo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30298 Cc: 30298@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: 1.0 (+) Hey! Leo Famulari skribis: > I updated my Guix installation on a Debian system to the latest > core-updates (8b9dbdf36fa89b7eb02). > > After restarting the guix-daemon, anything requiring a build fails like > this: > > # guix package --rollback > guix package: error: build failed: the group `guixbuild' specified in `bu= ild-users-group' does not exist [...] > [pid 21672] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = =3D 3 > [pid 21672] connect(3, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/so= cket"}, 110) =3D -1 ENOENT (No such file or directory) > [pid 21672] close(3) =3D 0 > [pid 21672] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = =3D 3 > [pid 21672] connect(3, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/so= cket"}, 110) =3D -1 ENOENT (No such file or directory) > [pid 21672] close(3) =3D 0 > [pid 21672] futex(0x7f49fbe86190, FUTEX_WAKE_PRIVATE, 2147483647) =3D 0 > [pid 21672] rt_sigaction(SIGIO, {sa_handler=3DSIG_IGN, sa_mask=3D~[RTMIN = RT_1], sa_flags=3DSA_RESTORER, sa_restorer=3D0x7f49fb8f2250}, {sa_handler= =3D0x4096f0, sa_mask=3D~[KILL STOP RTMIN RT_1], sa_flags=3DSA_RESTORER, sa_= restorer=3D0x7f49fb8f2250}, 8) =3D 0 > [pid 21672] write(4, "ptxc\0\0\0\0E\0\0\0\0\0\0\0the group `guixb"..., 96= ) =3D 96 > [pid 21672] exit_group(0) =3D ? > [pid 21672] +++ exited with 0 +++ I suppose it works if you start nscd on this Debian machine (as is the case on GuixSD), right? The question is why isn=E2=80=99t guix-daemon falling back to loading libnss_files and reading /etc/groups directly. How is this guix-daemon built? What libc is it linked against? Does /etc/nsswitch.conf exist and what does it contain? On my GuixSD it seems to work as expected: --8<---------------cut here---------------start------------->8--- $ /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/bi= n/getent group guixbuild guixbuild:x:30000:guixbuilder01,guixbuilder02,guixbuilder03,guixbuilder04,g= uixbuilder05,guixbuilder06,guixbuilder07,guixbuilder08,guixbuilder09,guixbu= ilder10 $ sudo herd stop nscd Service nscd has been stopped. $ /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/bi= n/getent group guixbuild guixbuild:x:30000:guixbuilder01,guixbuilder02,guixbuilder03,guixbuilder04,g= uixbuilder05,guixbuilder06,guixbuilder07,guixbuilder08,guixbuilder09,guixbu= ilder10 $ strace /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5= 379c/bin/getent group guixbuild [...] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) =3D 3 connect(3, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 110) = =3D -1 ENOENT (No such file or directory) close(3) =3D 0 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) =3D 3 connect(3, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 110) = =3D -1 ENOENT (No such file or directory) close(3) =3D 0 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) =3D 3 fstat(3, {st_mode=3DS_IFREG|0444, st_size=3D207, ...}) =3D 0 read(3, "group:\tcompat [NOTFOUND=3Dreturn] "..., 4096) =3D 207 read(3, "", 4096) =3D 0 close(3) =3D 0 openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.10= 5-g0890d5379c/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (N= o such file or directory) openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.10= 5-g0890d5379c/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) =3D 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\"\0\0\0\0\0\0".= .., 832) =3D 832 fstat(3, {st_mode=3DS_IFREG|0555, st_size=3D56928, ...}) =3D 0 mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = =3D 0x7f420943d000 mprotect(0x7f4209448000, 2093056, PROT_NONE) =3D 0 mmap(0x7f4209647000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_= DENYWRITE, 3, 0xa000) =3D 0x7f4209647000 mmap(0x7f4209649000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP= _ANONYMOUS, -1, 0) =3D 0x7f4209649000 close(3) =3D 0 mprotect(0x7f4209647000, 4096, PROT_READ) =3D 0 open("/etc/group", O_RDONLY|O_CLOEXEC) =3D 3 fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D666, ...}) =3D 0 read(3, "root:x:0:\nwheel:x:999:ludo\nusers"..., 4096) =3D 666 close(3) =3D 0 fstat(1, {st_mode=3DS_IFCHR|0620, st_rdev=3Dmakedev(136, 10), ...}) =3D 0 write(1, "guixbuild:x:30000:guixbuilder01,"..., 158guixbuild:x:30000:guixbu= ilder01,guixbuilder02,guixbuilder03,guixbuilder04,guixbuilder05,guixbuilder= 06,guixbuilder07,guixbuilder08,guixbuilder09,guixbuilder10 ) =3D 158 exit_group(0) =3D ? +++ exited with 0 +++ --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 17:49:19 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 22:49:19 +0000 Received: from localhost ([127.0.0.1]:51604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Bt-0001vQ-SQ for submit@debbugs.gnu.org; Wed, 31 Jan 2018 17:49:19 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Bs-0001vH-Hh for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 17:49:17 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E751E20BEE; Wed, 31 Jan 2018 17:49:15 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 31 Jan 2018 17:49:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=dh4L9s2J4HdPWS6WgpWACP0I0PWpQw+vbi60M9kTVN4=; b=w/EtB 1rmPpom3CRROvsgKPZsfQRE7rASH/3i1/zs5vtH+fjYkOj2AgmhWlxDRuhKzJa8x DSHH71ypQtAMKF4U2pXg46bsAEl/FYvONLmV0Xh9lLxI4lT+4C+MiwBirpVGpZqQ AUHg7Y6l0Gu7OahzzPcYefklsxn7hMnFud8IzE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=dh4L9s2J4HdPWS6WgpWACP0I0PWpQ w+vbi60M9kTVN4=; b=NvuYlRgWSlTN8sdf93HDB+59djMO95UlUwExHRA4WsR1c LOl6nLvcWa86wp2rmYWtiydgvN3sJyqinqlzSyMSc+KUUt5kNWJPE0czSMqC7gvE kH800kaKTQFT7C2d2UNSCzgEffdM45QeIaw74Bsl6crP+AK53GXczhIX7krkJXwi 4Sy6FdEMy2dLSOX3RbnH6Q/J2Azy30BEQYY4xc5Aej66y/JoFP8tmSix0u6uCCSO mM8U4/jZitMaWTEuvZBfTU8Oj5AQQLQnAThS/17kRuib4j+lsYpSXZzr4S2VflIp V5pg414+eKASWuTd4zgZ81gG5AxUS6J9dpcanLn4w== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 9E0EC7E664; Wed, 31 Jan 2018 17:49:15 -0500 (EST) Date: Wed, 31 Jan 2018 17:49:13 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group Message-ID: <20180131224913.GA29149@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <87tvv1r6vo.fsf@gnu.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 Cc: 30298@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.7 (/) --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2018 at 11:38:35PM +0100, Ludovic Court=C3=A8s wrote: > I suppose it works if you start nscd on this Debian machine (as is the > case on GuixSD), right? Yes, `apt-get install nscd` does everything necessary to set up and start nscd, and then guix-daemon works. > The question is why isn=E2=80=99t guix-daemon falling back to loading > libnss_files and reading /etc/groups directly. >=20 > How is this guix-daemon built? What libc is it linked against? > Does /etc/nsswitch.conf exist and what does it contain? This guix-daemon is based on core-updates commit 76ef53eb828 (gnu: glslang: Update to commit b5b084624), on x86_64-linux. It's linked against /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c. nsswitch.conf looks like this: $ ls -l /etc/nsswitch.conf=20 -rw-r--r-- 1 root root 529 Jun 13 2017 /etc/nsswitch.conf $ cat /etc/nsswitch.conf=20 # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat gshadow: files hosts: files mdns4_minimal [NOTFOUND=3Dreturn] dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpyR+YACgkQJkb6MLrK fwhg0Q//Zv+gRkC1roWUvmCFYQ6wjuxzeoBWj7Va+z4ah/JHA4upalFyxKS0RQMQ fwwFV4G9zVUP0Y8aLune8BrRYTU5SIU/DLOneZtZZUQUVQ4O3akIooUh+vQG8NCx 1LnUddjmMmaNSEV4kHjWb0oi7fQCjl/5E+b7diIkNUvftTeEubR446sm/T3CbgfQ r7Js9TEhirUXew2EMKxBwd/3Hj6rH5dLFgdi0+lxLRX5+bHr4+LJ3vCo2imhTFaD /bbPMaw8Q+8ec5I9a1Z2VetKmC3pNns7tj4JobP5YZuhwblRDfYVEyc97NqkKTAa sxgfGYLULa67IZrrafAg1/uEnZFL7an3ZmcicYFOsq8VbSOWSRvXnzI9LgITkKwL 20iIfUjMQhByaATJ9/8KPHcMXAdg83wEw4N1ej/Bt+QknSuHA3yxs6kNGC9zco6S ZdoDWOOV2YSJr+mhPmRETnbpBTmT7v04BLXuETUCNThSZ7b0Q5WyzxFgEXxvIIFf 0jw5bUYTX72X4p+8LIbzTngXKrntvVS9i7P8nfnGZ9KncjwdWVmNWx6fJrCr5N8p Uh7HKuhYMubA02YCpM+clkbyOwZEQrgOlS8gmWmi+L4ZD7eaViPfbKQqlgRbmebZ jMHw7L8OvYxuweMaRlQDzf+5bXzqGW1lv5ZSGbP6IGOeS0bhuSQ= =MwD8 -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 17:52:30 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 22:52:30 +0000 Received: from localhost ([127.0.0.1]:51615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Ey-00020G-SU for submit@debbugs.gnu.org; Wed, 31 Jan 2018 17:52:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Ew-000208-6B for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 17:52:26 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 752B211C33; Wed, 31 Jan 2018 23:52:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jdeNQVGt_zrs; Wed, 31 Jan 2018 23:52:24 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7E9F911C18; Wed, 31 Jan 2018 23:52:24 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> Date: Wed, 31 Jan 2018 23:52:23 +0100 In-Reply-To: <20180131224913.GA29149@jasmine.lan> (Leo Famulari's message of "Wed, 31 Jan 2018 17:49:13 -0500") Message-ID: <87k1vxr68o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30298 Cc: 30298@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: 1.0 (+) Leo Famulari skribis: > On Wed, Jan 31, 2018 at 11:38:35PM +0100, Ludovic Court=C3=A8s wrote: >> I suppose it works if you start nscd on this Debian machine (as is the >> case on GuixSD), right? > > Yes, `apt-get install nscd` does everything necessary to set up and > start nscd, and then guix-daemon works. OK. (Note that running nscd is recommended anyway when using Guix on foreign distros anyway.) >> The question is why isn=E2=80=99t guix-daemon falling back to loading >> libnss_files and reading /etc/groups directly. >>=20 >> How is this guix-daemon built? What libc is it linked against? >> Does /etc/nsswitch.conf exist and what does it contain? > > This guix-daemon is based on core-updates commit 76ef53eb828 (gnu: > glslang: Update to commit b5b084624), on x86_64-linux. If you stop nscd again and =E2=80=9Cstrace -f=E2=80=9D guix-daemon entirely= , can you check if it ever tries to open libnss_*? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 17:54:23 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 22:54:23 +0000 Received: from localhost ([127.0.0.1]:51626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Go-00023p-Vk for submit@debbugs.gnu.org; Wed, 31 Jan 2018 17:54:23 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:32881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Gn-00023h-8E for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 17:54:21 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F2FA820CBE; Wed, 31 Jan 2018 17:54:20 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 31 Jan 2018 17:54:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=tJWTOZUvo6W3CWfCNAkq8fQQkWm73m7TS9yOjGo+O/I=; b=KXrYA hiDfEPnxirHvp9TcooIwfjoZORYGxNRlkszUPNJIAanSL/rcwyb6+bbVhJxytkzS Mf9jpj9gjMrtkmgP8TJ3GgLxK8IM46V1VAy73yP56Y2mPAOtO+fU+KdPpcZbMwyR R4/AAjCGSWeBHZD8Z/l1BJRmpsLM+PT8FxoAy8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=tJWTOZUvo6W3CWfCNAkq8fQQkWm73 m7TS9yOjGo+O/I=; b=QErfE+biJtx9ge8yxje6f2KOAmSNuJkssSYY+xOH1a3pw nvaZZ6XoMUvY+BWrCBZX6GCOfLlbyd1WHrrpNhdUOlgy43Q8uSxSYu1bQU4TXV4q u0x5PYvRauNp4HUSm+FhaCOyijp4/8IhHrILEJej7PPc/DOWz2Qzb35trPGP/uvM 1ZVoFxtYbp4xJyexBg0XrOmsbpEw7utRIE9FsjI4w/uHg5i5kRv2Zs7QR28m92mm 7/5umH+elDNOmqhwJw1jFcdUY7d3OIU458+e9VRMoac3LdyYEpHKedpTlPhfI7Re /yiK++OrXp1jtqx+U6tT0ZX8t9NOxI3ihr2ow+Whg== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id B2667245F1; Wed, 31 Jan 2018 17:54:20 -0500 (EST) Date: Wed, 31 Jan 2018 17:54:19 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group Message-ID: <20180131225419.GB29149@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <87tvv1r6vo.fsf@gnu.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 Cc: 30298@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.7 (/) --V0207lvV8h4k8FAm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2018 at 11:38:35PM +0100, Ludovic Court=C3=A8s wrote: > The question is why isn=E2=80=99t guix-daemon falling back to loading > libnss_files and reading /etc/groups directly. This is my first time poking around this part of the system so I'm not sure what to expect. Reading the manpage for nsswitch.conf led me to believe that the libnss_* libraries would be found directly under /lib. However, on my Debian systems, they are split up by architecture like this: $ find /lib -name "*libnss*" =2E/i386-linux-gnu/libnss_compat-2.24.so =2E/i386-linux-gnu/libnss_dns-2.24.so =2E/i386-linux-gnu/libnss_nis.so.2 =2E/i386-linux-gnu/libnss_nisplus.so.2 =2E/i386-linux-gnu/libnss_nisplus-2.24.so =2E/i386-linux-gnu/libnss_hesiod-2.24.so =2E/i386-linux-gnu/libnss_files.so.2 =2E/i386-linux-gnu/libnss_hesiod.so.2 =2E/i386-linux-gnu/libnss_files-2.24.so =2E/i386-linux-gnu/libnss_compat.so.2 =2E/i386-linux-gnu/libnss_dns.so.2 =2E/i386-linux-gnu/libnss_nis-2.24.so =2E/x86_64-linux-gnu/libnss_compat-2.24.so =2E/x86_64-linux-gnu/libnss_mdns.so.2 =2E/x86_64-linux-gnu/libnss_dns-2.24.so =2E/x86_64-linux-gnu/libnss_nis.so.2 =2E/x86_64-linux-gnu/libnss_mdns_minimal.so.2 =2E/x86_64-linux-gnu/libnss_nisplus.so.2 =2E/x86_64-linux-gnu/libnss_nisplus-2.24.so =2E/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 =2E/x86_64-linux-gnu/libnss_mdns6.so.2 =2E/x86_64-linux-gnu/libnss_hesiod-2.24.so =2E/x86_64-linux-gnu/libnss_files.so.2 =2E/x86_64-linux-gnu/libnss_mdns4.so.2 =2E/x86_64-linux-gnu/libnss_hesiod.so.2 =2E/x86_64-linux-gnu/libnss_files-2.24.so =2E/x86_64-linux-gnu/libnss_compat.so.2 =2E/x86_64-linux-gnu/libnss_dns.so.2 =2E/x86_64-linux-gnu/libnss_mdns6_minimal.so.2 =2E/x86_64-linux-gnu/libnss_nis-2.24.so --V0207lvV8h4k8FAm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpySRsACgkQJkb6MLrK fwg6Vg//TpOlXUZqRUZyHhHZfgS8pzKIuCp5mVDsXXwecm1P5x2W13bsZW60SYsI nmJUE2i5wceoD4hOe6FWT7vCzwlntalega+eUMDuxV9pKQrbbbNqimKzurX4eTc3 g2w2f3z1PRGC53uoXoOB7v+/GoF8fPGj9TxzfsPIEV/0SscurZW9aRE8QQuYgdF4 w0TZ/8A/0EJD6ZsV2N9sbUWQ8xCaJ6DctP6mbH/7q9KZvloPZ0dn8k2t3daXUk97 B96BAqfut719Tul8cxMPHd8knU2gyQwemIq5aCu7ETe7/4ournWVYw4RSM0ju0gh KALvym8A/hyYnpfFzqmtZPzZpREc+SNtuBme7salcGwDC52KEhbrbfASv4pcHUi4 w2w3bn2y4x7YOWi2e9Y7t2GDKQrcnx5U84P0/oj2/g+RRfV1FB3yl0Zn+7ZopnVx pXupfqLb2LreAdWZjOx3OcNz6/ttMnTuXKbq3BdiDdHA57vZYg7uwYpsyyQpBC6L j+zkWT38wPXf1CnItYZ6ZnLkZNmFhuNo358g1iBcqV5fs1IfyA9nzzdfcynpwh4h CeA/4QD26mqFewtOEkAVY5/bQDxn/UKgJEohMQhPcerYBOVs+0D5GxkZ86i3X+Cu 8Rp0URwRo8aH2Vo/tvclainDM/L3vjWyjPOyX5tYuXyJsq+lm9U= =Suxz -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 18:07:57 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 23:07:57 +0000 Received: from localhost ([127.0.0.1]:51640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Tx-0004In-Kg for submit@debbugs.gnu.org; Wed, 31 Jan 2018 18:07:57 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1Tw-0004If-CB for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 18:07:56 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3C1C420E05; Wed, 31 Jan 2018 18:07:56 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 31 Jan 2018 18:07:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=tqKAcV5ROoc4FYczxxId++IZzjMDAZjlzGiadQmC5wI=; b=bztXT KOCymQBDmkRnsNK/Z3l8PX6+dpfsa9zWzWRrBKR6rKUhwbwV+wKBd1m8Mx2xgIpo 9x+Sbr2lUhwuEjG1WK0cHtP/R8IwIFOyVjRZ038CmAXG5vfUWWNfeLgr+RU92Xj2 DKFdl5QGHPVjuVqTq332tOCBdl+BbGMpMJSHbA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=tqKAcV5ROoc4FYczxxId++IZzjMDA ZjlzGiadQmC5wI=; b=r05dK/sis9n5zBeto/Oya+VcX3uJz9eaS95uxa27lTnB1 8Usbbq3IwHI8VUgbvky4u/lxwLZGHmpQ6uVZuXeTV2Sl+rAxiKYBHEtcqVI2LCqx +ypAckoV5DBB8lUVPquFXcSMbNb95wcNe3szWCWlOQnWdTiidpN76iePrXJHM+Wn ulASoBCC2OqvN0GkZD6zEOkBO6ifU2ZNFm2jd9y4SiM4yTrRuP8nNe9C1JGA2oGj YlFwNpoV+ufSB8HV1/s6o26QaHujnl55AWsFlItmuA65rJc7n0obR9YcPLDiS08P +/8jo+JNhqxgxSqmz6pabIIPhqA0KzhF94S36kOBg== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id F2C377E5CB; Wed, 31 Jan 2018 18:07:55 -0500 (EST) Date: Wed, 31 Jan 2018 18:07:53 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group Message-ID: <20180131230753.GC29149@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: <87k1vxr68o.fsf@gnu.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 Cc: 30298@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.7 (/) --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2018 at 11:52:23PM +0100, Ludovic Court=C3=A8s wrote: > > This guix-daemon is based on core-updates commit 76ef53eb828 (gnu: > > glslang: Update to commit b5b084624), on x86_64-linux. >=20 > If you stop nscd again and =E2=80=9Cstrace -f=E2=80=9D guix-daemon entire= ly, can you > check if it ever tries to open libnss_*? It never does. The strace log I posted previously is the complete log: https://debbugs.gnu.org/cgi/bugreport.cgi?att=3D0;bug=3D30298;msg=3D8 --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpyTEkACgkQJkb6MLrK fwhY4g//RKqsfdP7ABwuoq6NOSs+A699rbdq8nLW9LurYo9ohj0+N21lysiTKsRW YHBjR5hwVNRm3OEKKsOVUIrGJIe6RfVoMl5VpQ5tICQ3VFcK+J8aTGaIDJmdpgTk DjEg5vOeiKv3L4zSkXMuEoGxQ0QnFLmpf9XJ8vD7dr+IiGru1E2s4yRwTQBAkBLv iYHMAX36VjB6aW0EDmBX4vmvzx+142F06QUqUPQ88AeFyFfa1GvTxG0zng8SAjTK rxfcQYXJQ1vgWZZrdgfA09IOIWOzIYRkfePb4DVBygbAzXdeZ8cu0/UBuiZPP+U+ 1YG4P8z8cLBxR+WcYJZLjRHTfNJEkLn4h8SN2JiOyCLLfbhMnF4XVbe4yyHUwaD+ g6kSidOjLGVKeMY1Gi2Th29+hUojXTzp5luOHl/NchE5ZvzPvSH2rlcKxWuUWrGb UJNCP9GtlB6HuA2P+v2IesWvZCKZnKiDAECCkH4AZZlinwl1SO/RdPZqxJx1txBf UkdAaDirY0i6MYggJ0Sa/4lpu+QDSCe8bSKwYBYQkBDmMLer9cibVDsXwvJmL+Rb 8DXPzBbnln/gjiCdH9+Mpbcwh0RNNPARRxdHCDgiILpZeF7Sog4vWl0Jg27IPTSv IG3hX0mfs7N6WzQqOWsShzFtN00D/0uzBo630kGlH5VVnR9lKg4= =/HHi -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 18:28:37 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 23:28:37 +0000 Received: from localhost ([127.0.0.1]:51656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1nw-0006h5-Tn for submit@debbugs.gnu.org; Wed, 31 Jan 2018 18:28:37 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh1nu-0006gw-WB for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 18:28:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4FF3C11C4F; Thu, 1 Feb 2018 00:28:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OAmxLvHaOluz; Thu, 1 Feb 2018 00:28:33 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E92F511C4D; Thu, 1 Feb 2018 00:28:32 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> <20180131230753.GC29149@jasmine.lan> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 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-pc-linux-gnu Date: Thu, 01 Feb 2018 00:28:32 +0100 In-Reply-To: <20180131230753.GC29149@jasmine.lan> (Leo Famulari's message of "Wed, 31 Jan 2018 18:07:53 -0500") Message-ID: <871si5r4kf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30298 Cc: 30298@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: 1.0 (+) Leo Famulari skribis: > On Wed, Jan 31, 2018 at 11:52:23PM +0100, Ludovic Court=C3=A8s wrote: >> > This guix-daemon is based on core-updates commit 76ef53eb828 (gnu: >> > glslang: Update to commit b5b084624), on x86_64-linux. >>=20 >> If you stop nscd again and =E2=80=9Cstrace -f=E2=80=9D guix-daemon entir= ely, can you >> check if it ever tries to open libnss_*? > > It never does. The strace log I posted previously is the complete log: > > https://debbugs.gnu.org/cgi/bugreport.cgi?att=3D0;bug=3D30298;msg=3D8 I think you attached strace to the running guix-daemon process here. What I meant is that we should trace it from the beginning of its execution (so either run it by hand or modify the .service file to run =E2=80=9Cstrace -f guix-daemon =E2=80=A6=E2=80=9D.) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 18:47:25 2018 Received: (at 30298) by debbugs.gnu.org; 31 Jan 2018 23:47:25 +0000 Received: from localhost ([127.0.0.1]:51666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh268-0007Ag-OT for submit@debbugs.gnu.org; Wed, 31 Jan 2018 18:47:24 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh266-0007AX-KF for 30298@debbugs.gnu.org; Wed, 31 Jan 2018 18:47:23 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 536B520C8B; Wed, 31 Jan 2018 18:47:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 31 Jan 2018 18:47:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=ZWKoENZwwVonAhq9O5Q7+ZkI8AMutVI9NF4XcuKfybM=; b=Gh2yJ DpL83N0qd54bPSsTCJQ5eG95csMwZLgjQ/t2Sp4Vl56mtvPOzPqjlV3/PB0KwHu5 FG3jWeOORSCv+IOF8ujcLU4nUoI7tVCIjQybF8dZW+9qpV7Elq5Eq6zG8Sf6CXnq IZj3nIroiWwF9H6J3CCDRQ7WrpwG4K8G/4aW5k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=ZWKoENZwwVonAhq9O5Q7+ZkI8AMut VI9NF4XcuKfybM=; b=UlCdqevfO1JcszQgX0OvTC3btaG12hhN7MtdmrfUFWrPv elv/UA80woccX6D2BpD8RJzjnN225gPb3WIYJH7NonkSqmfx7DAIdHqe3Gzdf5/N IC4U+SDdoTCt322DBUJO5MUCLDudoJGQa075kH57HM+CPXlg4UuyrSDClckN16FC cae2QmaUmIh1s/raCL2z4+r9ShjmHzyLomx0WPP1aLsfBOdYlK6AFbKut4QMxlXg hWbCReA2hBaOqedpAsOIt4SQ93s8tvLvQOI1G7p4LgJcSMVJ4MVelyQgGlD8dW4d kfebkpqNJ7hCuUMjTnQ12dkNCTzSKsZz7gsJMIZUQ== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 11217240B6; Wed, 31 Jan 2018 18:47:22 -0500 (EST) Date: Wed, 31 Jan 2018 18:47:17 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group Message-ID: <20180131234717.GA32689@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> <20180131230753.GC29149@jasmine.lan> <871si5r4kf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <871si5r4kf.fsf@gnu.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298 Cc: 30298@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.7 (/) --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2018 at 12:28:32AM +0100, Ludovic Court=C3=A8s wrote: > I think you attached strace to the running guix-daemon process here. > What I meant is that we should trace it from the beginning of its > execution (so either run it by hand or modify the .service file to run > =E2=80=9Cstrace -f guix-daemon =E2=80=A6=E2=80=9D.) Oh, right. The issue is that, starting in glibc 2.26, libnss_compat is not built unless the glibc build is configured with --enable-obsolete-nsl: "If glibc was configured without --enable-obsolete-nsl the libnss_compat library will not be built. If the library is not built, it may still be found during testing if dl_open searches the default host library directories." https://sourceware.org/glibc/wiki/Release/2.26#Architecture-independent In fact, I already noticed this and worked around it for another package without really understanding what it meant: https://bugs.gnu.org/29970 https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Dcore-updates&id=3D0f= 7db1d320fd26a11854c8d7f404a3cf16eb3fbc And we can see the core-updates guix-daemon try and fail to open libnss_compat.so: 308 connect(5, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 11= 0) =3D -1 ENOENT (No such file or directory) 309 close(5) =3D 0 310 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) =3D 5 311 connect(5, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 11= 0) =3D -1 ENOENT (No such file or directory) 312 close(5) =3D 0 313 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) =3D 5 314 fstat(5, {st_dev=3Dmakedev(252, 1), st_ino=3D1047888, st_mode=3DS_IFREG= |0644, st_nlink=3D1, st_uid=3D0, st_gid=3D0, st_blksize=3D4096, st_blocks= =3D8, st_size=3D529, st_atime=3D2018-01-31T17:17:26-0500.3612163 70, st_= mtime=3D2017-06-13T03:33:07-0400.283237951, st_ctime=3D2017-06-13T03:33:07-= 0400.283237951}) =3D 0 315 read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) =3D 529 316 read(5, "", 4096) =3D 0 317 close(5) =3D 0 318 openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.2= 6.105-g0890d5379c/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) =3D -1 ENOEN= T (No such file or directory) --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpyVYUACgkQJkb6MLrK fwjpng//ccu4cmdluhYK71ZSbe9zZFV/kpYtHFFKtXe123U7WqPjZejEV+hmJsFA IK3Lugszw3uq+peWdAEmm49yib+USLkqGdYfepi0uAxsQrwdCmOK1cqbr+BubKN+ d3kSzDc92V0TSCjOmzIeL6tl0z1bHtV3imV2qMejumdNW2wI1zemGJGUMMz+7qWT begFUxK6aKxnrioUA7568n0dYuMxGE9oEU4NOeCv2nPr8Cmn4jbs3cH529+Hob0x NO+uvD0G44VrUVmfSYYlIDy6JGcal/NzBv+5wy0CWmZSkMVbTHEUUvajV/M8C8uJ pylBm/mckGibCxNuVt9OvdrVWhdzErw4z3Qj7pBCa2+O01YzOvF1MnyTuIwvgxJa 4SFhh5jp7dN9C5cmATVLbYDwtgOdJrMu7pL94BleSzOdrggKj2k3WAIs7gSpGplg LYoDj+WNUcEYMcq0ZpLkyUts3OiSaxPFNxUFTLXNTIts3R7iTnNqiNSFxlDv9PL7 YxjpgGGPIT6KiNRMlkVDTbt/ucwmp6XyioqpHjLsFSaX2GLPMF9ESqF/TEFfRl63 S9iUna1DaGH1NW5vD6dol7ySk7A1FFS7cs95sHpTL7Xzz2Y9+6TFQRTQ2/p2O4du lbvz7qEGWc/sHLd0IMGSMYMxkP3Iv4JQdMogGd3Dv/8XijtVAIc= =5UJf -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 04:06:12 2018 Received: (at 30298) by debbugs.gnu.org; 1 Feb 2018 09:06:12 +0000 Received: from localhost ([127.0.0.1]:51799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehAou-0003pC-3x for submit@debbugs.gnu.org; Thu, 01 Feb 2018 04:06:12 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehAos-0003p4-Gk for 30298@debbugs.gnu.org; Thu, 01 Feb 2018 04:06:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9427711DAD; Thu, 1 Feb 2018 10:06:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sdt3AwACHL1P; Thu, 1 Feb 2018 10:06:08 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5084D119E3; Thu, 1 Feb 2018 10:06:08 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> <20180131230753.GC29149@jasmine.lan> <871si5r4kf.fsf@gnu.org> <20180131234717.GA32689@jasmine.lan> Date: Thu, 01 Feb 2018 10:06:07 +0100 In-Reply-To: <20180131234717.GA32689@jasmine.lan> (Leo Famulari's message of "Wed, 31 Jan 2018 18:47:17 -0500") Message-ID: <87efm5nkow.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30298 Cc: 30298@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: 1.0 (+) Hello, Leo Famulari skribis: > On Thu, Feb 01, 2018 at 12:28:32AM +0100, Ludovic Court=C3=A8s wrote: >> I think you attached strace to the running guix-daemon process here. >> What I meant is that we should trace it from the beginning of its >> execution (so either run it by hand or modify the .service file to run >> =E2=80=9Cstrace -f guix-daemon =E2=80=A6=E2=80=9D.) > > Oh, right. The issue is that, starting in glibc 2.26, libnss_compat is > not built unless the glibc build is configured with > --enable-obsolete-nsl: [...] > And we can see the core-updates guix-daemon try and fail to open > libnss_compat.so: Yes, but in the trace I gave, it then goes on dlopening libnss_files, which is the NSS module to read databases like /etc/groups directly, and succeeds: --8<---------------cut here---------------start------------->8--- connect(3, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 110) = =3D -1 ENOENT (No such file or directory) close(3) =3D 0 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) =3D 3 fstat(3, {st_mode=3DS_IFREG|0444, st_size=3D207, ...}) =3D 0 read(3, "group:\tcompat [NOTFOUND=3Dreturn] "..., 4096) =3D 207 read(3, "", 4096) =3D 0 close(3) =3D 0 openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.10= 5-g0890d5379c/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (N= o such file or directory) openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.10= 5-g0890d5379c/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) =3D 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\"\0\0\0\0\0\0".= .., 832) =3D 832 fstat(3, {st_mode=3DS_IFREG|0555, st_size=3D56928, ...}) =3D 0 mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = =3D 0x7f420943d000 mprotect(0x7f4209448000, 2093056, PROT_NONE) =3D 0 mmap(0x7f4209647000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_= DENYWRITE, 3, 0xa000) =3D 0x7f4209647000 mmap(0x7f4209649000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP= _ANONYMOUS, -1, 0) =3D 0x7f4209649000 close(3) =3D 0 mprotect(0x7f4209647000, 4096, PROT_READ) =3D 0 open("/etc/group", O_RDONLY|O_CLOEXEC) =3D 3 fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D666, ...}) =3D 0 read(3, "root:x:0:\nwheel:x:999:ludo\nusers"..., 4096) =3D 666 --8<---------------cut here---------------end--------------->8--- The problem in your case is that /etc/nsswitch.conf has this: --8<---------------cut here---------------start------------->8--- passwd: compat group: compat shadow: compat --8<---------------cut here---------------end--------------->8--- =E2=80=A6 meaning that it only tries libnss_compat, and fails if its missin= g. If you replace these =E2=80=9Ccompat=E2=80=9D with =E2=80=9Cfiles=E2=80=9D,= I think it=E2=80=99ll work. FWIW on GuixSD I have this: --8<---------------cut here---------------start------------->8--- group: compat [NOTFOUND=3Dreturn] files hosts: files mdns_minimal [NOTFOUND=3Dreturn] dns mdns networks: files dns [!UNAVAIL=3Dreturn] passwd: compat [NOTFOUND=3Dreturn] files shadow: compat [NOTFOUND=3Dreturn] files --8<---------------cut here---------------end--------------->8--- The nsswitch.conf on GuixSD is based on the defaults defined in glibc, as noted in (gnu system nss). I=E2=80=99m not sure what can be done on our side. We already recommend starting the nscd: https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html= #Name-Service-Switch-1 Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 01 15:10:57 2018 Received: (at 30298-done) by debbugs.gnu.org; 1 Feb 2018 20:10:57 +0000 Received: from localhost ([127.0.0.1]:52739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehLCD-0007Qv-AV for submit@debbugs.gnu.org; Thu, 01 Feb 2018 15:10:57 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehLCB-0007Qn-DS for 30298-done@debbugs.gnu.org; Thu, 01 Feb 2018 15:10:55 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B8EA420AE7; Thu, 1 Feb 2018 15:10:54 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 01 Feb 2018 15:10:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=GJ8lojhwwPhO+1 STRHBjLges2ZNDN0rml+Y6F3RGk+E=; b=rv4ODb6ekIOGM1liQwB5H4S0WcNjm6 zYvPlPv83/zigqaV0nG/N75MeuUcu3GXHoQMBh5aRhN56b/fC0prj5xkXT45GZaE d2hv3AcqlFb9EASg/QTEU6cQQorqGtP+cmt1WEOo2MRfXyfae15jk7NrlWZXKRre s0OlR4k3Km9q0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=GJ8loj hwwPhO+1STRHBjLges2ZNDN0rml+Y6F3RGk+E=; b=KarneAqUrX8Lh9Mg/undg8 VTA7ODJE41Sq81NWMk6T5gde0WZ4I5OZZr+9k7ZC13kPDMOOE1mpmY5K1FZ4/ao8 83j7UpnLMkxStUe3lajb7a3LHzw3PLjN3Jlh1s6+oyv6Awj9airjtegaXxyoe+ct b6lBt5VOoQ3Vh6luTKCKxIqbYjjFDLW1zhbvtW1HtlAqz+pcXWV3brJeY3UKB1A2 HwnDrcGDPfAL9cjlt03w/tpJXnjR8SIieH0U76vqDt8kb+ojuTFEPXN7V2iIM86R xlwag2ZZABmqYhqVSpHMkKjsvEyRqZO45A2FQkpBJMhcva6GbC71lL2mxj0+gBPg == X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 6600E2463E; Thu, 1 Feb 2018 15:10:54 -0500 (EST) Date: Thu, 1 Feb 2018 15:10:52 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#30298: core-updates: Failure to find the guixbuild group Message-ID: <20180201201052.GA8461@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> <20180131230753.GC29149@jasmine.lan> <871si5r4kf.fsf@gnu.org> <20180131234717.GA32689@jasmine.lan> <87efm5nkow.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87efm5nkow.fsf@gnu.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30298-done Cc: 30298-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.7 (/) On Thu, Feb 01, 2018 at 10:06:07AM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > And we can see the core-updates guix-daemon try and fail to open > > libnss_compat.so: > > Yes, but in the trace I gave, it then goes on dlopening libnss_files, > which is the NSS module to read databases like /etc/groups directly, and > succeeds: > > --8<---------------cut here---------------start------------->8--- > connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > close(3) = 0 > open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 > fstat(3, {st_mode=S_IFREG|0444, st_size=207, ...}) = 0 > read(3, "group:\tcompat [NOTFOUND=return] "..., 4096) = 207 > read(3, "", 4096) = 0 > close(3) = 0 > openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) > openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\"\0\0\0\0\0\0"..., 832) = 832 > fstat(3, {st_mode=S_IFREG|0555, st_size=56928, ...}) = 0 > mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f420943d000 > mprotect(0x7f4209448000, 2093056, PROT_NONE) = 0 > mmap(0x7f4209647000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f4209647000 > mmap(0x7f4209649000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4209649000 > close(3) = 0 > mprotect(0x7f4209647000, 4096, PROT_READ) = 0 > open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=666, ...}) = 0 > read(3, "root:x:0:\nwheel:x:999:ludo\nusers"..., 4096) = 666 > --8<---------------cut here---------------end--------------->8--- > > The problem in your case is that /etc/nsswitch.conf has this: > > --8<---------------cut here---------------start------------->8--- > passwd: compat > group: compat > shadow: compat > --8<---------------cut here---------------end--------------->8--- > > … meaning that it only tries libnss_compat, and fails if its missing. > If you replace these “compat” with “files”, I think it’ll work. > > FWIW on GuixSD I have this: > > --8<---------------cut here---------------start------------->8--- > group: compat [NOTFOUND=return] files > hosts: files mdns_minimal [NOTFOUND=return] dns mdns > networks: files dns [!UNAVAIL=return] > passwd: compat [NOTFOUND=return] files > shadow: compat [NOTFOUND=return] files > --8<---------------cut here---------------end--------------->8--- > > The nsswitch.conf on GuixSD is based on the defaults defined in glibc, > as noted in (gnu system nss). Thanks for writing all this out, it's very educational! > I’m not sure what can be done on our side. We already recommend > starting the nscd: > > https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Name-Service-Switch-1 In that case, I think the solution is for me to `apt-get install nscd`. Closing :) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 19:31:30 2018 Received: (at control) by debbugs.gnu.org; 20 Feb 2018 00:31:30 +0000 Received: from localhost ([127.0.0.1]:51860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1envqE-0000oo-M4 for submit@debbugs.gnu.org; Mon, 19 Feb 2018 19:31:30 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1envqD-0000oh-97 for control@debbugs.gnu.org; Mon, 19 Feb 2018 19:31:29 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 21ECF20F99; Mon, 19 Feb 2018 19:31:29 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 19 Feb 2018 19:31:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=79I8fvo9Y/HFRvJ3UqVSdQqcSQ f3TIvbEOstT48Btco=; b=nTZHaY0+GpjIRiFvD6X6+zS7SUBJUAJA1n3yU2xfK2 1fEzqoqQrH5CpLHHD6I2+oAukthu+aRtozwhknhKESyEZC+bDRyqsQ+IkqBcQqHP IbZzQJs0UrbOk0Sl1rwcz9pQuLgjWjF5Zni/tSk0i8VOFgeAsA6WFcJEsM44JexY 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7 9I8fvo9Y/HFRvJ3UqVSdQqcSQf3TIvbEOstT48Btco=; b=PHIZNwLaW9pfVOro5 9E8JxGI77BZicXEcb+haw6bIczdxXRej6cDg4O6bvVeXM1LDBhvLtyPPZL6z/A67 xIIt49Gj+Cq7zdBsgpIpfyECTvsjqcLLYChEB2KWwFVNhQGgGqMqQglCBcbZnsMR H0mEh/cPtZkBbotMvrKjsfawMloxMb/B1bHhmn3AjdWv7AE9Fuwz+JuQTDgq/6dj t+zErqa1Jfb/ekqKTezZiIhV3q7WzCGgqkD7Ro28hACSP1LXMyLjPd/YAEtHL+gI bjo38IRrudPb4yg7ClPiikReBbWEJH9PGtuMXRmjbatLt/Ce+qeMQZFIH40oW5TR 1RqFw== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id D785C244BD for ; Mon, 19 Feb 2018 19:31:28 -0500 (EST) Date: Mon, 19 Feb 2018 19:31:28 -0500 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: <20180220003128.GA7037@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 30540 30298 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [66.111.4.25 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 30540 30298 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [66.111.4.25 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline merge 30540 30298 --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqLbF8ACgkQJkb6MLrK fwjvyw//ZLKPCMDxCuyqRyoa4e3J2VHOK1FLd/99mhduihKAex5936XGYwmv8dBY KHu7D1ZpDTgMirCWSKP5kA5VkvoEi/LroGzPCRIHOmO7/W31xqN+eo4jFOzRxkfH rptm7XhTWOQQkD+ShU+ysgY460/rv2kJiuB1c5+AHjkih+NANbYk6AtVD1f6WTg3 HjQRTRugVyhuLg4WBvGUqaVBM4qbSqCwW0Gi1BHXbcvX7FXu0ey20/ijIHRbtLi4 1Ao5HcyU2BNcDZ4zQkzDdYtKFvi70SgiZcnYH5b3TtWT81lG40vQJ43L5ylgKM+4 X3zvtMbwnM3UAaB6RdWWB6a2BJFgNM+OVKvRcFhy4A7EcPz8ZrjW4lxmTWyqEla5 KxsEJNDDdwEU8n4E9S928KiMKBFguY5i1Tz3pGdq4yr6uzd47geORwdfv3B62V42 4auuOLwffz82bpMZeL4dNC7I70fQMvUa56gtMp+GFqO5dinoUIepgSksOqM+1lg4 V2TJc8RJ1vFoBS8SStrIrMxCE3uks1DVeA6Gs5Q7S32y/Cp/CWys/ds9LBopUj+h qM0hpiOhRgM+DvKo0y0zS4JU+1AQZcBWaljgbBlJkCTOBYTg4sPlt1sppC13iVvG UIQhiz5VPg83MEL4v0o2bAMmyp1DNN3OtM+qOkSy444Ll2NT9Wc= =ejhM -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From unknown Tue Jun 17 01:43:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Mar 2018 11:24:04 +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