[Rpm-maint] [rpm-software-management/rpm] Add back support for NSS-based user/group resolution (PR #4085)

Panu Matilainen notifications at github.com
Tue Jan 20 11:17:22 UTC 2026


@pmatilai commented on this pull request.



>  	long id;
-	if (lookup_num(pwfile(), thisUname, 0, 2, &id))
-	    return -1;
-	rpmug->unameMap.insert({thisUname, id});
+	if (pwfile() || !rstreq(rpmcliRootDir, "/")) {

Heh, just realized over lunch that the per-root cache flushing requirement was always broken - not something introduced here or the previous incarnation, but always. Which might even explain some related reports we've had over the years.

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

Message ID: <rpm-software-management/rpm/pull/4085/review/3681677022 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260120/2a6fe2da/attachment-0001.htm>


More information about the Rpm-maint mailing list