Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 20:08:52 +0200
From:      ltning-freebsd-stable@anduin.net
To:        freebsd-stable@freebsd.org
Subject:   Fusefs unionfs trouble with hardlinks?
Message-ID:  <f302877e-b8d1-9a15-4ff4-bd7226994d5f@anduin.net>

next in thread | raw e-mail | index | archive | help
Hi,

I've been trying to prepare a NomadBSD stick for a raid at a nearby 
laptop store, and have upgraded it to 14-BETA2 using freebsd-update. 
However, when attempting to pkg upgrade it afterwards, I find that some 
ports cause problems; one example being libdeflate.

NomadBSD has a uzip-backed /usr/local with a ZFS-backed fusefs-unionfs 
on top. Hence, installed/upgraded packages and other changes are applied 
to the ZFS dataset only, since the uzip device/filesystem is read-only.

During package upgrade or installation, most packages behave fine, but 
e.g. libdeflate attempts to create hardlinks to itself within 
/usr/local/bin. This fails, with a "File exists"-complaint.

I have not had any similar problems on NomadBSD installations I have 
elsewhere, but they are all on 13.2 - this leads me to believe there may 
be problems specific to 14.

I'm using the standard "latest" FreeBSD package repo. And for clarity, I 
have *not* installed to another disk; this is all done directly on the 
USB stick created from the NomadBSD image.

I can extract more logs/info as required, if anyone feels like looking 
into this. It does seem like a currently-working use case that no longer 
works, so perhaps of interest before 14 ships?

Wbr
/Eirik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f302877e-b8d1-9a15-4ff4-bd7226994d5f>