Bug 1298737

Summary: Running 'rescan-scsi-bus -u' deletes /dev/null
Product: Red Hat Enterprise Linux 7 Reporter: David Sommerseth <davids>
Component: sg3_utilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: djez, dkutalek, isenfeld, jkejda, jpittman, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sg3_utils-1.37-7.el7 Doc Type: Bug Fix
Doc Text:
When running the rescan-scsi-bus.sh script, due to incorrect syntax in redirecting output to the /dev/null device file while executing the /bin/rm utility, the redirection did not happen but /dev/null was instead interpreted as a file to be removed. As a consequence, running rescan-scsi-bus.sh with the "--update" option removed /dev/null during execution. This bug has been fixed, and /dev/null is no longer removed by rescan-scsi-bus.sh.
Story Points: ---
Clone Of: 1245302 Environment:
Last Closed: 2016-11-04 02:54:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1245302    
Bug Blocks: 1203710, 1289025, 1295829, 1313485    

Comment 2 David Sommerseth 2016-04-15 22:19:48 UTC
Doc text is taken from bug #1245302 (RHEL6) resolving the same issue.

Comment 10 errata-xmlrpc 2016-11-04 02:54:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2296.html