From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 62qoK6NsWWNvJAAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 19:21:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id O7r/KaNsWWPkfgEAauVa8A (envelope-from ) for ; Wed, 26 Oct 2022 19:21:39 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 28FB811391 for ; Wed, 26 Oct 2022 19:21:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onk5T-0006EE-JU; Wed, 26 Oct 2022 13:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onk5P-00067x-TN for bug-guix@gnu.org; Wed, 26 Oct 2022 13:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onk5P-00086n-2D for bug-guix@gnu.org; Wed, 26 Oct 2022 13:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onk5O-0000mE-FF for bug-guix@gnu.org; Wed, 26 Oct 2022 13:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58803: coreutils-8.32 test failure on i586-gnu Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 Oct 2022 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58803 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58803@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16668048252915 (code B ref -1); Wed, 26 Oct 2022 17:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2022 17:20:25 +0000 Received: from localhost ([127.0.0.1]:55215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onk4m-0000kw-NG for submit@debbugs.gnu.org; Wed, 26 Oct 2022 13:20:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:56850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onk4h-0000kj-LG for submit@debbugs.gnu.org; Wed, 26 Oct 2022 13:20:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onk4g-00036X-Up for bug-guix@gnu.org; Wed, 26 Oct 2022 13:20:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onk4g-0007xG-Mw for bug-guix@gnu.org; Wed, 26 Oct 2022 13:20:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=00qZcptqtLwAtsgt4YCvdRTuqf9nJufJiFFz1H73afc=; b=TwBBmljEOvzSAy f50gho4YT/FdefVYoSMLn0rvGg8SLf+7Rs0djwVSl2+d5Q9hTCD50tO4ntOeaORgc0qtCCovrrUTw MdP8v05Tzk72fXeiYjKEZ+E6zagt8FcLvcuEH9fPx/j7cQxjmOSsGd7d8Qs2dcO/0kzlfMUvFk86v +/YX8dfxhdoiH4I9MRjnAYnVhOimpTIB7LsFy8FUH1Tdnz2lSWEnCr2aJUr2DbtWO+xRoIZz1ayoK bDLg4QD+flZmiKahL6xyB1AXTnr71/qVfQZohdkdFCMYSuPM1OWONcA5oEpYKwVk923+evtgY1n5g 8GF/j2fRVwrZNpMB19ng==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onk4Y-0004uN-Ov for bug-guix@gnu.org; Wed, 26 Oct 2022 13:20:17 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Brumaire an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Oie 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: Wed, 26 Oct 2022 19:20:07 +0200 Message-ID: <87r0yu1ozc.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "bug-Guix" Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666804899; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=00qZcptqtLwAtsgt4YCvdRTuqf9nJufJiFFz1H73afc=; b=m790I8mN53xen8G6MNLHSNLGh88w5YkiMJwogxf16gj7LW53j+2rtY8VpK6RBPfUN3ma/S U5IRW8zueAAArDpgPOVGSKEy80kS8f9QyJrEOgE/lcX3g0RsYWnKcEdpf/a5twDbgZbHIk zciGAQMsaazoQB6CFfmYfslNFCENpbKMpT5l+8bYhOvIczzaVC6j7ONn9z3KGaa7NiYJdi vJp3As+EMeOIRbDeWrrAipw9hSEnqEDIXxbHhSenyiNfTfJCJw841CVsn9qKHzBawPrEfq GyHZYJEfJ0pKoUydtkbpbGTnESySOSiuNXXIbuSQ1kWcJS+gIemWbdrPz4oF2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666804899; a=rsa-sha256; cv=none; b=svxxeOl9keDs7BA6DnrPt0kfi2Tn55HXGZcK4bvPU9LJWGlBddSoBgvIl2mqx4jfkne/Nf FNPtS5/2QbSdnTFoCuAa9idhXT493uViswPNRV4olOjDJ4f+SjNe6PFV0C7KkiHoVcdsZK yvrhz+OuBXcZa6C6w1S6Q09pzH2V9iD1iqYcMJKLnkv0ULu78++Vz4ov/jr5ta/Bz830O9 SAaKR8mkuK2Mgr/OsTKuq2MKL13PAXPTZJZqNPcmgUYOBIwDZQS24KVd9S79FhLkasNxGz bA1mX/nl1Y87HXpKZEYJcnKqBCnpYBvh59ftugGFecaTQAG0EME9pHhPSeKp8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TwBBmljE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TwBBmljE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 28FB811391 X-Spam-Score: -2.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: IGJP080C2FXw Native builds of coreutils-8.32 (ca. commit 3734857fc55df2c599c2fe5cc4ae49f5d47879fc) have one test failure on i586-gnu: --8<---------------cut here---------------start------------->8--- + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=3D999 + case $my_uid in + return 1 + touch unreadable + chmod a-r unreadable + df unreadable df: Warning: cannot read table of mounted file systems: No such file or dir= ectory Filesystem 1K-blocks Used Available Use% Mounted on - 12288000 2916208 8757392 25% / + mkfifo_or_skip_ fifo + test 1 =3D 1 + mkfifo fifo + timeout 10 df fifo df: Warning: cannot read table of mounted file systems: No such file or dir= ectory + fail=3D1 + test 1 =3D 1 + dump_mount_list_ + cat /proc/self/mountinfo cat: /proc/self/mountinfo: No such file or directory + cat /proc/self/mounts cat: /proc/self/mounts: No such file or directory + cat /proc/mounts /dev/hd0s1 / ext2fs writable,store-type=3Dtyped 0 0 proc /proc /hurd/procfs defaults 0 0 none /dev/shm /hurd/tmpfs writable,no-sync,size=3D1514772K 0 0 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=3D1 + cleanup_ + : + test '' =3D yes + cd /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32 + chmod -R u+rwx /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-unr= eadable.sh.6E92 + rm -rf /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-unreadable.= sh.6E92 + exit 1 FAIL tests/df/unreadable.sh (exit status: 1) --8<---------------cut here---------------end--------------->8--- Indeed, =E2=80=98df=E2=80=99 seems to read FIFOs as if they were regular fi= les: --8<---------------cut here---------------start------------->8--- ludo@childhurd ~$ mkfifo fifo ludo@childhurd ~$ ls -l fifo prw-r--r-- 1 ludo users 0 Oct 21 07:08 fifo ludo@childhurd ~$ df ./fifo df: Warning: cannot read table of mounted file systems: No such file or dir= ectory ^C --8<---------------cut here---------------end--------------->8--- It would seem that it=E2=80=99s stuck on a =E2=80=98dir_lookup=E2=80=99 RPC: --8<---------------cut here---------------start------------->8--- 135<--132(pid83)->io_identity_request () =3D 0 137<--136(pid83) 131= <--133(pid83) 29419 task109(pid83)-> 3206 (pn{ 18}) =3D 0=20 task109(pid83)-> 3206 (pn{ 19}) =3D 0=20 task109(pid83)-> 3206 (pn{ 17}) =3D 0=20 task109(pid83)-> 3206 (pn{ 19}) =3D 0=20 task109(pid83)-> 3206 (pn{ 17}) =3D 0=20 task109(pid83)-> 3206 (pn{ 16}) =3D 0=20 task109(pid83)-> 3206 (pn{ 14}) =3D 0=20 task109(pid83)-> 3206 (pn{ 17}) =3D 0=20 task109(pid83)-> 3206 (pn{ 14}) =3D 0=20 task109(pid83)-> 2023 (17022976 4096) =3D 0=20 86<--120(pid83)->dir_lookup ("home/ludo/fifo" 65 0) ...113 task109(pid83)-> 2021 (0 4096 1) =3D 0 17018880 task109(pid83)-> 3208 (pn{ 13} 0 1) =3D 0=20 task109(pid83)-> 3206 (pn{ 13}) =3D 0=20 --8<---------------cut here---------------end--------------->8--- =E2=80=A6 where 65 =3D O_NOTRANS | O_RDONLY. Passing O_NOTRANS (without O_RDONLY) like the =E2=80=98stat=E2=80=99 comman= d does works fine. Maybe /hurd/fifo needs to implement =E2=80=98trivfs_check_open_hook=E2=80= =99 to avoid actually opening? Ludo=E2=80=99.