From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22118 invoked from network); 30 Oct 2023 19:45:35 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2023 19:45:35 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 2833525B91 for ; Mon, 30 Oct 2023 15:45:33 -0400 (EDT) (envelope-from bounce.mMd105fe9cdb66627c43229d81.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 25A4B193BC7; Mon, 30 Oct 2023 15:45:33 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=icebubble.org; spf=pass smtp.mailfrom=cigar562hfsp952fans@icebubble.org smtp.helo=icebubble.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:to:references:date:message-id:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:subject:content-transfer-encoding:list-unsubscribe; s= sysmsg-1; t=1698695133; bh=GMyLEZsVkpbUqthPoHdD9Kzfd56yDyEbCcYmq dGIopM=; b=izDm/HcyVJKhMILkkNS04IjZPROiRr42Iq2qv2uqKzFTBK89Mm5Ny AnwNXhqj2ZMMhdRty+sjrTgcluff10fxmUjEoZ2kkGoMDyhYiTd3nsosPOjoq7/d 53YptsG/oeBh4ULLWjum0SH7KV7Y5vTPcegdeeOGp/QXPycKmk/jBM= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1698695133; b=l//IrwDJIaRnXj6wTL+c8IaW4qFirlXH6viFhpDfSurqk4uTNi xMZBU6ZJAHX8kdbJCPP9pYW82KWLCKCtbggzgXL/4cdlOQsWR3kYa0u5+hXDENFv 8NtPLVstb1HgF4oEbsQHbWr2Ykd7I75VFDWAh3E8NicOBjcVANgskFoRI= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=icebubble.org; spf=pass smtp.mailfrom=cigar562hfsp952fans@icebubble.org smtp.helo=icebubble.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=icebubble.org; iprev=pass smtp.remote-ip=174.136.103.210 (smtp.icebubble.org); spf=pass smtp.mailfrom=cigar562hfsp952fans@icebubble.org smtp.helo=icebubble.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=icebubble.org policy.ptr=smtp.icebubble.org; x-return-mx=pass header.domain=icebubble.org policy.is_org=yes (MX Records found: icebubble.org,icebubble.org); x-return-mx=pass smtp.domain=icebubble.org policy.is_org=yes (MX Records found: icebubble.org,icebubble.org); x-tls=pass smtp.version=TLSv1 smtp.cipher=DHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :references:date:message-id:mime-version:content-type:list-help :list-id:list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=dkim-1; t= 1698695133; x=1698781533; bh=TGDv4N3Gi6aymqu585/eRhAHX1bqkLQdpvw tPls/KRc=; b=knJVgbrBKgzkT/+lYVx8oWC7fxj1aVWlIoZb9uqT0akaJYTvDkP mrGyKcCLxStWS6ciMydzzscM3h/IhyQROD6cW/Dku2QA+jwPST0bkUun2er5EUcG AmrBQMCUXTOxZ34AO9ccGhH+ha1vAG4/NxluP/+CHcmdpd7hntbi+qvw= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id F24AD193792 for <9fans@9fans.net>; Mon, 30 Oct 2023 15:45:23 -0400 (EDT) (envelope-from cigar562hfsp952fans@icebubble.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 1445AFD942F; Mon, 30 Oct 2023 15:45:23 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1698695123; b=Imp1QwzOG1ctKR9/GvRznvDeuJ93bzfrsNn6nCOBFtBx4YsU20 uqGVdk7g1eVk6Ioo0w6yvj/v3N+WSp/Mg0xGW7ay/LzRCqJwEAfymdnD/UCBoxei VfSZ7RHj5Zk69BIh/v3sduH2yCg49cnFmkMP5yES2Z7S4kk8ozrR6QuOnegXbaj8 WYqD/EQ9LnwLXbAbuLHQL62iRt/ZnQNC7cQN+ajHkEc2LiLeQr8QoBMBxy72jWJO XZse0x4k+WdghlckYc5uFOwlhTHVOsxvMLRBszNwSPGpEnRGAGfWzMVU1IatC7UH 3Z6qO2aGAOrPdVQ245lejI4qCfifsU66aofg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:to:subject:references:date:message-id :mime-version:content-type; s=arcseal; t=1698695123; bh=0V2whHFz exIs+1I/rmDVb0rnfHaTGs6dlS9WfzgTTdI=; b=YqB8+j0HHWjFtmxbCaE0ViaN dA/uErPz79Lwcj7oyls6qTL6yNrEkQG272Rj6Jtu+xeOok7PG9K6z2iczi1S/ssz sV9RKkjZAm6ehlKk8n2UJ80ustjR2qU98rbhpxymUPvA25r7bFXA4gtN4eLKDipt BssPzSTaVtRGhDe0tBrJELhWIBX3poLpVPGtg5Mocae01lo2FeifS94swmFOX4Ni zQwE61OQSbK3NqzobhgCHJD8/i3G3jmhuR+akMMjGHIIiEc9naoNdcFZ5FSuWTS1 AmtGE6bxDuXGyVMm6uKKF0Ev/XIaUiyiXt/D/IKiCGOhisfpTO6AIapkSvLq+w== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=icebubble.org; iprev=pass smtp.remote-ip=174.136.103.210 (smtp.icebubble.org); spf=pass smtp.mailfrom=cigar562hfsp952fans@icebubble.org smtp.helo=icebubble.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=icebubble.org policy.ptr=smtp.icebubble.org; x-return-mx=pass header.domain=icebubble.org policy.is_org=yes (MX Records found: icebubble.org,icebubble.org); x-return-mx=pass smtp.domain=icebubble.org policy.is_org=yes (MX Records found: icebubble.org,icebubble.org); x-tls=pass smtp.version=TLSv1 smtp.cipher=DHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvkedruddttddguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf hffffkgggtsehttddttddttddvnecuhfhrohhmpegtihhgrghrheeivdhhfhhsphelhedv fhgrnhhssehitggvsghusggslhgvrdhorhhgnecuggftrfgrthhtvghrnhepgfetveekve ejueetkeefhedtgefhkedvtdffjeefkeevkefffeeileejffeggeelnecukfhppedujeeg rddufeeirddutdefrddvuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hinhgvthepudejgedrudefiedruddtfedrvddutddphhgvlhhopehitggvsghusggslhgv rdhorhhgpdhmrghilhhfrhhomhepoegtihhgrghrheeivdhhfhhsphelhedvfhgrnhhsse hitggvsghusggslhgvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (icebubble.org: 174.136.103.210 is authorized to use 'cigar562hfsp952fans@icebubble.org' in 'mfrom' identity (mechanism 'a' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="cigar562hfsp952fans@icebubble.org"; helo=icebubble.org; client-ip=174.136.103.210 Received: from icebubble.org (smtp.icebubble.org [174.136.103.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 30 Oct 2023 15:45:23 -0400 (EDT) (envelope-from cigar562hfsp952fans@icebubble.org) Received: from petunia by icebubble.org with local-bsmtp (Exim 4.76) (envelope-from ) id 1qxYAp-0008VN-N9 for 9fans@9fans.net; Mon, 30 Oct 2023 19:43:43 +0000 Received: from rusat by cmarib.ramside with local (Exim 4.72) (envelope-from ) id 1qxK40-0002J1-GA for 9fans@9fans.net; Mon, 30 Oct 2023 04:39:44 +0000 From: cigar562hfsp952fans@icebubble.org To: 9fans <9fans@9fans.net> References: <87jzr8rqwh.fsf@rdklein.fr> Date: Mon, 30 Oct 2023 04:39:34 +0000 Message-ID: <8634xsbu61.fsf@cmarib.ramside> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: e0836086-775c-11ee-9f82-0002fc8b7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYjVkMDM5ZjY3NWM1NDA0Ni1NZDEwNWZlOWNkYjY2NjI3YzQzMjI5?= =?UTF-8?B?ZDgxPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: Mounting a 9P filesystem under a Linux "user namespace" Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Md105fe9cdb66627c43229d81:1:nhCIjTsbwYI2VUYASRRWdVK_tr34WFiV27QbbkFlqg8 Edouard Klein writes: > I'm about to write my own 9P2000.L fuse wrapper, but before I dive into > that, I thought I'd ask here: has anybody ever mounted a 9P filesystem > from inside a Linux user namespace, or even better, a full blown > container ? Well, all my containers are in the recycling bin by my back door. But I do regularly mount and use 9P filesystems on Linux, using either the "9p" filesystem in the Linux kernel or the 9pfuse FUSE client, depending on the circumstances. I modified 9pfuse to support Unix file types (block/character devices, symlinks, etc.) Those modifications allow storage/retrieval of vac archives containing Unix filesystems. IIRC, I submitted those changes as a patch to plan9port about 10 years ago. There are problems with 9pfuse, however. 9pfuse is slow and leaks memory. And, due to restrictions in the FUSE protocol, file ownership is limited to a single user (the user mounting the export). GNU find (even with invoked with -noleaf) also has problems traversing directories served by 9pfuse. I haven't bothered porting my mods to 9pfs, though it may well be worth the effort. I've been toying with the idea of writing a 9P2000 translation server to translate between my extensions and 9p2000.u. That way, a single 9P2000 filesystem could be mounted (presumably by root) and used by multiple users. The problem with the Linux kernel's 9p filesystem is that it doesn't have any sensible way to map 9P2000 user/group names to Linux UID/GIDs. That seems to be the big stumbling block. Wait, 9P2000.L? What's that? Inferno's "export" works OK with both 9pfuse and Linux's 9p fs driver. But I recall there being other 9P2000 file servers out there. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tb5d039f675c54046-Md105f= e9cdb66627c43229d81 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription