Bug 687849 - noisy output if no iscsid check during shutdown or reboot
Summary: noisy output if no iscsid check during shutdown or reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts
Version: 5.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 690407 694402 713162 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 15:21 UTC by Martin Poole
Modified: 2018-11-26 18:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, when no Internet Small Computer System Interface (iSCSI) check was done during shutdown or reboot, the following redundant error message was given: find: /sys/class/iscsi_session/: No such file or directory With this update, the /etc/rc.d/init.d/network script has been fixed and the error message is no longer displayed.
Clone Of:
Environment:
Last Closed: 2011-07-21 08:36:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1081 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2011-07-21 08:33:52 UTC

Description Martin Poole 2011-03-15 15:21:41 UTC
+++ This bug was initially created as a clone of Bug #583218 +++


--- Additional comment on 2010-11-26 17:52:29 EST ---

To avoid this:

....
Shutting down system logger:
find: /sys/class/iscsi_session/: No such file or directory
Shutting down interface eth0:
...

You could replace

if [ `find /sys/class/iscsi_session/ -mindepth 1 -maxdepth 1 -type d | wc -l`
-ge 1 ]; then

with:

if [ $(ls -d /sys/class/iscsi_session/*/. 2>/dev/null | wc -l) -ge 1 ]; then

Comment 1 RHEL Program Management 2011-03-15 16:50:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Bill Nottingham 2011-03-24 15:19:58 UTC
*** Bug 690407 has been marked as a duplicate of this bug. ***

Comment 4 Bill Nottingham 2011-04-07 15:33:12 UTC
*** Bug 694402 has been marked as a duplicate of this bug. ***

Comment 6 Bill Nottingham 2011-06-14 18:11:18 UTC
*** Bug 713162 has been marked as a duplicate of this bug. ***

Comment 8 Tomas Capek 2011-07-13 12:26:49 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, when no Internet Small Computer System Interface (iSCSI) check was done during shutdown or reboot, the following redundant error message was given:

find: /sys/class/iscsi_session/: No such file or directory

With this update, the /etc/rc.d/init.d/network script has been fixed and the error message is no longer displayed.

Comment 9 Charlie Brady 2011-07-14 20:55:08 UTC
In which package is this fixed? Thanks.

Comment 10 errata-xmlrpc 2011-07-21 08:36:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1081.html

Comment 11 errata-xmlrpc 2011-07-21 12:40:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1081.html


Note You need to log in before you can comment on or make changes to this bug.