Red Hat Bugzilla – Bug 337451
rpcbind init script has wrong logic in start function
Last modified: 2007-11-30 17:12:18 EST
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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set NETWORKING=yes in /etc/sysconfig/network
2. Issue service rpcbind start or restart
3. See it fail
> # 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
BTW: this is dup of #335141 .
Fixed in rpcbind-0.1.4-10.fc8
*** This bug has been marked as a duplicate of 335141 ***