Quoting Clint Adams (2026-07-09 19:04:43)
> >--- a/libfakeroot.c
> >+++ b/libfakeroot.c
> >@@ -2038,8 +2038,8 @@ ssize_t flistxattr(int fd, char *list, size_t size)
> >
> >   r = next_flistxattr(fd, list, size);
> >   if (fakeroot_disabled
> >-      || r > 0
> >-      || (r < 0 && errno != EPERM && errno != EOPNOTSUPP))
> >+      || r >= 0
> >+      || (errno != EPERM && errno != EOPNOTSUPP))
> >     return r;
> >   errno = 0;
> 
> So, that's reverting the fix for #1138512, which might be the right
> thing to do short term, but I'd like to try to get the xattr stuff
> to a stable point if we can do that quickly.  Cc:ing Janneke, but
> I'll try to figure it out soon too.

Sorry, I didn't see that you already replied when I wrote the other mail to
this bug just now. The patch which makes it work again is actually a bit more
minimal and only r>0 needs to be changed to r>=0.

I can easily test any real fix you come up with, so feel free to send any patch
you'd like me test early and I through it into our CI.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to