I'm running Fedora 41 after dnf-system-upgrade.[1] As I add and remove programs using dnf, I see a lot of noise from glibc-common.
>>> Running trigger-install scriptlet: glibc-common-0:2.40-3.fc41.x86_64
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprec
I think it is harmless, but it is noisy. It seems to happen during each `dnf install` and `dnf remove`.
This is new behavior for Fedora 41. F40 and earlier did not produce the warning.
-----
Here is a full install using Zile to demonstrate the issue.
$ sudo dnf install zile
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
zile x86_64 2.6.2-6.fc41 fedora 367.1 KiB
Installing dependencies:
libgee x86_64 0.20.6-7.fc41 fedora 936.8 KiB
Transaction Summary:
Installing: 2 packages
Total size of inbound packages is 433 KiB. Need to download 433 KiB.
After this operation, 1 MiB extra will be used (install 1 MiB, remove 0 B).
Is this ok [y/N]: y
[1/2] zile-0:2.6.2-6.fc41.x86_64 100% | 306.3 KiB/s | 158.7 KiB | 00m01s
[2/2] libgee-0:0.20.6-7.fc41.x86_64 100% | 491.1 KiB/s | 274.5 KiB | 00m01s
--------------------------------------------------------------------------------
[2/2] Total 100% | 552.6 KiB/s | 433.2 KiB | 00m01s
Running transaction
[1/4] Verify package files 100% | 400.0 B/s | 2.0 B | 00m00s
[2/4] Prepare transaction 100% | 25.0 B/s | 2.0 B | 00m00s
[3/4] Installing libgee-0:0.20.6-7.fc41 100% | 35.3 MiB/s | 938.9 KiB | 00m00s
[4/4] Installing zile-0:2.6.2-6.fc41.x8 100% | 40.1 MiB/s | 369.3 KiB | -00m00s
>>> Running trigger-install scriptlet: glibc-common-0:2.40-3.fc41.x86_64
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprec
[4/4] Installing zile-0:2.6.2-6.fc41.x8 100% | 3.3 MiB/s | 369.3 KiB | 00m00s
Complete!
[1] https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/
Reproducible: Always
Steps to Reproduce:
Install or remove a program using dnf. For example `dnf install zile`. (Zile has very few dependencies, and it is easy to remove. And removal will trigger the issue, too).
Actual Results:
Noisy install
We have an update in testing which should fix this (for future updates): glibc-2.40-9.fc41
*** This bug has been marked as a duplicate of bug 2291869 ***