Bug 1026784

Summary: typos in the init scripts; /etc/init.d/ebtables: line 19: [: =: unary operator expected
Product: Red Hat Enterprise Linux 7 Reporter: Petr Sklenar <psklenar>
Component: ebtablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Sklenar <psklenar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: svenkatr, twoerner
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1026791 (view as bug list) Environment:
Last Closed: 2014-06-13 09:20:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Sklenar 2013-11-05 12:39:48 UTC
Description of problem:
there is issue with starting/stopping ebtables

Version-Release number of selected component (if applicable):
ebtables-2.0.10-8.el7.x86_64

How reproducible:
deterministic

Steps to Reproduce:
1. service ebtables status|start|stop

Actual results:
service ebtables status
/etc/init.d/ebtables: line 19: [: =: unary operator expected
# Generated by ebtables-save v1.0 on Tue Nov  5 07:37:27 EST 2013


Expected results:
init script works

Additional info:
there is just typo in the /etc/rc.d/init.d/ebtables,
this fixes the issue:

19c19
< [ ${NETWORKING} = "no" ] && exit 0
---
> [ "${NETWORKING}" = "no" ] && exit 0

Comment 6 Ludek Smid 2014-06-13 09:20:38 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.