Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325912 Details for
Bug 437270
sys-kernel/dracut-023: Skipping program $env{DM_SBIN_PATH}/...
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
0002-dracut-functions.sh-find_binary-path-starting-with-v.patch
0002-dracut-functions.sh-find_binary-path-starting-with-v.patch (text/plain), 1.24 KB, created by
Amadeusz Żołnowski (RETIRED)
on 2012-10-07 13:44:01 UTC
(
hide
)
Description:
0002-dracut-functions.sh-find_binary-path-starting-with-v.patch
Filename:
MIME Type:
Creator:
Amadeusz Żołnowski (RETIRED)
Created:
2012-10-07 13:44:01 UTC
Size:
1.24 KB
patch
obsolete
>From c98e87dc9c98638d7717845ab8107a475436dae6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> >Date: Sun, 7 Oct 2012 14:23:29 +0200 >Subject: [PATCH 2/2] dracut-functions.sh: find_binary: path starting with > variable > >Credits go to Alexander Tsoy <bugs+gentoo@puleglot.ru> who provided the >patch with following explanation: > > I get messages "Skipping program $env{DM_SBIN_PATH}/..." when > generating initramfs. This happens because some udev rules contains > variables in path to command: > > $ egrep -r 'IMPORT\{program\}=\"\$' /lib64/udev/rules.d/ > /lib64/udev/rules.d/10-dm.rules:ENV{DM_COOKIE}=="?*", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup udevflags $env{DM_COOKIE}" > > [...] > > $ sudo dracut -f "" 3.5.4-hardened-r1 > I: *** Including module: dm *** > I: Skipping program $env{DM_SBIN_PATH}/dmsetup using in udev rule 10-dm.rules as it cannot be found >--- > dracut-functions.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/dracut-functions.sh b/dracut-functions.sh >index 8f59ff4..58b0b4d 100755 >--- a/dracut-functions.sh >+++ b/dracut-functions.sh >@@ -45,7 +45,7 @@ find_binary() { > fi > fi > >- type -P $1 >+ type -P ${1##*/} > } > > if ! [[ $dracutbasedir ]]; then >-- >1.7.12 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 437270
:
325702
| 325912