From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AHOiCEGYWGbMEQAAA41jLg (envelope-from ) for ; Thu, 30 May 2024 17:16:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EI1sAEGYWGaEVwAA62LTzQ (envelope-from ) for ; Thu, 30 May 2024 17:16:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=LpLgaoWv; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717082176; a=rsa-sha256; cv=none; b=YtcP0iaITYTctU8cpdTBYwFMFNGtICBYZJe+02++UUTMGgT+Zjf4a0DRWFxWyiy1MgSw5S iCh0e4XY2ap9i8YBz9NeX3rCXBwbmmUr0N7xeqZDW68xgUXbDmFpuEB7VvZz5np8CY/EaG V5deQ3Xuh1+3g97tnjKYUwSR2AiltjnJTUoYO4RNZRAjzQb3fwBNxY5z8L0qoGhXA5whEu m6gJUrNwh2/LEz6zfT1YvG9Hyrk0mVdNhD6JHHLRSUzBxnC6Irv+78fRJdM6gLtgK5dNWb PggeNOADS+8mnUxjpEdOkq50NfAKgdXsSA+uqu3ync+oj3NUxJ8wIiXJ/CoQLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=LpLgaoWv; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717082176; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lHA43nDUMhrUfjHuhy40/5SFAhp4iRFz5HmSqdnSP+4=; b=XyjEZLzN7pHZVxvK2xDpB21QtF8kFB+nFf1Bk5cr1lSV0VYcUhoelDEYw3YS6dhOkq9000 USocrsl6L/Hogbgz1dC6AC7aL8nwpiUI8VYeRYDJ1QAbGiIeNgPKrGRP8jrfo4zyp0N1Vd FyPDQlgkjswb0H6NzYsAjhk84tXihpSTlbsKLrT8JOR2Y2m88sQ3aP3Qcc9pGGjxZTAheZ 9nTx8jrMwm7SfKrF6YMPiTsciFWP75DD8b1gnrjpkGyJ3kxI06AXJYHKv2Tfly7eQDR0BG Pk3ZWv+dMV7gQLzi9s/IPIOyJG2TKGDspB8/Cep3jo0b1sE0BOR1JodQFO/1mg== 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 D049C64F72 for ; Thu, 30 May 2024 17:16:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sChVP-0007pp-IP; Thu, 30 May 2024 11:15: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 ) id 1sChVH-0007oO-LS for help-guix@gnu.org; Thu, 30 May 2024 11:15:44 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sChVC-0006KX-Nn for help-guix@gnu.org; Thu, 30 May 2024 11:15:42 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 63BE01BF203 for ; Thu, 30 May 2024 15:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1717082134; h=from:from: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; bh=lHA43nDUMhrUfjHuhy40/5SFAhp4iRFz5HmSqdnSP+4=; b=LpLgaoWvKJ98VHmb/Wlq+HowNetttTz4B4gF3Vv2fwzGmMWUwbaduPppGmVt0ln7UBiiQB FEQLo6GAJPJtakas/cgJKHWbWkO9NjmH2pGVknyLi81n4vAGVA4yrg4kkbpg+M3XgNA0S8 rZJko+M4hcNJBdzZkGSuJrP6/iEf+NxEQ/vNEkYQCE0wD9KWF99IIoXr1WplnImfk5FB4/ 1QjZH9m0JiJEW0GLn3321GxmhiWEotbjs2+47hUnUcdNHc4eh+O/4cXNdghdDx5RJl/gTO Fg47cDgIf59+ggwoodbV/inAh7Lwx6huy9ILGMr+f/Bx8qCLtdxKkGWHaEYF8A== From: Fabio Natali To: help-guix@gnu.org Subject: guix system vm, QEMU, virtfs, and the security_model option Date: Thu, 30 May 2024 16:15:33 +0100 Message-ID: <87zfs78h62.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.201; envelope-from=me@fabionatali.com; helo=relay8-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: D049C64F72 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.92 X-Spam-Score: -8.92 X-TUID: OvUhsq26XMaP Hi, A quick question re the 'guix system vm' command. When used in combination with '--share=3D/foo=3D/bar', the command takes advantage of QEMU's 'virtfs' option to share a folder between the host and the guest. Interestingly, the command makes use of the 'security_model=3Dnone' option. An alternative, one that I've seen recommended in some QEMU docs=E2=81=B0, would be using 'security_model=3Dmapped-xattr'. Is there any particular reason why we're using 'none' instead of 'mapped-xattr'? The reason I'm asking is because I'm struggling with some permission issues on a shared folder and I'd have a vague intuition (or some hope) that 'mapped-xattr' might be a solution. Thanks, best wishes, Fabio. =E2=81=B0 https://wiki.qemu.org/Documentation/9psetup' --=20 Fabio Natali https://fabionatali.com