With rpm 4.18rc1 we've noticed that dnf seems to hang when installing a package
containing a fifo. The hang is from the new openat() call within fsmOpenat()
which dnf is calling from librpm.
Changing the condition in rpmPackageFilesInstall() from:
if (!rc && fd == -1 && !S_ISLNK(fp->sb.st_mode)) {
to
if (!rc && fd == -1 && !S_ISLNK(fp->sb.st_mode) && !S_ISFIFO(fp->sb.st_mode)) {
seems to avoid it.
In the interests of full disclosure, this was reproduced in Yocto Project and
was within our fakeroot emulation so it is possible there is some kind of bad
interaction happening there. I've not tried to reproduce outside our fakeroot
environment as yet as that isn't easy for us but I'm guessing you can test that
more easily and may want to fix this before 4.18 is released if it is a real
issue.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2195
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint