From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob1.topicbox.com (tb-ob1.topicbox.com [64.147.108.173]) by inbox.vuxu.org (Postfix) with ESMTP id 673D72CB52 for ; Thu, 22 Feb 2024 21:27:56 +0100 (CET) Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id EDF0323245 for ; Thu, 22 Feb 2024 15:27:54 -0500 (EST) (envelope-from bounce.mMee427615742065db50311a27.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id EB838F5B402; Thu, 22 Feb 2024 15:27:54 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (1024-bit rsa key sha256) header.d=posixcafe.org header.i=@posixcafe.org header.b=mGU5wOnt header.a=rsa-sha256 header.s=20200506 x-bits=1024; 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=posixcafe.org; spf=pass smtp.mailfrom=moody@posixcafe.org smtp.helo=mail.posixcafe.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=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=sysmsg-1; t= 1708633674; bh=DbbdKxD0V3nFMhtiry/IVTTvA4ATCTx17NgJJoJHuv4=; b=q yNlb4psoI65d8U06P09lhOLOc1rKFdbcFueE+o0FaNu8yrjir7WiIsVEmQ2knFfX xdlKEByILwLOBLj+aUdKW+RfVcWxsvFISny4IeKBf1dr55L5COvMkqPCft7XyBM5 8Is1TMjPbUd0Cj8Tsa5h41262nzqyM+La4+f2gYY2M= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1708633674; b=rd5cIFNPaaCe1b7+tHEwqU7yGnwv1uMW+6TfTTCha5v2tylIvA PRQcgK4mGptBiBJdsmP/IP2gcOnEBRCTiG9B2C/7GKehLibpkM1BwxD5rco+9kKq 0oB4FtYqQnsMGpmCLxZ0NtSEH7AidxY1S846oqC4nrQfJfBPDQa5mToLw= Authentication-Results: topicbox.com; arc=pass; dkim=pass (1024-bit rsa key sha256) header.d=posixcafe.org header.i=@posixcafe.org header.b=mGU5wOnt header.a=rsa-sha256 header.s=20200506 x-bits=1024; 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=posixcafe.org; spf=pass smtp.mailfrom=moody@posixcafe.org smtp.helo=mail.posixcafe.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-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=posixcafe.org header.i=@posixcafe.org header.b=mGU5wOnt header.a=rsa-sha256 header.s=20200506 x-bits=1024; 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=posixcafe.org; iprev=pass smtp.remote-ip=45.76.19.58 (mail.posixcafe.org); spf=pass smtp.mailfrom=moody@posixcafe.org smtp.helo=mail.posixcafe.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mail.posixcafe.org policy.ptr=mail.posixcafe.org; x-return-mx=pass header.domain=posixcafe.org policy.is_org=yes (MX Records found: mail.posixcafe.org); x-return-mx=pass smtp.domain=posixcafe.org policy.is_org=yes (MX Records found: mail.posixcafe.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :date:mime-version:subject:to:references:from:in-reply-to :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1708633674; x=1708720074; bh=DbbdKxD0V3nFMhtiry/IVTTvA4ATCTx1 7NgJJoJHuv4=; b=p1tJhKDVU4gYqUFYdUnxNtL0ItAtXJjbs+qxOR5HeR3YiB1v TeQA81BykzZQxbvKz4DgLaIruuXHdUC/31fTz55FJ4V6PczfnnH+fKs1CbTtVQ5D sdK3Dz5pLrvROvCeVngnRmQLHYmatQ6nsvqwXWbSr9TNZAFZz8fB5OCihLc= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id A4A0DD70C4B for <9fans@9fans.net>; Thu, 22 Feb 2024 15:27:42 -0500 (EST) (envelope-from moody@posixcafe.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id C4BF5A21739; Thu, 22 Feb 2024 15:27:42 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1708633662; b=S/eEcd9Z3uUyWHPM6mcbbefSxUYu8T32uof77nNI2+frxszsQp q3tot8Lm/vvIKa7urLLJzPq2uYdv265f9SdSNCSlGhv0tE1Qkc5IKBrksy4ONOAA 77o3+PrGkfoepm+XMTn086P449LFtuvzmu8t2gqUseIcuPY4rWCsVjcb99b79v3W m4xwC9bX8C9tx1ph1TTR8/w++cXhUcN3y3/2E59Hj5vzC3MjsN6MeVWrpNBu35XI HwZfOvPyP8oJqTV2i64x/xjfOwlXWxEQQckxwrt2/iRjEYeU/iX0fzr2cPUj7ZG7 kD2ZTkWojCvCaHZ9aVmby+M5cSEthzbdlWrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding; s=arcseal; t=1708633662; bh=Y60dZT4h e/23AOUXSnEiZUU/dS5j4j7wjgrqrA4L3Zo=; b=sxNuvZycYMcsOfG6lQYcXr1U tfBs88dgT3LhKXnKevWRgWqVwZ2/IanbjSLBjMuJUGA4bxbkdauTqlGeKzBF6phz jiI0qmht7OQvfXRgem8oTdodendSno33aQGD+yveD9+5SAfM/IN9PuBHnQNH3ldM XmcJkble8urKdGT0TMNrYpYb5HyH7MS/a8+gnEoArDbwbOygc1YKBk03MPankcue iyKU22KlID7fuaR6DAJGdLjLflXaRRGVPZTqoVwcRaCmpDHL7CNcTx/rorQkvFdg RyaIGP8e0jOzJpL+E/MuvV30RE1FSwH8K+0AmJmudE9UHNi2wUxIyQnK+x4RKA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=posixcafe.org header.i=@posixcafe.org header.b=mGU5wOnt header.a=rsa-sha256 header.s=20200506 x-bits=1024; 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=posixcafe.org; iprev=pass smtp.remote-ip=45.76.19.58 (mail.posixcafe.org); spf=pass smtp.mailfrom=moody@posixcafe.org smtp.helo=mail.posixcafe.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mail.posixcafe.org policy.ptr=mail.posixcafe.org; x-return-mx=pass header.domain=posixcafe.org policy.is_org=yes (MX Records found: mail.posixcafe.org); x-return-mx=pass smtp.domain=posixcafe.org policy.is_org=yes (MX Records found: mail.posixcafe.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrfeeggddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeen ucfhrhhomheplfgrtghosgcuofhoohguhicuoehmohhougihsehpohhsihigtggrfhgvrd horhhgqeenucggtffrrghtthgvrhhnpeelkeetuddvieelffefveeifeeifeduteejtefg ffefveehffdvfeejtdekgeefueenucffohhmrghinhepthhophhitggsohigrdgtohhmne cukfhppeeghedrjeeirdduledrheekpddvtdejrdeghedrkedvrdefkeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeghedrjeeirdduledrheekpdhhvg hlohepmhgrihhlrdhpohhsihigtggrfhgvrdhorhhgpdhmrghilhhfrhhomhepoehmohho ugihsehpohhsihigtggrfhgvrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (posixcafe.org: 45.76.19.58 is authorized to use 'moody@posixcafe.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="moody@posixcafe.org"; helo=mail.posixcafe.org; client-ip=45.76.19.58 Received: from mail.posixcafe.org (mail.posixcafe.org [45.76.19.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 22 Feb 2024 15:27:41 -0500 (EST) (envelope-from moody@posixcafe.org) Received: from [192.168.168.200] ( [207.45.82.38]) by mail.posixcafe.org (OpenSMTPD) with ESMTPSA id ab33555f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9fans@9fans.net>; Thu, 22 Feb 2024 14:27:37 -0600 (CST) Message-ID: <4f3c46d8-d10e-4bf4-a6f8-376ee11bb0c0@posixcafe.org> Date: Thu, 22 Feb 2024 14:27:39 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [9fans] Re: Hello, RPi fixes and bind -b trouble Content-Language: en-US To: Alyssa M via 9fans <9fans@9fans.net> References: <17070592670.E7CF6327b.7700@composer.9fans.topicbox.com> <17070649110.Bb83425E.69346@composer.9fans.topicbox.com> <17070654320.9a2dd3.8938@composer.9fans.topicbox.com> <17070851850.5D4Acd.328289@composer.9fans.topicbox.com> <17086311280.67fcAA.82492@composer.9fans.topicbox.com> From: Jacob Moody In-Reply-To: <17086311280.67fcAA.82492@composer.9fans.topicbox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: d7b94e5c-d1c0-11ee-8b0c-e7627e9821ca Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYmM3OGQyOWFiMDQ2NTJhMi1NZWU0Mjc2MTU3NDIwNjVkYjUwMzEx?= =?UTF-8?B?YTI3Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mee427615742065db50311a27:1:b_Ncq924HbI9kaL0IUWUdoPclzFaFSk4e4CidiDWejY I apologize I had recalled incorrectly in my previous email on this topic. We had intentions of fixing this issue with v9fs but only half of the work was done. 9front changed that specific error in the kernel to suffix the filename instead of prefix the filename to A) be more consistent with userspace B) allow use of strncmp() with the error The intention was to submit a patch to Linux to change their memcmp() to use strncmp() to allow this to be recognized. If I recall mcf had intended to submit said patch but I am unaware of where that went. In the meantime a hack around in exportfs is probably the best option. In regards to hjfs, I agree it should probably be brought in line with this if this is the convention we would like v9fs to use. I will purpose a patch to change it on the 9front list. Apologies and thank you, moody On 2/22/24 13:45, Alyssa M via 9fans wrote: > Well, my daughter has kindly given me a couple of her spare raspberry pis= - a pi4 and a pi5. > I've put 9front on the pi4, and have been having a look at it. I had to u= se the Raspberry Pi Imager program this time. windd didn't work (she thinks= this might be a feature of the later Pis). There are 5 computers on my des= k now! :) I'm running out of room for my teacup. I have a 2-port kvm, and I= could be using drawterm for the Plan 9 installations, but if I do that I w= on't be motivated to finish implementing a drawterm for my own system... >=20 > I tried mounting a 9front exportfs on Linux, but encountered the same pro= blem I mentioned earlier: the error strings don't match what v9fs on Linux = is expecting, with effect that I can't create files from Linux on a file sy= stem exported from 9front either. I think the problem is that v9fs tries to= open a file before creating it: if it doesn't get an error that it can rec= ognise as corresponding to ENOENT it won't attempt the subsequent create me= ssage. > v9fs currently does an exact match on the error string returned in Rerror= and will recognise any of the following strings: >=20 > "No such file or directory" > "directory entry not found" > "file does not exist" > "file not found" > "illegal path element" > "directory entry is not allocated" >=20 > as being different ways of saying ENOENT (which has the numeric value of = 2). It looks like the 4th Edition kernel prefixes these with the filename i= n quotes, e.g.: >=20 > "'foo' file does not exist" >=20 > I spoke earlier about my patch to exportfs(4) to get around this. > On 9front, though, I'm seeing: >=20 > "not found: 'foo'" >=20 > or >=20 > "file does not exist: 'foo'" >=20 > depending on which file system is involved. Even if I apply my exportfs p= atch to 9front, it looks like hjfs(1) has introduced "not found" as a=C2=A0= new way to say "file does not exist", and v9fs is not going to understand = that either... I suppose I could add a special case in exportfs to translat= e that into "file not found". >=20 > I see several problems: > The first and most obvious one is that v9fs doesn't cope well with the va= riety of ways ENOENT gets encoded over 9p. The second is that there seems t= o be an assumption that: > a) errors are only ever immediately reported to the user, and > b) the user speaks English... >=20 > For me, I have a very analogous problem with the 9p client file system ad= apter on my own OS: > I'm thinking at this point that I'm going to have to extract the currentl= y fixed strings it recognises into a file (which I can edit to keep up with= the times) and also use regular expressions so that the entries in that fi= le can actually pattern-match any embedded quoted filename, allowing for fu= ture creativity in the ways it can get inserted into the error string retur= ned via Rerror... > I'm not sure I quite believe I'm seriously contemplating doing this. >=20 > Perhaps I'm missing something obvious. >=20 > *9fans * / 9fans / see discussions + participants + delivery=C2=A0options Permalink ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tbc78d29ab04652a2-Mee427= 615742065db50311a27 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription