🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.stable
Article #48

Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp

#48
From: Alan Somers
Date: Wed, 18 Nov 2026 19:08
34 lines
6324 bytes
On Wed, Nov 18, 2026 at 11:35 AM Pete French <pete@twisted.org.uk> wrote:
>
> I updated STABLE today, to pull in the ZFS fix, but I am now having
> problems with Claude Code in that it gets ENOTDIR when trying to work
> in /tmp. I run this in the Linuxulator, as they dont have BSD binary.
> My last STABLE update was only last week, so this is a change which has
> gone in very recently. Its happening across several mahcines and
> in both amd64 and arm64.
>
> On existing sessions I gte:
> Error: task output swap refused (open refused a swapped leaf (ENOTDIR))
>
> On new sessions I get:
> Error: ENOTDIR: not a directory, mkdir
>
> I have checked the paths, and they are definitely directories
> still. I also tried deleting everything and running from scratch,
> but it hits the same problem. It claims the errors come from
> bash, but I ahve tried to repruduce this outside Claude using
> the bash in /compat/linux but I cant. Am a bit stumped on where
> to go next to try and debug this.
>
> -pete.

I know this isn't answering the question you asked, but now that
misc/opencode is in ports I no longer see the need for Claude Code.
opencode does not need the linuxulator, and it can connect to your
Anthropic account.  I'm using it happily.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <CAOtMX2geWkVR-hOy-vZFD9q8_OVfObxsQdOPADD3stdnsMq4HQ@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <e96b8768-ae56-42da-a4c3-43dd19257013@twisted.org.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Alan Somers <asomers@freebsd.org>
Newsgroups: muc.lists.freebsd.stable
Subject: Re: Claude Code in Linuxulator now getting "ENOTDIR" in /tmp
Date: Wed, 18 Nov 2026 12:08:04 -0700
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CAOtMX2geWkVR-hOy-vZFD9q8_OVfObxsQdOPADD3stdnsMq4HQ@mail.gmail.com>
References: <e96b8768-ae56-42da-a4c3-43dd19257013@twisted.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="25410"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795028913;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=82jJGoqhWUpw0YPknhxemMH2acEz6KFB1HOt6qqj7xA=;
	b=Ez1MafKXpDQ+YtchSBrhTek9Gk1lqfiS3fqeqsmd7aEFvFgktM6NFT0K9zLMgUNuvLzxns
	KyPQL78cMEjmuSnbIkAL8/VLfyDeGHRXkYTAlt7SgfpWUhBKLLWLsVBbm0eK3/PZgRgqn+
	aATwyD9As9eR83whmOmFJg+SWcXsd3uvXP2t2lmf5gu7kET3Opp0nzicQ3jVwLcR2Oh6aQ
	ZboRecHVdnauPbUhIhYp4Y18kb2XgJN53HgKjSR81V9lzHaf6yhdYiuFmawJRlgGvcLR3r
	GLlVCnjuRmmXMNmWctCmUADoAkT8fhMR0JUpqMP9EwVsZLhBTLUrDVhGo3aXcg==
X-Original-To: stable@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none);
	arc=pass ("google.com:s=arc-20260327:i=1");
	spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.54 as permitted sender) smtp.mailfrom=asomers@gmail.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795028897; x=1795633697;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=82jJGoqhWUpw0YPknhxemMH2acEz6KFB1HOt6qqj7xA=;
        b=EUJHNxa4AuNMqIxo4CTWQndnIXsyd8FL/qrnIvCnbKEEOtmc2e7ucqFoDKj8kLvVOn
         coi8B7SHtkaZMHEh3gtQIgissAnQ2o+XnCLuosIyMY2czf7aby/gwJhoiOpfrBmyfjt5
         akD/V7EL5Jkn/24xRuUyio1q1UUVDRVGUQvcGW28V+kHeyjQ1DJ2w6D9YI188YnzHWa9
         1dbJzavfBHoy/ac9JnVkQxgPRxbK7fwDwpDZEmPOsKHyX4mRzyDMPhmEKsdxT12LcAaT
         w6JdCA1AnCuyx5A28yDlUs9oF2/vjQnKH5cmRrXBOroEDnv6upusLLYJXjlFNsYAfJBP
         NToA==
X-Gm-Message-State: APuU4Z+Yx42+B6PjfWBjw5gh+Yx/fDYh2+WOoVcKBjmsztwj7/37aA8i
	ChHsxKQGVMlRNlWkQER+Zv5N1WGNpkggUylynn+tFT3IMyhvUg9+viIgSIHpPBVpxFLr5oE1NF1
	7OBsTltXsVU9iTCnlRoJ2S7hcckpeCGbXXg==
X-Gm-Gg: AYBFou1+MbdtIqwRnggSNXXm2/HnbYELkS3UGJD4HK94bzQ/G9+46BuOt22gaO71keJ
	V8S2GFAhGSKm/oJikmWfvR3nfOCG+yfyWZ9nrqe7bW4lJWvZuKl6B8MpT3KG4ApnQ6mQQtnF2wB
	GG/MTUKAiAddO0RgUUZhsoS3zbIX3VtZ2W3LklpchwH5FIwv9LNhY/wT+g5i3niG1oXendAC3GW
	1hINepaVdTyUm6nv0APWukzu9+SNBdDTkYupqyR8353NQBERgNe4o0x79xwzXToDTahlIW+x/EN
	3VAjkQQwj8YYLccBJcCNby8SgnrjXdqvHfEazUzMUa1hpxlXOpeIccyZHW9yMe/wryZOWDMqj6S
	QrJl8Tcl0UPXTUqhXHyGbXoO+YPHKMNOu73x/hewf+pv97c3lG2pw7hF4bdAx09pe7pezmbdCpw
	Q4RmIs96kfjyM1MF9PaY6hMg==
Precedence: list
In-Reply-To: <e96b8768-ae56-42da-a4c3-43dd19257013@twisted.org.uk>
X-Gm-Features: AclHuK9BUHP6pTvS-TgYEcnx_V4fOhHGeq25ARB-1q3hyAKvym5yDN8UAumKCh8
X-Rspamd-Queue-Id: 4jVB2X208Tz4t79
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.90 / 15.00];
	ARC_ALLOW(-1.00)[google.com:s=arc-20260327:i=1];
	FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com];
	R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17];
	MIME_GOOD(-0.10)[text/plain];
	DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none];
	ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US];
	FREEFALL_USER(0.00)[asomers];
	TO_DN_SOME(0.00)[];
	MIME_TRACE(0.00)[0:+];
	FREEMAIL_ENVFROM(0.00)[gmail.com];
	RCVD_COUNT_ONE(0.00)[1];
	RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.54:from];
	RCPT_COUNT_TWO(0.00)[2];
	R_DKIM_NA(0.00)[];
	FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com];
	FROM_HAS_DN(0.00)[];
	MISSING_XM_UA(0.00)[];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org];
	MLMMJ_DEST(0.00)[stable@freebsd.org];
	RCVD_IN_DNSWL_NONE(0.00)[209.85.208.54:from]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes