Bug 1367558

Summary: Init script error
Product: [Fedora] Fedora EPEL Reporter: Daniel Wille <dwille>
Component: omniORBAssignee: Sandro Mani <manisandro>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: el6CC: karlthered
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-31 13:51:31 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 Daniel Wille 2016-08-16 18:43:24 UTC
Description of problem:

When starting the omniNames service a spurious error is logged to the console.

Version-Release number of selected component (if applicable):

4.1.6-2

How reproducible:

Always.

Steps to Reproduce:
1. sudo service omniNames start

Actual results:

Starting omniNames: /usr/bin/dirname: extra operand `2>&1'
Try `/usr/bin/dirname --help' for more information.
                                                           [  OK  ]

Expected results:

Starting omniNames:                                                            [  OK  ]

Additional info:

The issue is caused by incorrect quoting on the daemon line of the start function. It's currently:

  daemon --user omniORB "$exec  $options  2>&1 &"

But I think it should be:

  daemon --user omniORB $exec "$options 2>&1 &"

Notice the different in quote placement.

Comment 1 Haïkel Guémar 2019-07-31 13:51:31 UTC
Please reopen the ticket if needed, but I won't be maintaining omniORB in Fedora anymore.