Genkernel still uses old version of software. I will attach few patches replacing them with updated versions. I will also attach a patch with default busybox configuration file (for busybox-1.18.5) which is in my opinion much better suited to use as a rescue tool (in initramfs). This version could also be used with netboot. Ebuild patches included. Reproducible: Always Steps to Reproduce: Just compare software versions with those in portage... Actual Results: busybox: 1.18.1 -> 1.18.5 device-mapper: 1.02.22 -> 1.02.28 dmraid: 1.0.0.rc14 -> 1.0.0.rc16-3 mdadm: 3.1.4 -> 3.1.5 e2fsprogs: 1.41.14 -> 1.42 fuse: 2.7.4 -> 2.8.6 lvm: 2.02.74 -> 2.02.88 unionfs-fuse: 0.22 -> 0.24 Expected Results: I had issues with those old device-mapper/dmraid and mdadm versions so I am replacing them with newer on all of my machines. Patches applies to 3.4.22.1 and 3.4.22-2-g8a91222
Created attachment 298573 [details, diff] Patch replacing busybox 1.18.1 with 1.18.5. Patch replacing busybox 1.18.1 with 1.18.5. Includes stock genkernel busybox configuration files remade with 1.18.5.
Created attachment 298575 [details, diff] Patch replacing dmraid 1.0.0.rc14 with 1.0.0.rc16-3 Patch replacing dmraid 1.0.0.rc14 with 1.0.0.rc16-3. Includes patch for dmraid to link statically.
Created attachment 298577 [details, diff] Patch replacing lvm 2.02.74 with 2.02.88 Patch replacing lvm 2.02.74 with 2.02.88.
Created attachment 298579 [details, diff] Patch replacing mdadm 3.1.4 with 3.1.5. Patch replacing mdadm 3.1.4 with 3.1.5.
Created attachment 298581 [details, diff] Patch for genkernel 3.4.22.1 ebuild Patch for genkernel 3.4.22.1 ebuild.
Created attachment 298583 [details, diff] Patch for genkernel 3.4.22.1 ebuild. Patch for genkernel 3.4.22.1 ebuild.
Created attachment 298585 [details, diff] Patch for genkernel live ebuild. Patch for genkernel live ebuild.
Created attachment 298587 [details, diff] Different busybox default configuration (patch). Different busybox default configuration. This patch should be applied on top of my busybox-1.18.5 patch.
Comment on attachment 298577 [details, diff] Patch replacing lvm 2.02.74 with 2.02.88 Marking patch genkernel-3.4.22.1-lvm2-2.02.88.patch obsolete as it just removes files that we could keep shipping to serve potential special needs of our users.
Comment on attachment 298579 [details, diff] Patch replacing mdadm 3.1.4 with 3.1.5. Same for genkernel-3.4.22.1-mdadm-3.1.5.patch
Tomasz, could you elaborate on the changes to the busybox config one at a time? We need to understand the reason behind every single switch you made. In interest of both of us maybe you can reduce the number of changes to the busybox config to the essential minimum. Thanks!
Created attachment 298697 [details, diff] Fixed patch replacing busybox 1.18.1 with 1.18.5. Fixed previous version of same patch (mdstart omitted in busy-config).
I will write information about changes in busybox configuration file later...
Created attachment 298699 [details, diff] Fixed different busybox default configuration (patch). Fixed previous version of same patch (mdstart omitted in busy-config).
Patch which replaces busybox 1.18.1 with 1.18.5 does not change genkernel default configuration files. They were just recreated with busybox-1.18.5 same way as genkernel would recreate them (yes '' 2>/dev/null | make oldconfig). In my opinion this should be done so it is easier to understand/tweak busybox binary included in initramfs. Second patch which contains my proposed unified (default and netboot) busybox configuration file contains many changes which in my opinion produces busybox much better suited to use in netboot or rescue (initramfs) environment: 1. Support for verbose usage/help in applets 2. Support for unicode 3. Little bit fancier (fancy prompt, bigger history, ls supports colors and recursion...) 4. Support for all modern compression utilities 5. Support for checksum utilities 6. Support for dos2unix/unix2dos 7. Support for more utilities usually found in any linux distribution (mainly useful for netboot) 8. Support for patch/diff 9. Extended find 10. Removed applets not useful under 2.6/3.x kernels 11. Much more network utilities, removed some which are not useful in netboot nor rescue environment (for example udhcpd, ntpd server, lpd) 12. Support for syslog
Comment on attachment 298583 [details, diff] Patch for genkernel 3.4.22.1 ebuild. +*genkernel-3.4.23 (13 Jan 2012) + + 13 Jan 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.23.ebuild: + Bump to genkernel 3.4.23, busybox 1.19.3, e2fsprogs 1.42, fuse 2.8.6, lvm + 2.02.88, unionfs-fuse 0.24 + Busybox config has not been touched, yet. Also left to do: device-mapper, dmraid, mdadm
31c3c7c Update busybox config using "yes '' | make oldconfig" 5feb521 Busybox config: Enable verbose usage I'm unsure about the other proposals. On the desktop busybox is only operating in the background where many features may be not needed. I am not familar with the netboot fraction of genkernel.
In my opinion all those feature are useless on desktop setup if everything works ok. But they could be very useful when system breaks. Busybox in initramfs could be a tool to solve many system failures if equipped with proper features. BTW. I am not sure if mdstart works properly with busybox 1.19. I had tried once in the past and it failed on one of my systems so used only 1.18.5.
(In reply to comment #18) > BTW. I am not sure if mdstart works properly with busybox 1.19. I had tried > once in the past and it failed on one of my systems so used only 1.18.5. Thanks for mentioning that. Just pushed this: # git log --oneline | head -n 2 | tac 5feb1fe Port mdstart patch to busybox 1.19.3 f84f42b Re-activate mdstart in busybox config
(In reply to comment #16) > Busybox config has not been touched, yet. > Also left to do: device-mapper, dmraid, mdadm mdadm done. +*genkernel-3.4.23.1 (15 Jan 2012) + + 15 Jan 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.23.1.ebuild, + genkernel-9999.ebuild: + Bump to genkernel 3.4.23.1, mdadm 3.1.5 +
Comment on attachment 298575 [details, diff] Patch replacing dmraid 1.0.0.rc14 with 1.0.0.rc16-3 dmraid done. Your device-mapper update is entirely bogus. It was merged to LVM2 by upstream in 2010, I've dropped it entirely and set it so the compile function triggers LVM2 instead.
Done already and no response from user.