From Fedora Project Wiki
Description
Verify tcp_wrappers are not mandatory in the system
Setup
Make sure your favorite software that could be using tcp_wrappers is installed, for example dovecot
or openldap
rpm -q dovecot openldap
How to test
- Check if
tcp_wrappers
is not installed:rpm -q tcp_wrappers
- Check that
tcp_wrappers-devel
can not be installed:dnf install tcp_wrappers-devel
- Query repository for a list of packages, that still link against
tcp_wrappers
:dnf repoquery --whatrequires 'libwrap.so.0()(64bit)'|grep x86_64
Expected Results
- Step #1 should return non-zero exit code and a message
package tcp_wrappers is not installed
(unless you do not have a fresh machine or you installed the package manually before) - Step #2 should fail --
No match for argument: tcp_wrappers-devel
or similar message - Step #3 should not return anything (assuming all the bugs mentioned in the Comment #10 of a bug #1495181 were fixed)
Optional
If you still see some of the packages directly depending on libwrap.so
, first check unresolved dependent bugs before opening a new one. Also check the updates-testing
repository.