My Gentoo Linux Box is separated /usr on lvm. Command fails whenever the system is booted. Is there a problem with the install command of busybox? --- a/tmpfiles.sh 2014-03-04 22:20:31.595512431 +0900 +++ b/tmpfiles.sh 2014-03-04 22:19:56.340211395 +0900 @@ -77,7 +77,7 @@ [ $CREATE -gt 0 ] || return 0 if [ ! -e "$path" ]; then - dryrun_or_real install -m"$mode" -o"$uid" -g"$gid" /dev/null "$path" + dryrun_or_real busybox install -m"$mode" -o"$uid" -g"$gid" /dev/null "$path" [ -z "$arg" ] || _w "$@" fi } @@ -88,7 +88,7 @@ [ $CREATE -gt 0 ] || return 0 - dryrun_or_real install -m"$mode" -o"$uid" -g"$gid" /dev/null "$path" + dryrun_or_real busybox install -m"$mode" -o"$uid" -g"$gid" /dev/null "$path" [ -z "$arg" ] || _w "$@" } @@ -99,7 +99,7 @@ [ $CREATE -gt 0 ] || return 0 if [ ! -d "$path" ]; then - dryrun_or_real install -d -m"$mode" -o"$uid" -g"$gid" "$path" + dryrun_or_real busybox install -d -m"$mode" -o"$uid" -g"$gid" "$path" fi } @@ -112,7 +112,7 @@ fi if [ $CREATE -gt 0 ]; then - dryrun_or_real install -d -m"$mode" -o"$uid" -g"$gid" "$path" + dryrun_or_real busybox install -d -m"$mode" -o"$uid" -g"$gid" "$path" fi } Reproducible: Always Steps to Reproduce: 1. system boot, or reboot 2. Error message is always displayed.
I can't accept this patch, because it forces OpenRc to have a hard dependency on busybox, which is not a good idea. The only way to get around this would be to not use the install command at all, and I'm not sure whether that is a good idea either. Does anyone else have any thoughts?
At first, Sorry my bad English. My patch is not a good idea to have a strong dependency on Busybox. It came up with a way to replace cp, chmod, chown command to the Install command, but I have not tried it yet... This is also not a good idea?
If I do anything, I will move away from the install command, I was just wondering what others thought about going that route.
A fix for this is in commit 647e08e and will be included in OpenRC-0.13.