[LTP] [PATCH] binfmt_misc02.sh: Fix interpreter with uutils/coreutils

Cyril Hrubis chrubis@suse.cz
Thu Oct 22 15:57:17 CEST 2026


Hi!
> The test registers the system 'cat' directly as a binfmt_misc
> interpreter and expects executing the data files to echo their content
> back.
> 
> This breaks on distributions shipping the Rust uutils/coreutils
> implementation (e.g. Ubuntu "Resolute"), where 'cat' is a hardlink to a
> single multi-call 'coreutils' binary:
> 
>   $ readlink -f /usr/bin/cat
>   /usr/lib/cargo/bin/coreutils/cat
>   $ cat --version
>   cat (uutils coreutils) 0.8.0

That does sound like a bug in rust coreutils to me.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list