Bad busybox modinfo output on exactly 3 modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying on Ubuntu 20.04.3 with linux-modules-
for a in $(find /lib/modules/
do
[ $(busybox modinfo -F name $a|wc -w) = 1 ] || echo $a
done
This code should output nothing because every module reports just a name. Instead it outputs exactly three lines:
/lib/
/lib/
/lib/
Let's try them
$ busybox modinfo -F name /lib/modules/
nfsv4
This is correct, I put it just for the reference.
$ busybox modinfo -F name /lib/modules/
%s
libceph
The above incorrectly reports one empty line, one literal %s and the name of the module
$ busybox modinfo -F name /lib/modules/
%02x:
nfs
This reports a strange format and empty line and then nfs
$ busybox modinfo -F name /lib/modules/
%s
%s creation_txg=%llu target_snap=%llu
zfs
Yet another strange format
No other module, except those 3, misbehaved when tried to get a name from busybox modinfo
Just for your information I used the busybox from the package busybox version 1:1.30.1-4ubuntu6.3 amd64 but the very same result was generated by the latest compiled busybox
affects: | ubuntu → busybox (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1948812/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]