Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301331 - sys-fs/lvm2 - lvm2create_initrd calls umount with wrong argument
Summary: sys-fs/lvm2 - lvm2create_initrd calls umount with wrong argument
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 05:26 UTC by Michael Jinks
Modified: 2010-06-07 19:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.