[Rpm-maint] [rpm-software-management/rpm] Honor alternate root in system user/group provides (PR #4095)

Panu Matilainen notifications at github.com
Thu Jan 22 14:48:52 UTC 2026


@pmatilai commented on this pull request.



> @@ -672,6 +673,8 @@ static int systemProvides(rpmts ts, rpmds dep)
     size_t nlen = strlen(n);
     char *dval = NULL;
 
+    rpmChrootSet(rpmtsRootDir(ts));

Yeah, rpmChrootSet() does have some consequences because it (tries to) open the current directory, and that could fail in some funny situations that it hasn't been exposed so far. I guess we'll find out :sweat_smile: 

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

Message ID: <rpm-software-management/rpm/pull/4095/review/3692853705 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260122/13c684d3/attachment.htm>


More information about the Rpm-maint mailing list