Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720334 - sys-cluster/nova nova-compute: unexpected operator
Summary: sys-cluster/nova nova-compute: unexpected operator
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo OpenStack team
Depends on:
Blocks: nonbash
  Show dependency tree
Reported: 2020-05-01 18:31 UTC by Alessandro Barbieri
Modified: 2020-05-02 18:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-05-01 18:31:22 UTC
I have dash symlinked to /bin/sh an when I try to run

rc-service nova-compute start

I have this issue

/lib/rc/sh/ 12: [: nova-compute: unexpected operator

I confirm that ith bash this issue isn't present
Comment 1 into-the-trash-it-goes 2020-05-01 18:37:20 UTC
It's a simple fix. The POSIX [ command accepts = as a string equality operator, not ==.

As an aside, the expansions for the checkpath command should be quoted.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-02 18:38:18 UTC
The bug has been closed via the following commit(s):

commit 72006cc0e7cfcb3fb0d9f0df1e825beb97948b32
Author:     Matthew Thode <>
AuthorDate: 2020-05-02 18:38:03 +0000
Commit:     Matthew Thode <>
CommitDate: 2020-05-02 18:38:13 +0000

    sys-cluster/nova: fix init
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Matthew Thode <>

 sys-cluster/nova/files/nova.initd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)