Red Hat Bugzilla – Bug 995396
rpmlint ignors NetworkEnabled option if not verbose
Last modified: 2017-08-01 02:00:05 EDT
Description of problem:
Setting the option NetworkEnabled to False is ignored if -v (verbose) is not also set.
Version-Release number of selected component (if applicable):
rpmlint version 0.94
Steps to Reproduce:
1. service network stop
2. rpmlint -o "NetworkEnabled False" some_package.rpm
Warning about invalid-url even though NetworkEnabled is set to False:
some_package.x86_64: W: invalid-url URL: http://example.com ...
No warning about invalid url.
Think bug is in /usr/share/rpmlint/AbstractCheck.py
The method AbstractCheck.check_url only checks for self.network_enabled if self.verbose is set.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.