Re: oudriere/CURRENT jail upgrade: install error: libc.so.7: Operation not permitted *** [_libinstall]

From: Mateusz Guzik <mjguzik_at_gmail.com>
Date: Wed, 15 Mar 2023 17:22:16 UTC
I don't know why this broke, but as a temp hack you can probably get
away with just removing chflags, like so chflags -R noschg
/path/to/the/jail

On 3/15/23, FreeBSD User <freebsd@walstatt-de.de> wrote:
> Hello,
>
> running CURRENT on the host and a CURRENT jail on that specific host for
> poudriere test
> purposes, building the jail from sources succeeded, but installing stopped
> working a couple of
> weeks ago (installing 13-STABL:E jails stopped working, too, but building
> 13-STABLE on top of
> CURRENT works fine).
>
> The jail's base is built like a PkgBase. the I try to update the existing
> jail via
>
> poudriere jail -j head-amd64
>
> and that fails with (as 13-stable does also):
>
> [...]
> install -N /pool/sources/CURRENT/src/etc  -s -o root -g wheel -m 555
> mknetid
> /pool/poudriere/jails/head-amd64/usr/libexec/mknetid ---
> realinstall_subdir_lib ---
> install: rename: /pool/poudriere/jails/head-amd64/lib/INS@uPWcSw to
> /pool/poudriere/jails/head-amd64/lib/libc.so.7: Operation not permitted ***
> [_libinstall]
> Error code 71
> [...]
>
> The same with building the jail running "poudriere -u -b". The same is for
> 13-STABLE.
>
> The only way to circumvent this issue is to delete the jail and install it.
> The installation
> succeeds in both updating-failing scenarios (pkgbase and poudriere built
> case), which leads me
> to the conclusion, that a minor bug is preventing the update.
>
> Any suggestions how to make updating work again?
>
> Kind regards,
>
> oh
>
>
> --
> O. Hartmann
>
>


-- 
Mateusz Guzik <mjguzik gmail.com>