Bug 1026784 - typos in the init scripts; /etc/init.d/ebtables: line 19: [: =: unary operator expected
Summary: typos in the init scripts; /etc/init.d/ebtables: line 19: [: =: unary operato...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ebtables
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 12:39 UTC by Petr Sklenar
Modified: 2022-10-18 07:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1026791 (view as bug list)
Environment:
Last Closed: 2014-06-13 09:20:38 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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