Control: tag -1 + patch

Hi,

Quoting Johannes Schauer Marin Rodrigues (2026-07-09 11:10:22)
> I observed that the command which fails (for both ucf as well as openssh
> postinst) is a cp carrying the -Z argument.
> 
> If you happen to have a hunch which commit between 2.0-1 and 2.1.1-1 could've
> broken cp with SELinux I could try reverting that commit and see if that fixes
> it.

looking at the differences between 2.0-1 and 2.1.1-1 I found that this patch
makes the issue go away:

--- 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;

Attachment: signature.asc
Description: signature

Reply via email to