Summary: | sys-apps/openrc compatibility with musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Flogeras <dflogeras2> |
Component: | [OLD] Core system | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, musl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Flogeras
2015-10-05 16:06:41 UTC
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. |