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

Demi Marie Obenour notifications at github.com
Fri May 5 15:35:51 UTC 2023


What about users and groups that are not in `/etc/passwd` or `/etc/group`?  Those won’t work with this design.

IMO the only way to get everything right is to either reimplement glibc nsswitch (yuck) or to fork/exec a subprocess and have _that_ chroot before it makes any user or group lookups.

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

Message ID: <rpm-software-management/rpm/pull/2503/c1536435351 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230505/95e6f53d/attachment-0001.html>


More information about the Rpm-maint mailing list