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/openrc-run.sh: 12: [: nova-compute: unexpected operator I confirm that ith bash this issue isn't present
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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72006cc0e7cfcb3fb0d9f0df1e825beb97948b32 commit 72006cc0e7cfcb3fb0d9f0df1e825beb97948b32 Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-05-02 18:38:03 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-05-02 18:38:13 +0000 sys-cluster/nova: fix init Closes: https://bugs.gentoo.org/720334 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> sys-cluster/nova/files/nova.initd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)