On Wed, 13 Nov 2024 at 10:55:59 +0000, Jessica Clarke wrote: > [pbuilder? has] mounted /proc for quite a few years now similarly to how > schroot > recently started to, but /proc/*/fd/N has always been a little broken. > Isn’t that also true of schroot though? I seem to recall observing the > same thing there when testing the new schroot code recently.
All I can say is that when I tested the xorg-server change, it built successfully in the bookworm versions of sbuild/schroot, in a bookworm VM. One possibility is that sbuild/schroot might make stderr a pipe, which can be reopened via /proc/self/fd/2; but pbuilder might make it an open fd to a log file owned by some other uid, which might not be reopenable? Or something like that? smcv