Re: Possible issue with linux xattr support?
- Reply: Felix Palmen : "Re: Possible issue with linux xattr support?"
- In reply to: Felix Palmen : "Re: Possible issue with linux xattr support?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Aug 2023 15:57:42 UTC
On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > * Cy Schubert <Cy.Schubert@cschubert.com> [20230827 16:59]: > > On August 27, 2023 12:55:23 PM PDT, Felix Palmen <zirias@freebsd.org> wrote: > > >* Dmitry Chagin <dchagin@freebsd.org> [20230827 22:46]: > > >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > > >> > * Dmitry Chagin <dchagin@freebsd.org> [20230827 20:54]: > > >> > > 1. which fs are you using? > > >> > > > >> > ZFS. > > >> > > > >> > > 2. jailed? > > >> > > > >> > Yes, this is during building ports with poudriere. > > >> > > > >> > > >> I think it's a weird prohibition on changing system namespace extattr > > >> attributes, look to comments in extattr_check_cred() > > > > > >Maybe that's when I should finally start trying to understand the stuff > > >in src.git ;) > > > > > >> I can fix this completely disabling exttatr for jailed proc, > > >> however, it's gonna be bullshit, though > > > > > >Would probably be better than nothing. AFAIK, "Linux jails" are used a > > >lot, probably with userlands from distributions actually using xattr. > > > > > >Cheers, Felix > > > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/disable then? > > 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. > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch