From Fedora Project Wiki
m (avoid formatting) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Verify tcp_wrappers are not mandatory in the system | |description=Verify tcp_wrappers are not mandatory in the system | ||
|setup=Make sure your favorite software that could be using tcp_wrappers is installed | |setup=Make sure your favorite software that could be using tcp_wrappers is installed, for example <code>dovecot</code> or <code>openldap</code> | ||
<code>rpm -q | <code>rpm -q dovecot openldap</code> | ||
|actions= | |actions= | ||
# 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> | ||
Line 9: | Line 9: | ||
# 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> | # 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> (unless you do not have a fresh machine or you installed the package manually before) | ||
# Step #2 should fail -- <code>No match for argument: tcp_wrappers-devel</code> or similar message | # Step #2 should fail -- <code>No match for argument: tcp_wrappers-devel</code> or similar message | ||
# Step #3 should not return anything (assuming all the bugs mentioned in the [https://bugzilla.redhat.com/show_bug.cgi?id=1495181#c10 Comment #10 of a bug #1495181] were fixed) | # Step #3 should not return anything (assuming all the bugs mentioned in the [https://bugzilla.redhat.com/show_bug.cgi?id=1495181#c10 Comment #10 of a bug #1495181] were fixed) | ||
|optional=If you still see some of the packages directly depending on <code>libwrap.so</code>, first check unresolved dependent bugs before opening a new one. Also check the <code>updates-testing</code> repository. | |optional=If you still see some of the packages directly depending on <code>libwrap.so</code>, first check unresolved dependent bugs before opening a new one. Also check the <code>updates-testing</code> repository. | ||
}} | }} |
Latest revision as of 18:45, 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, 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.