Bug 690407
| Summary: | Broken iscsi startscript in RHEL5.6 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | ES-Devel |
| Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> |
| Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.6 | CC: | harald, notting, nphilipp |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-24 15:19:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 687849 *** |
Description of problem: In RHEL5.6 the following code was added to /etc/rc.d/init.d/network if [ `find /sys/class/iscsi_session/ -mindepth 1 -maxdepth 1 -type d | wc -l` -ge 1 ]; then exit 1 In the case where there is no iscsi running, this causes the error message find: /sys/class/iscsi_session/: No such file or directory I guess there should either be a 2>/dev/null, or a test first to see if the directory exists. Version-Release number of selected component (if applicable): initscripts-8.45.33-1