Bug 337451 - rpcbind init script has wrong logic in start function
Summary: rpcbind init script has wrong logic in start function
Keywords:
Status: CLOSED DUPLICATE of bug 335141
Alias: None
Product: Fedora
Classification: Fedora
Component: rpcbind
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-18 09:12 UTC by Joe Wrigley
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-23 13:30:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Wrigley 2007-10-18 09:12:56 UTC
Description of problem:
Starting (or restarting of rpcbind) fails. As far as I can see, it is due to the
logic being applied by this line:

        # Check that networking is up.
        [ "$NETWORKING" = "no" ] || exit 6

This looks like the inverse of what the comment says it is doing and replacing
"no" with "yes" fixes the problem. (Setting NETWORKING=no in
/etc/sysconfig/network has the same effect, but then nfs does not start as you
would expect)


Version-Release number of selected component (if applicable):
rpcbind-0.1.4-9.fc8

How reproducible:
Reproducible

Steps to Reproduce:
1. Set NETWORKING=yes in /etc/sysconfig/network
2. Issue service rpcbind start or restart
3. See it fail

Comment 1 Terje Røsten 2007-10-19 20:22:11 UTC
>         # Check that networking is up.
>         [ "$NETWORKING" = "no" ] || exit 6
> 
> This looks like the inverse of what the comment says it is doing and replacing
> "no" with "yes" fixes the problem. 

Yes, I fixed ut by changing to 
        
           [ "$NETWORKING" = "no" ] && exit 6

To me the maintainer seems to be in a hurry, it's soon time for RHEL5.1 and F-7
I guess...

BTW: this is dup of #335141 .


Comment 2 Steve Dickson 2007-10-23 13:30:43 UTC
Fixed in rpcbind-0.1.4-10.fc8

*** This bug has been marked as a duplicate of 335141 ***


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