Bug 110242
Summary: | busybox-1 doesn't have lsmod support | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Karsten Hopp <karsten> | ||||||
Component: | busybox | Assignee: | Daniel Walsh <dwalsh> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | s390x | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-06-14 09:49:07 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Karsten Hopp
2003-11-17 15:01:20 UTC
The busybox-static binary is able to handle lsmod but busybox built for anaconda isn't. [1 d107 /usr/src/redhat/BUILD/busybox-1.00]% ln busybox-static lsmod [d107 /usr/src/redhat/BUILD/busybox-1.00]% ./lsmod Module Size Used by Not tainted [ ... ] [d107 /usr/src/redhat/BUILD/busybox-1.00]% ln -s busybox lsmod [d107 /usr/src/redhat/BUILD/busybox-1.00]% ./lsmod BusyBox v1.00-pre2 (2003.11.17-16:28+0000) multi-call binary Usage: busybox [function] [arguments]... or: [function] [arguments]... QuickHack(tm) is to add perl -pi -e 's/^# CONFIG_LSMOD.*/CONFIG_LSMOD=y/g;' sysdeps/linux/defconfig above "make DOLFS=y defconfig" in the %%build section of busybox.spec. [@d107 /usr/src/redhat/BUILD/busybox-1.00]% !ln ln busybox lsmod [d107 /usr/src/redhat/BUILD/busybox-1.00]% ./lsmod Module Size Used by Not tainted [ ... ] It looks like the defconfig files are from older busybox versions, many options are missing. Try to copy them to .config in the main directory and run 'make oldconfig' and you'll see. I'll attach an updated -anaconda patch and a new -s390 patch to fix a wrong define. Created attachment 96055 [details]
fix lsmod support, disable colored ls
patch to fix lsmod support and to disable colored ls (better fix would be to
check the terminal capabilities)
Created attachment 96056 [details]
fix wrong define, it has been renamed
Check out busybox-pre8 from rawhide and see if it fixes the problem. current busybox looks ok to me |