Bug 216739 - ypbind startup scripts needs better quoting
Summary: ypbind startup scripts needs better quoting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ypbind
Version: 6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-21 19:24 UTC by Paul Wouters
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: ypbind-1.19-7.fc
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-26 14:59:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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