Summary: | sys-kernel/genkernel with >sys-fs/multipath-0.4.8 - genkernel --multipath fails due to missing /sbin/mpath_prio* tools | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | weissgerbers |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexanderyt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info and genkernel.log
fix file copying to work with multipath-tools pre and post 0.49 fix file copying to work with multipath-tools pre and post 0.49 removing the usually-missing files from the cp removing mpath_prio_* and devmap_name from cp command |
Description
weissgerbers
2013-05-06 14:30:19 UTC
The problem is solved with patching /usr/share/genkernel/gen_initramfs.sh: 231c231 < /sbin/{multipath,kpartx,dmsetup} \ --- > /sbin/{multipath,kpartx,mpath_prio_*,devmap_name,dmsetup} \ whereas mpath_prio_* is obsolete since multipath-tools 0.4.9 devmap_name is obsolete since 2005 (s. http://www.redhat.com/archives/dm-devel/2005-March/msg00079.html) ping? sys-kernel/genkernel-3.4.49. Same problem still here. Created attachment 379330 [details, diff]
fix file copying to work with multipath-tools pre and post 0.49
Here's a patch that will fix the issue; just in case anyone is still using 0.48 or earlier with genkernel, those old tools are copied iff they exist, otherwise they are skipped.
Now if only the genkernel ebuilds supported epatch_user ...
Created attachment 379332 [details, diff]
fix file copying to work with multipath-tools pre and post 0.49
updated patch, other one had a typo and didn't apply cleanly.
InCVS. Created attachment 380838 [details, diff]
removing the usually-missing files from the cp
...not quite. I'm not sure how this was missed from the other patch, but, the mpath_prio* stuff that is multipath-tools doesn't provide after 0.49 is still in the cp command and so will still cause the failure.
this patch fixes the cp command.
Created attachment 381846 [details, diff]
removing mpath_prio_* and devmap_name from cp command
I am full of fail on these patches....
Fixed in 3.4.51.1. |