From Fedora Project Wiki
(Initial commit) |
m (avoid formatting) |
||
Line 7: | Line 7: | ||
# Check if <code>tcp_wrappers</code> is not installed: <code>rpm -q tcp_wrappers</code> | # Check if <code>tcp_wrappers</code> is not installed: <code>rpm -q tcp_wrappers</code> | ||
# Check that <code>tcp_wrappers-devel</code> can not be installed: <code>dnf install tcp_wrappers-devel</code> | # Check that <code>tcp_wrappers-devel</code> can not be installed: <code>dnf install tcp_wrappers-devel</code> | ||
# Query repository for a list of packages, that still link against <code>tcp_wrappers</code>: <code>dnf repoquery --whatrequires 'libwrap.so.0()(64bit)'|grep x86_64</code> | # Query repository for a list of packages, that still link against <code>tcp_wrappers</code>: <code><nowiki>dnf repoquery --whatrequires 'libwrap.so.0()(64bit)'|grep x86_64</nowiki></code> | ||
|results= | |results= | ||
# Step #1 should return non-zero exit code and a message <code>package tcp_wrappers is not installed</code> | # Step #1 should return non-zero exit code and a message <code>package tcp_wrappers is not installed</code> |
Revision as of 18:34, 19 March 2018
Description
Verify tcp_wrappers are not mandatory in the system
Setup
Make sure your favorite software that could be using tcp_wrappers is installed
rpm -q openssh-server openssh-clients
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
- 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.