The line in /etc/init.d/sysfs echo 1 > /sys/fs/cgroup/openrc/notify_on_release Can will send the bytes "1" and "\n" to the kernel. On musl it seems this is more prone to be broken up into two userspace->kernel calls, and the kernel squawks when receiving the bare newline character. Changing it to "echo -n 1" will suppress this warning. Reproducible: Always
Can you provide some evidence of this (like an strace log)? It sounds a bit weird. > Changing it to "echo -n 1" will suppress this warning. And that will also break it if /bin/sh is dash; echo -n is undefined in POSIX.
I cannot strace it, strace failed to build for my musl system which is another work in progress. Sorry. I asked in #musl on freenode and Rich Felker explained it to me as such. I cannot find a log of that conversation but I did find a very similar thread here where he explains: http://www.openwall.com/lists/musl/2013/05/05/9
Replacing "echo 1" by "printf 1" should work fine for all these cases.
This is fixed in commit 17ef205 and will be part of OpenRC-0.18.