Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301331

Summary: sys-fs/lvm2 - lvm2create_initrd calls umount with wrong argument
Product: Gentoo Linux Reporter: Michael Jinks <mjinks>
Component: [OLD] Core systemAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: agk, cardoe, notordoktor
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Jinks 2010-01-18 05:26:12 UTC
At line 472 of lvm2create_initrd, call to umount references the ramdisk file ($DEVRAM) rather than the mount point ($TMPMNT).  Script errors and dies.

Recommend replacing:

  umount $DEVRAM

...with:

  umount $TMPMNT


Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2010-01-18 20:33:28 UTC
Which package is that from? lvm2 ? genkernel ?
Comment 2 Ravi Pinjala 2010-02-07 03:29:21 UTC
It's from sys-fs/lvm2, I can confirm the same problem.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-22 18:54:57 UTC
ND: You forgot to CC one maintainer again.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-22 20:00:46 UTC
Patch welcome. The script is provided as an optional extra.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-07 19:03:30 UTC
Added to 2.02.67.