Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 262449 Details for
Bug 345581
sys-boot/grub: grub-probe fails to detect LVM device
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Gentooized version of the original patch
grub-1.98-lvm_support.patch (text/plain), 620 bytes, created by
Francisco Blas Izquierdo Riera (RETIRED)
on 2011-02-14 10:52:10 UTC
(
hide
)
Description:
Gentooized version of the original patch
Filename:
MIME Type:
Creator:
Francisco Blas Izquierdo Riera (RETIRED)
Created:
2011-02-14 10:52:10 UTC
Size:
620 bytes
patch
obsolete
>2011-02-14 Francisco Blas Izquierdo Riera <franxisco1988+gentoo@gmail.com> > > #345581 > * util/getroot.c: use lstat on mapper to bypass symlinks (original patch by Mikhail Vorozhtsov https://bugs.archlinux.org/task/18734). > >--- grub-1.98/util/getroot.c.orig 2010-03-18 12:57:06.149873751 +0600 >+++ grub-1.98/util/getroot.c 2010-03-18 13:10:33.224228559 +0600 >@@ -218,7 +218,8 @@ > if (ent->d_name[0] == '.') > continue; > >- if (lstat (ent->d_name, &st) < 0) >+ if ((strcmp (dir, "mapper") == 0 >+ ? stat (ent->d_name, &st) : lstat (ent->d_name, &st)) < 0) > /* Ignore any error. */ > continue; >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 345581
: 262449 |
262453