[Rpm-maint] [rpm-software-management/rpm] rpm fails to exit chroot on FreeBSD (#1374)

Panu Matilainen notifications at github.com
Mon Sep 28 05:24:19 UTC 2020


What does a "dangling open directory" mean here, precisely? An open directory fd into the chroot or...?

Before we go any further, can you reproduce this with rpm alone, eg `rpm -Uvh --root /compat/linux [...]`?
The only directory rpm opens is "." for returning from the chroot, which cannot be closed for what should be obvious reasons (rpm was designed to go in and out of chroots 20+ years ago, that can't very well be "fixed" at this point). With dnf and libdnf in between there's a mountain of other code executing and doing whatever, if that code opens directories rpm cannot help it.

-- 
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/issues/1374#issuecomment-699777021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200927/04f52f24/attachment.html>


More information about the Rpm-maint mailing list