[Rpm-maint] [rpm-software-management/rpm] Only switch to userns-root if we actually need it for chroot() (#704)

Panu Matilainen notifications at github.com
Mon May 13 07:17:38 UTC 2019


Since we don't have proper user/group info inside userns-root, avoid
going there unless we have to. Fixes a regression introduced in
commit b4c832caed0da0c4b0710cfe2510203a3940c2db where non-root,
non-chroot verification shows user and group differing on all files.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/704

-- Commit Summary --

  * Only switch to userns-root if we actually need it for chroot()

-- File Changes --

    M lib/rpmchroot.c (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/704.patch
https://github.com/rpm-software-management/rpm/pull/704.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/704
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190513/3c315b07/attachment.html>


More information about the Rpm-maint mailing list