If you switch to use a sh compliant shell (like dash) instead of bash, the init script of polipo fail to correctly run with an error `/lib64/rc/sh/openrc-run.sh: 40: /lib64/rc/sh/openrc-run.sh: [[: not found`. It happens because using '[[' or ']]' for test is a bash extension, there should not be any issue to replace it with a single '[' and ']'. Failing currently with 1.1.1 and 1.1.1-r1. Steps * emerge dash eselect-sh * eselect sh set dash * rc-service polipo start
Single brackets are much slower then double ones, since single bracket is an external application call and double one is the bash built-in.
(In reply to Andrew Savchenko from comment #1) > Single brackets are much slower then double ones, since single bracket is an > external application call and double one is the bash built-in. Speed is not really an issue here, is it? Also, on dash, `type [` shows that it is a shell builtin, maybe it is not the case in every POSIX shell.
One day OpenRC should support selectible interpreter, so anyone will be happy.
Oh, forgot to mention that one have to update to polipo-1.1.1-r2 for the fix.