Bug 282301

Summary: s390utils uses /usr/bin/ binaries in initscripts
Product: Red Hat Enterprise Linux 4 Reporter: Bryn M. Reeves <bmr>
Component: s390utilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED ERRATA QA Contact: Alexander Todorov <atodorov>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.5CC: rvokal, tao
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: GSSApproved
Fixed In Version: RHBA-2008-0778 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 20:08:24 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:
Bug Depends On:    
Bug Blocks: 428288, 428289    
Attachments:
Description Flags
patch to use sed instead of tr none

Description Bryn M. Reeves 2007-09-07 13:05:04 UTC
Description of problem:
The zcfcpconf.sh script makes use of the "tr" command which is installed into
/usr/bin. Since this script configures Z-series fiber devices prior to local
file system check & mount this fails on hosts that have /usr configured as a
separate file system.

Version-Release number of selected component (if applicable):
s390utils-1.3.2-2.40.15, also exists in RHEL4.5 package.

How reproducible:
100%

Steps to Reproduce:
1. Configure a system with /usr as a separate file system (maybe on zfcp ;)
2. Boot the system

Or just read the script.

Actual results:
The pipeline in zfcpconf.sh that extracts configuration data from /etc/zfcp.conf
 fails because tr cannot be found. No zfcp devices are configured, possibly
causing the boot process to fail.

Expected results:
Zfcp devices are created as specified in /etc/zfcp.conf

Additional info:
This affects RHEL5 too - will clone.

Comment 2 Bryn M. Reeves 2007-09-08 13:52:00 UTC
Created attachment 190791 [details]
patch to use sed instead of tr

Brad's patch to use sed instead of tr.

Comment 4 RHEL Program Management 2007-11-29 03:58:40 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 10 Phil Knirsch 2008-04-08 13:29:43 UTC
Test packages can be found here:

http://people.redhat.com/pknirsch/downloads/s390utils/s390utils-1.3.2-2.40.16

Read ya, Phil

Comment 15 errata-xmlrpc 2008-07-24 20:08:24 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-2008-0778.html