From owner-freebsd-current@freebsd.org Sat Feb 15 22:30:18 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E25E324AFBE for ; Sat, 15 Feb 2020 22:30:18 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48KlLd1cgfz3PX1 for ; Sat, 15 Feb 2020 22:30:16 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 01FMUErf004322 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 15 Feb 2020 14:30:20 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 In-Reply-To: <06501276a8cd85b5dcb71dd4c040b4f0@udns.ultimatedns.net> From: Chris Reply-To: bsd-lists@BSDforge.com To: freebsd-current Subject: Re: lib/libc.so.7: chflags: Operation not permitted Date: Sat, 15 Feb 2020 14:30:20 -0800 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48KlLd1cgfz3PX1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bsd-lists@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@BSDforge.com X-Spamd-Result: default: False [-1.25 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[bsd-lists@BSDforge.com]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.33)[ip: (-0.62), ipnet: 24.113.0.0/16(-0.31), asn: 11404(-0.67), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[BSDforge.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.835,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 22:30:18 -0000 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= "