Back to bug 1300338

Who When What Removed Added
David Sommerseth 2016-01-20 15:06:07 UTC Status NEW ASSIGNED
David Sommerseth 2016-01-20 15:22:58 UTC Status ASSIGNED MODIFIED
errata-xmlrpc 2016-01-20 15:58:24 UTC Status MODIFIED ON_QA
David Sommerseth 2016-01-20 16:04:42 UTC Doc Text Cause: Running rescan-scsi-bus.sh with the --update option removes /dev/null during execution. This happened due to wrong syntax in redirecting output to /dev/null when executing /bin/rm. The redirection did not happen but /dev/null was instead interpreted as a file to be removed.

Consequence: /dev/null is an important system device file which should never be removed on any system.

Fix: This update improves the rescan-scsi-bus.sh to use proper redirection to /dev/null.

Result: Any redirected output is properly redirected and /dev/null is no longer removed by rescan-scsi-bus.sh.
Lenka Špačková 2016-01-26 16:24:10 UTC Doc Text Cause: Running rescan-scsi-bus.sh with the --update option removes /dev/null during execution. This happened due to wrong syntax in redirecting output to /dev/null when executing /bin/rm. The redirection did not happen but /dev/null was instead interpreted as a file to be removed.

Consequence: /dev/null is an important system device file which should never be removed on any system.

Fix: This update improves the rescan-scsi-bus.sh to use proper redirection to /dev/null.

Result: Any redirected output is properly redirected and /dev/null is no longer removed by rescan-scsi-bus.sh.
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.
Jan Kepler 2016-01-29 12:17:47 UTC Status ON_QA VERIFIED
CC jkejda
QA Contact qe-baseos-apps jkejda
errata-xmlrpc 2016-02-09 00:26:24 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2016-02-09 09:05:52 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2016-02-09 04:05:52 UTC
John Skeoch 2016-05-22 23:35:36 UTC CC ovasik

Back to bug 1300338