From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SJ7oIdZErV4TTAAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 10:00:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0KpuOd9ErV49JAAA1q6Kng (envelope-from ) for ; Sat, 02 May 2020 10:01:03 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0E7809430DE for ; Sat, 2 May 2020 10:01:03 +0000 (UTC) Received: from localhost ([::1]:43582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUoxD-0005r5-5x for larch@yhetil.org; Sat, 02 May 2020 06:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUowb-0005mg-UV for bug-guix@gnu.org; Sat, 02 May 2020 06:00:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUosN-0005Rj-0H for bug-guix@gnu.org; Sat, 02 May 2020 06:00:25 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUosM-0005Rd-KU for bug-guix@gnu.org; Sat, 02 May 2020 05:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUosM-0003aJ-Ju for bug-guix@gnu.org; Sat, 02 May 2020 05:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41019: util-linux runstatedir is not actually a state directory Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 02 May 2020 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41019 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41019@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.158841333213736 (code B ref -1); Sat, 02 May 2020 09:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2020 09:55:32 +0000 Received: from localhost ([127.0.0.1]:51282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUors-0003ZU-Bj for submit@debbugs.gnu.org; Sat, 02 May 2020 05:55:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:48664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUorr-0003ZN-7n for submit@debbugs.gnu.org; Sat, 02 May 2020 05:55:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUorq-00023T-O0 for bug-guix@gnu.org; Sat, 02 May 2020 05:55:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUorp-0004uD-JQ for bug-guix@gnu.org; Sat, 02 May 2020 05:55:30 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:57846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUorp-0004p2-3X for bug-guix@gnu.org; Sat, 02 May 2020 05:55:29 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 856F13361011 for ; Sat, 2 May 2020 11:55:26 +0200 (CEST) Date: Sat, 2 May 2020 11:55:25 +0200 From: Danny Milosavljevic Message-ID: <20200502115525.1cafc459@scratchpost.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1suCX/61f_3j=Sgs_u=PdeG"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 05:55:26 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -1.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-1.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49488879853183]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; RCVD_COUNT_TWELVE(0.00)[12]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dannym@scratchpost.org,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[scratchpost.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[80.110.127.207:received]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 9zDfgidigvEB --Sig_/1suCX/61f_3j=Sgs_u=PdeG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, util-linux tries to use a "uuidd" daemon to generate uuids. It tries to communicate with it via socket in $runstatedir/var/run/uuidd/ . Unfortunately, we do not set runstatedir which means that we'll uselessly refer to a socket inside util-linux's derivation output directory that never will be there. Better would be to refer to /var/run directly, or to remove that functional= ity from our version of util-linux. Git checkout: repository: /home/dannym/src/guix-raghav/guix branch: master commit: 807986a55fc2849d6986efb79f9a015cf4132e09 I stumbled upon that while trying to get F2FS's fsck to work (bug 41015). We try to build a static version of f2fs-tools (f2fs-tools-static in guix master), but it retains a reference from mkfs to the non-static util-linux because of the problem above. Details of that part of util-linux: ./libuuid/src/uuidd.h: * Definitions used by the uuidd daemon ./libuuid/src/uuidd.h:#define UUIDD_DIR _PATH_RUNSTATEDIR "/uuidd" ./libuuid/src/uuidd.h:#define UUIDD_PIDFILE_PATH UUIDD_DIR "/uuidd.p= id" ./libuuid/src/uuidd.h:#define UUIDD_PATH "/usr/sbin/uuidd" ./libuuid/src/gen_uuid.c:#include "uuidd.h" ./libuuid/src/gen_uuid.c: * Try using the uuidd daemon to generate the UUID ./libuuid/src/gen_uuid.c: * Tries to guarantee uniqueness of the generated = UUIDs by obtaining them from the uuidd daemon, ./libuuid/src/gen_uuid.c: * or, if uuidd is not usable, by using the global= cloc k state counter (see get_clock()). UUIDD_SOCKET_PATH=20 ./libuuid/src/uuidd.h:#define UUIDD_SOCKET_PATH UUIDD_DIR "/request" ./libuuid/src/uuidd.h:#define UUIDD_DIR _PATH_RUNSTATEDIR "/uuidd" /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34/var/run/uuidd --Sig_/1suCX/61f_3j=Sgs_u=PdeG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6tQ40ACgkQ5xo1VCww uqXGywf9FX5TdCu6jJs2LWU6+Dl+X2vAM8IphTpJ8Jit+TtB6Taon5Z3YafDPffV tygtdvwnvP4yZIx86fmGeCHZCz7/Su+rEYOPqMDFIONsgwKr4Hn8Of+inFGAkk30 zMuM9JaBUGhCU71nuw3rxi1951uNARA2bLM2SW0PGuib1cMgXgj66X9DutcqsrnA +xwUh9IjUDix/sptKsG6ikg27elT21Or90oFdBNqUTQL3QDC5soW5OVfwakg5wtA cxPbGhvcw2uqqzf5CrJ5edNsY3lrswFyQKl6MT4kYbXpci/MZZTKQl+IkypvNOlB c23WUhjO/n/sO+H4SRzdZuAviR/nng== =7IAg -----END PGP SIGNATURE----- --Sig_/1suCX/61f_3j=Sgs_u=PdeG--