[Rpm-maint] [rpm-software-management/rpm] Make user/group info reliable operation across chroot (PR #2503)
Panu Matilainen
notifications at github.com
Wed May 24 07:33:16 UTC 2023
One possibility is to (perhaps optionally) fall back to NSS if local lookup fails, for the non-chroot case.
That said, I'd rather leave that fallback out initially and only add later if it turns out unavoidable. The thing is, NSS in a chroot is a lost cause because doing the first lookup inside the chroot means the we or the alleged helper would try to dlopen() stuff from the chroot, which could be anything at all, or be entirely missing. So if we accept NSS use for packaged files, we'll accept forever having undefined behavior for verify in chroot, which is basically the case we're trying to solve here.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2503#issuecomment-1560598402
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2503/c1560598402 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230524/baeb9374/attachment.html>
More information about the Rpm-maint
mailing list