GNU bug report logs - #77548
multiple packages fail check phases due to read-only file system root

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: keinflue <keinflue@HIDDEN>; merged with #77570; dated Sat, 5 Apr 2025 12:20:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 77548 77570. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Apr 2025 12:19:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 05 08:19:05 2025
Received: from localhost ([127.0.0.1]:41851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u12UK-0001Xv-DL
	for submit <at> debbugs.gnu.org; Sat, 05 Apr 2025 08:19:05 -0400
Received: from lists.gnu.org ([2001:470:142::17]:53634)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <keinflue@HIDDEN>)
 id 1u102A-00087v-J0
 for submit <at> debbugs.gnu.org; Sat, 05 Apr 2025 05:41:51 -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 <keinflue@HIDDEN>)
 id 1u1022-00030p-8H
 for bug-guix@HIDDEN; Sat, 05 Apr 2025 05:41:42 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <keinflue@HIDDEN>)
 id 1u101z-0003JH-Td
 for bug-guix@HIDDEN; Sat, 05 Apr 2025 05:41:41 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 6E8EB240104
 for <bug-guix@HIDDEN>; Sat,  5 Apr 2025 11:41:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1743846097; bh=OpYyQLLyyOmVpaOF7jfb7wSlOgmPIoGbNH7W0wOMTn4=;
 h=MIME-Version:Date:From:To:Cc:Subject:Message-ID:Content-Type:
 Content-Transfer-Encoding:From;
 b=ez2UfJle1Oun1R0/15hHwCzBMjVcNzR5S4ZsLvnVFanoVP+5tnKJIqHpCDydbc50S
 N6hqX3OIMkfaQvDisLS5Ob0JOhmxkV+Pqfsy8hAM2IVeeHtmibkqFz2GeBSUj2U+nD
 N6DiP0cOfaWvqrMSiJbkF0o/j8LQL73gI1eFkuDlFj0ukjzTNEly+ovBS7CQFNHvcM
 f1EyZ7im6RBGifLT+7H67pzPaeJ5ROwS0+s9MfzzLasvgsuy0OVz6P1yRI0cGtbZAk
 k85+HC1fnSuW7Vp1kcyYwAeCEK5bHYs5zfRNdGrrqLBvW3X3nAyIBqzLAIKfsgmSJY
 tE+SbNcv4l4Wg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4ZV9Ts0wq9z6tsb;
 Sat,  5 Apr 2025 11:41:37 +0200 (CEST)
MIME-Version: 1.0
Date: Sat, 05 Apr 2025 09:41:37 +0000
From: keinflue <keinflue@HIDDEN>
To: bug-guix@HIDDEN
Subject: multiple packages fail check phases due to read-only file system root
Message-ID: <d2849babbc08d92e7ae54b3ccbc609fb@HIDDEN>
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=185.67.36.66; envelope-from=keinflue@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 05 Apr 2025 08:19:03 -0400
Cc: Ludo <ludo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi everyone,

probably since commit 40f69b586a several packages including shepherd, go 
(bootstrap), ruby and scons fail their check phases.

They all fail with EROFS "read-only file system" errors. The pattern 
seems to be that these packages attempt to remove non-existent files 
under /, e.g. /does-not-exist for the pid-file.sh test case in shepherd. 
They expect the unlink/unlinkat syscall to fail with ENOENT, but the 
linux kernel produces EROFS if the file system is read-only, even if the 
file doesn't exist, and glibc does not modify this behavior for the C 
library functions.

On one hand this is probably not POSIX-conforming behavior of 
linux/glibc and there was a patch rectifying this in version 3.2 (commit 
e6bc45d65d) of the kernel, but that regressed with 3.6 (commit 
c30dabfe5d) from what I can tell.

On the the other hand, I do not think that attempting to delete 
arbitrary files on the file system root with the assumption that it will 
fail in specific ways is a good idea either and that the files do not 
actually exist is not a good idea either.

Not sure what the correct approach to fixing this would be.




Acknowledgement sent to keinflue <keinflue@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#77548; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Apr 2025 10:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.