Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2020 14:30:20 -0800
From:      Chris <bsd-lists@BSDforge.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: lib/libc.so.7: chflags: Operation not permitted
Message-ID:  <ca13d5ef80d2a6c60406985fbc2575a6@udns.ultimatedns.net>
In-Reply-To: <06501276a8cd85b5dcb71dd4c040b4f0@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Feb 2020 13:55:09 -0800 bsd-lists@BSDforge=2Ecom said

> I built world && kernel from within a jail=2E When I attempt to
> perform an install to DESTDIR, I receive the following:
>=20
> releng12:/usr/src # mkdir -p /REL
> releng12:/usr/src # make installworld DESTDIR=3D/REL
> =2E=2E=2E
> --------------------------------------------------------------
> >>> Installing everything
> --------------------------------------------------------------
> cd /usr/src; make -f Makefile=2Einc1 install
> make[3]: "/usr/obj/usr/src/compiler-metadata=2Emk" line 1: Using cached
> compiler metadata from build at 12current=2Elocalhost on Fri Feb 14 20:57:3=
8
> PST 2020
> =3D=3D=3D> lib (install)
> =3D=3D=3D> lib/csu (install)
> =3D=3D=3D> lib/csu/amd64 (install)
> install  -o root -g wheel  -m 444 crt1=2Eo crti=2Eo crtn=2Eo Scrt1=2Eo gcrt1=2Eo
> /REL/usr/lib/
> =3D=3D=3D> lib/libc (install)
> install  -C -o root -g wheel -m 444   libc=2Ea /REL/usr/lib/
> install  -C -o root -g wheel -m 444   libc_p=2Ea /REL/usr/lib/
> install  -s -o root -g wheel -m 444   -fschg -S  libc=2Eso=2E7 /REL/lib/
> install: /REL/lib/libc=2Eso=2E7: chflags: Operation not permitted
> *** Error code 71
>=20
> Why isn't it permitted=2E I've not imposed any special permissions on, or
> within the jail' folder=2E Nor within the jail itself, and I've been doing
> this
> sort of thing within jails for years, and have never had this problem=2E

Never mind=2E
I just noticed an omission from my jail=2Econf(5) that is to blame:

allow=2Echflags;

Sorry for the noise=2E

--Chris
>=20
> Thanks!
>=20
> --Chris
>=20
>=20
> _______________________________________________
> freebsd-current@freebsd=2Eorg mailing list
> https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd=2Eorg=
"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca13d5ef80d2a6c60406985fbc2575a6>