Bug 216739

Summary: ypbind startup scripts needs better quoting
Product: [Fedora] Fedora Reporter: Paul Wouters <pwouters>
Component: ypbindAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ypbind-1.19-7.fc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-26 14:59:05 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:

Description Paul Wouters 2006-11-21 19:24:24 UTC
Description of problem:


Version-Release number of selected component (if applicable): 1.19

due to xenguest-install being broken (hangs in installer), I used the
old setup us yum with a base install in /mnt. I know this is not the
"normal" way of installing. One of the artifacts is that /etc/sysconfig/network
did not contain NETWORKING=  this fails in ypbind due to bad quoting:

 /etc/init.d/ypbind: line 28: [: =: unary operator expected


Additional info:

Change:

[ ${NETWORKING} = "no" ] && exit 0

to:

[ "${NETWORKING}" = "no" ] && exit 0

Comment 1 Steve Dickson 2007-07-26 14:59:05 UTC
Fixed in  ypbind-1.19-7.fc