Bug 1026791

Summary: typos in the init scripts; /etc/init.d/ebtables: line 19: [: =: unary operator expected
Product: [Fedora] Fedora Reporter: Petr Sklenar <psklenar>
Component: ebtablesAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: tcallawa, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1026784 Environment:
Last Closed: 2016-07-19 10:33:43 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:47:23 UTC
Description of problem:
there is issue with starting/stopping ebtables

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

How reproducible:
deterministic

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

Actual results:

[psklenar@masox ~]$ sudo service ebtables status
/etc/init.d/ebtables: line 16: /etc/sysconfig/network: No such file or directory
/etc/init.d/ebtables: line 19: [: =: unary operator expected
# Generated by ebtables-save v1.0 on Tue Nov  5 13:40:36 CET 2013


Expected results:
init script works

Additional info:
line 16: /etc/sysconfig/network : there is not such a file on my fedora

there is just typo in the /etc/rc.d/init.d/ebtables,
this fixes the issue for the line 19

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

Comment 1 Petr Sklenar 2013-11-05 13:04:08 UTC
please ingore failure with /etc/sysconfig/network, it was removed by bad luck.
there is issue only with 'line 19:'

Comment 2 Jaroslav Reznik 2015-03-03 15:11:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora End Of Life 2016-07-19 10:33:43 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.