🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Clint Adams Sun, 29 Nov 2026 01:50
Bug#1155720: fakeroot: stale ownership served silently after inode reuse by static binary
#6645
Author: Clint Adams
Date: Sun, 29 Nov 2026 01:50
21 lines
2679 bytes
On Sun, Nov 29, 2026 at 01:27:56AM +0000, Chris Bainbridge wrote:
> - The exec side is detectable before handoff: a PT_INTERP program header
>   means the loader will honour LD_PRELOAD (set-id and file-capability
>   binaries being the exceptions, cf. #544471), so libfakeroot can name the
>   binary and optionally refuse the exec, letting CI fail at the boundary
>   instead of three build steps later.  We keep that opt-in
>   (FAKEROOT_EXEC_POLICY=fail) and it is what would have made our original
>   failure say what actually happened.

A patch for this sounds fine.

> - The serve side can compare faked's cached permission bits with the fresh
>   real stat and warn when they disagree (a static chmod, for example).
>   Warn-only, because a legitimate in-place modifier can change the bits;
>   it cannot catch the same-mode reuse above, for the reason in the first
>   paragraph.

Warn how, exactly?

>Happy to send either as a patch, or as a description only -- we are not
>assuming you want the extra wrapped functions upstream.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads