The 2021 diagnosis does not apply to the current failure. This is not a
race as 2.1.4-1 fails deterministically on amd64, amd64v3, arm64, armhf
and i386, always in t.tar, with an identical diff every time. Retries
will not help.

As I have found, the root cause is in rust-coreutils, not fakeroot.
uutils "chmod -R" applies mode changes below its command-line argument
with a raw syscall(SYS_fchmodat2, ...) rather than a libc call, so
fakeroot's LD_PRELOAD wrappers never see them and faked keeps reporting
the old mode (see LP: #2164536)

Debian is unaffected because uutils is not the default coreutils there.
I'm working on a workaround till the bug in rust-coreutils gets fixed

** Summary changed:

- t.tar is racy possibly
+ t.tar fails because uutils chmod -R bypasses libc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915924

Title:
  t.tar fails because uutils chmod -R bypasses libc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1915924/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to