[Rpm-maint] [rpm-software-management/rpm] Make user/group info reliable operation across chroot (PR #2503)

Colin Walters notifications at github.com
Thu Feb 20 19:36:07 UTC 2025


cgwalters left a comment (rpm-software-management/rpm#2503)

The bigger picture fix I think is to stop using `chroot()`; for writing files, instead operate on a directory file descriptor using openat() etc. This is what ostree does for example pervasively.

For executing code, the replacement for `chroot()` is containers. 



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2503#issuecomment-2672494915
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2503/c2672494915 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250220/b875753e/attachment.htm>


More information about the Rpm-maint mailing list