Date: Tue, 29 Aug 2023 12:59:11 +0200 From: Felix Palmen <zirias@freebsd.org> To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <smfbmu35sxh2f3hu5nrpdwb355trlucd2bbp4ag5ke7v3zf3il@s3ua2x4i3nzj> In-Reply-To: <ZOzD9noXVrslppot@heemeyer.club> References: <wngyoks3jy5wjrbv6tlqhv3g4jyu7z4s2broo7qcpit7iebawc@fbfb5iidxtp2> <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> <ZOuNvisMH_GXHHX2@heemeyer.club> <pzu4sxp4wvfpn3mzzo2giw3otvg6z5ewia6rr2tdgpkjurfcfe@aat2k6ywm6jm> <ZOuoH6Llw8PKgMJQ@heemeyer.club> <wuwg3egv3rilgfaa5hor47v3yjwzvxlt5krj4la4wvugcnhkg3@vgrtgfr7rc6i> <EA27BAE1-C687-47F9-BB6D-B72A85A5CA8D@cschubert.com> <elx6cvceobzgw66fskkfhhicsdpsur5xaktluu5tk7m7p4qwno@s7qmm4kyuvag> <ZOzD9noXVrslppot@heemeyer.club>
next in thread | previous in thread | raw e-mail | index | archive | help
--ok2xx3a6axywbnjn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin <dchagin@freebsd.org> [20230828 18:57]: > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > * Cy Schubert <Cy.Schubert@cschubert.com> [20230827 16:59]: > > >=20 > > > If we are to break it to fix a problem, maybe a sysctl to enable/disa= ble then? > >=20 > > IMHO depends on the exact nature of the problem. If it's confirmed that > > it (always and only) breaks for jailed processes, just disabling it for > > them would be the better workaround. "No-op" calls won't break anything. > >=20 >=20 > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch Thanks, I can confirm this avoids the issue in both cases I experienced (install from GNU coreutils and python). If I understand this patch correctly, it completely avoids EPERM, masking it as not supported, so callers should consider it non-fatal, allowing to silently ignore writing of "system" attributes while still keeping other functionality? I wonder whether this could cause trouble in other scenarios (like a read-only fs or actually missing file permissions)? Cheers, Felix --=20 Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ok2xx3a6axywbnjn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO3Pel8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny Md4WAQCpIVin7fSuSlatk8F9ENdKnB4Bk+zTMm564m0XRbLIKAD+M8Ik/QetrIBP bFl2og/iGZBzkyzCjkgeruBF/YXCOwY= =9/sf -----END PGP SIGNATURE----- --ok2xx3a6axywbnjn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?smfbmu35sxh2f3hu5nrpdwb355trlucd2bbp4ag5ke7v3zf3il>