GNU bug report logs - #70909
[PATCH] guix: Add "virtiofs" to the list of pseudo file system types.

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-patches; Reported by: Massimo Zaniboni <mzan@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 70909) by debbugs.gnu.org; 13 May 2024 14:42:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 13 10:42:55 2024
Received: from localhost ([127.0.0.1]:33110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s6WtC-0005Cx-4v
	for submit <at> debbugs.gnu.org; Mon, 13 May 2024 10:42:55 -0400
Received: from mail.asterisell.com ([193.30.121.134]:57192)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mzan@HIDDEN>) id 1s6Rr4-0007gs-84
 for 70909 <at> debbugs.gnu.org; Mon, 13 May 2024 05:20:24 -0400
Message-ID: <2566aaee-6a9d-41c3-b0e4-2db4941f4ccc@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokmelody.org;
 s=mail; t=1715591985;
 bh=+HBZluRGgWipjEdEup6RBEhMf24k9yPII0f4f3oy0hY=;
 h=Date:To:From:Subject;
 b=gLQ2PbDoQNqqROaiKmqPNFIN07M/WqlI1IB1nc0xoHl28xSLV1b+4+YpGDpp5eY8O
 /USiwFY5QMwG1SnY/jOFE1ELy1gVPE/COyX8CUyipqUFtCCByBoxKzrOplnQAsqejP
 I2CwB5O0DEVvbsrLDaJTTO2WqxZD8dYOFjdBXH+U=
Date: Mon, 13 May 2024 11:19:44 +0200
MIME-Version: 1.0
To: 70909 <at> debbugs.gnu.org
Content-Language: en-US
From: Massimo Zaniboni <mzan@HIDDEN>
Subject: [PATCH] guix: Add "virtiofs" to the list of pseudo file system types.
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70909
X-Mailman-Approved-At: Mon, 13 May 2024 10:42:48 -0400
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: -1.0 (-)

Hi,

1) I have a system inside a qemu VM, sharing a directory with the host, 
using `virtiofs`. This is the configuration.

```
  (file-systems (cons*
                   (file-system
                         (device "/dev/sda2")
                         (mount-point "/")
                         (type "ext4"))
                   (file-system
                         (device "guix-cloned-channel")
                         (type "virtiofs")
                         (mount-point 
"/home/mzan/lavoro/dokmelody/guix-cloned-channel/"))
                   (file-system
                         (device "shared-tmp")
                         (type "virtiofs")
                         (mount-point "/home/mzan/shared-tmp/"))
                   %base-file-systems))
```

I can mount manually it using

```
sudo mount -t virtiofs guix-cloned-channel 
/home/mzan/lavoro/dokmelody/guix-cloned-channel/
```

but Guix gives this error

```
sudo guix system reconfigure 
lavoro/admin/guix/guix-dev/guix-dev-container.scm
Password:
/home/mzan/lavoro/admin/guix/guix-dev/guix-dev-container.scm:48:18: 
error: device 'guix-cloned-channel' not found: No such file or directory
hint: If 'guix-cloned-channel' is a file system label, write 
`(file-system-label "guix-cloned-channel")' in
your `device' field.
```

The `guix-cloned-channel` is not a device, but a TAG managed by 
virtiofs. https://libvirt.org/kbase/virtiofs.html

So I added it to the list of pseudo file system types.

2) I were not able to test this (simple) patch, because I'm using Guix 
hosted on an OpenSUSE OS. If it is mandatory testing it, let me know, 
that I will install an host with GuixSD.

Many thanks for the great work!
Massimo





Information forwarded to guix-patches@HIDDEN:
bug#70909; Package guix-patches. Full text available.

Message received at 70909-done <at> debbugs.gnu.org:


Received: (at 70909-done) by debbugs.gnu.org; 13 May 2024 12:52:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 13 08:52:02 2024
Received: from localhost ([127.0.0.1]:60824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s6V9u-00044c-F4
	for submit <at> debbugs.gnu.org; Mon, 13 May 2024 08:52:02 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1s6V9t-00044E-F4
 for 70909-done <at> debbugs.gnu.org; Mon, 13 May 2024 08:52:01 -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 <ludo@HIDDEN>)
 id 1s6V9m-0007rT-Hq; Mon, 13 May 2024 08:51:55 -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:References:In-Reply-To:Subject:To:
 From; bh=ZeEJhaY25jE14h5/etku8bhSYxkuXsaOw5DJtbJiStg=; b=gSwOZWHHSKkbg5+OZgeA
 5tty77fc6SvlZCJL+HShgQX7gW4f0AUCwW4kapXvs9YSP4rVqjmp//6UoXwr308PwmE3Xqx6aHpTc
 UtvjUR56z5OPgxF76CIEj9X8vao3FmYJGwIb6bqeMxJpREas0XIV9QoW4MCi3MyRKMm9iUG8mGAPS
 9hv/83KopTWqpb/NsoCzfAHW0vg/N4vCj58n/4urQHUCESuxoPQEjJiNZRS9ZQnXJCGC1jLrkY8Kj
 sUt9eq/+tm12e6vODQDs1zAS67FyS5D9KFYLrV6NON6h23qLTdT3G5W76JNiG+hjopX9eoG+OIqjF
 73PRhyKtE6gyvw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Massimo Zaniboni <mzan@HIDDEN>
Subject: Re: [bug#70909] [PATCH] guix: Add "virtiofs" to the list of pseudo
 file system types.
In-Reply-To: <17e6d840dfff496cc2b3981b6f66d49f85c2ec06.1715552601.git.mzan@HIDDEN>
 (Massimo Zaniboni's message of "Mon, 13 May 2024 00:23:21 +0200")
References: <17e6d840dfff496cc2b3981b6f66d49f85c2ec06.1715552601.git.mzan@HIDDEN>
Date: Mon, 13 May 2024 14:51:51 +0200
Message-ID: <87bk59an88.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70909-done
Cc: 70909-done <at> debbugs.gnu.org
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: -3.3 (---)

Hi,

Massimo Zaniboni <mzan@HIDDEN> skribis:

>     * gnu/system/file-systems.scm (%pseudo-file-system-types): Add "virti=
ofs"
>     to the list of pseudo file system types.
>
> Change-Id: Ib1d99127e65f6543c592faec1c54bd0c5eae3ad7

Slightly tweaked the commit log and applied it.  Thanks!

Ludo=E2=80=99.




Notification sent to Massimo Zaniboni <mzan@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 13 May 2024 05:03:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 13 01:03:40 2024
Received: from localhost ([127.0.0.1]:58414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s6Nqd-0007V4-7I
	for submit <at> debbugs.gnu.org; Mon, 13 May 2024 01:03:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:41812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mzan@HIDDEN>) id 1s6Hf8-0002HZ-NK
 for submit <at> debbugs.gnu.org; Sun, 12 May 2024 18:27:25 -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 <mzan@HIDDEN>)
 id 1s6Hf8-0001cm-2S
 for guix-patches@HIDDEN; Sun, 12 May 2024 18:27:22 -0400
Received: from mail.asterisell.com ([193.30.121.134])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mzan@HIDDEN>)
 id 1s6Hf6-0005XS-Fm
 for guix-patches@HIDDEN; Sun, 12 May 2024 18:27:21 -0400
From: Massimo Zaniboni <mzan@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokmelody.org;
 s=mail; t=1715552806;
 bh=OSPCPD5xwYew9x2Sv+LsQ5KJRk9MOt1V+8I6XClna+g=;
 h=From:To:Cc:Subject:Date;
 b=DvEuVaPyxoP9w+LeECeyQ+py+iWh5kwgl8jE04uM2FsfF4lw16tce//p1SwQGLJZB
 DHAwpp3drN+em6I7NhipPUhGpm3UDxTHM393DNoXOyp7/g1NJpDxS1+EbUfLEAjGQ6
 gu2iQAYcgkx3Invddwi7rcLTgV2aFOLmOABIgIwM=
To: guix-patches@HIDDEN
Subject: [PATCH] guix: Add "virtiofs" to the list of pseudo file system types.
Date: Mon, 13 May 2024 00:23:21 +0200
Message-ID: <17e6d840dfff496cc2b3981b6f66d49f85c2ec06.1715552601.git.mzan@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=193.30.121.134; envelope-from=mzan@HIDDEN;
 helo=mail.asterisell.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 13 May 2024 01:03:36 -0400
Cc: Massimo Zaniboni <mzan@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: -2.4 (--)

    * gnu/system/file-systems.scm (%pseudo-file-system-types): Add "virtiofs"
    to the list of pseudo file system types.

Change-Id: Ib1d99127e65f6543c592faec1c54bd0c5eae3ad7
---
 gnu/system/file-systems.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index af0567bd3e..c791b24a9f 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -369,7 +369,7 @@ (define %pseudo-file-system-types
   ;; List of know pseudo file system types.  This is used when validating file
   ;; system definitions.
   '("binfmt_misc" "cgroup" "cgroup2" "debugfs" "devpts" "devtmpfs" "efivarfs" "fusectl"
-    "hugetlbfs" "overlay" "proc" "securityfs" "sysfs" "tmpfs" "tracefs" "xenfs"))
+    "hugetlbfs" "overlay" "proc" "securityfs" "sysfs" "tmpfs" "tracefs" "virtiofs" "xenfs"))
 
 (define %fuse-control-file-system
   ;; Control file system for Linux' file systems in user-space (FUSE).

base-commit: 56980ea500a1db3c8586972b8abfaf5c4e24f82d
prerequisite-patch-id: 2594060f4840db34ac1620037cae257564e478a6
prerequisite-patch-id: 96b0d5eb0ddea5e15ee008767974e5e3e5c827ec
prerequisite-patch-id: 78233f86ba274a41c4a499fc4c8d21822a7beaa7
prerequisite-patch-id: 2ef841fb5c8add626eba42baf9ae5111cec094a1
prerequisite-patch-id: 6fa253cdf33e0cff14e1d8cd877e1597e90467a6
prerequisite-patch-id: 67f4d0f8005a1c2935a2919c94f37a3fe22f0792
prerequisite-patch-id: cedcbd82ee4036ae6daee4945d4049b2cefc7de0
prerequisite-patch-id: 50337a8e2c178e055e77e7631eea549915f24d92
prerequisite-patch-id: ebe20aaa902dd2b3d1fbae2584281d6cabf5001e
prerequisite-patch-id: 60f07cf3a71da05faeebf3737b570267430b9f78
prerequisite-patch-id: 050cc008096475efce19aaf2ec3b38045d27fcde
prerequisite-patch-id: e71a0f696cce4e74764f72937bf91dbcf8bb40db
prerequisite-patch-id: 5c8721e7771985f52a2291a87a88e080d0a8323b
prerequisite-patch-id: 57de09263d128280db18a14f840464d0a7433707
-- 
2.41.0





Acknowledgement sent to Massimo Zaniboni <mzan@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#70909; Package guix-patches. 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: Mon, 13 May 2024 14:45:01 UTC

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