On the other hand, there's a small issue that doesn't affect at all the system, its about the boot messages, which looks like this:
The cause that you see this is not really openrc but the lack of plymouth, the problem basically relies in /bin/sh which points to "dash" (in other words, this is a Debian bug)
So why this happens ?
Init scripts, like from /etc/init.d/ , sources /usr/lib/lsb/init-functions, which defines entries like:
# int log_begin_message (char *message)
log_begin_msg () {
log_begin_msg_pre "$@"
if [ -z "${1:-}" ]; then
return 1
fi
echo -n "$@" || true
log_begin_msg_post "$@"
}
As you can see, there's "echo -n" calls (and "echo -e", etc), which are not compatible with dash, so since dash is the shell used by the /etc/init.d/ scripts and try to call "echo -n" and other ones, it just print the bunch of -en messages, looking ugly
Solutions:
switch sh to bash
You can replace the default /bin/sh to point to bash, by running "dpkg-reconfigure dash" (it doesn't seems to work on my side) or with sudo ln -sf /bin/bash /bin/sh, but this is not an ideal idea, dash is used because is much lighter, and we want to keep lightness
use plymouth
By using plymouth you won't see these "broken/ugly" messages, but plymouth is not compatible with non-systemd systems unless you use GitHub - Kangie/plymouth-openrc-plugin: Plymouth plugin for OpenRC, currently maintained here. · GitHub or ced4rtree/plymouth-openrc: Scripts to use Plymouth to boot into a display manager on OpenRC - Codeberg.org (not tried here)
this also replaces the main functions from /usr/lib/lsb/init-functions.d/99-plymouth
fix init-functions
That's the best solution, Elive can provide its own modified version of the init-functions file , where it detects if $SHELL (or similar) is bash or dash and decide which type of echo, printf, or functions to use or even better an overwrriter file in .d dir that will replace the other functions if openrc is installed, something like this (didn't do any tests yet)
Update:
im unable to make this working
looks like something else than /etc/init.d/ is using echo -e commands, i think openrc migrates them to their system
in any case again: this doesn't affect at all your openrc stability and use