Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: aw on November 23, 2016, 11:13:59 AM
-
Hi,
I noticed the util-linux.tcz extension version 2.27 (from 7.x/x86_64) introduces a regression in certain commands.
For example, on 6.x with util-linux 2.25.1:
$ sfdisk -l /dev/nothing
sfdisk: cannot open /dev/nothing for reading: No such file or directory
$ echo $?
1
but on 7.x with util-linux 2.27:
$ sfdisk -l /dev/nothing
$ echo $?
0
We get no output, and it exits cleanly. :'(
I can't confirm if the problem is with that version util-linux itself, or with the way it was compiled.
-
Since it's an upstream command, should be easy to test a couple versions and file a bug?
-
This and other regressions were fixed in 2.27.1 - see ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ChangeLog (http://ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ChangeLog).
Can the maintainer publish a new extension?
(sorry, I just realize this post belongs in TCE Bugs).
-
As there are some util-linux libs in the base tinycore, can we wait until tc-8.x, which is planned to be util-linux-2.28.2?
-
I reported the bug in the official util-linux repo on GitHub, because I get the same error with 2.28.2.
Just for fun, I compiled 2.25.2 using the same compile flags used for 2.27.1 ... and sfdisk works just fine.