1 |
Edward Middleton posted <4366CA93.3020400@××××××××××××.jp>, excerpted |
2 |
below, on Tue, 01 Nov 2005 10:53:23 +0900: |
3 |
|
4 |
> Going on what you said before the /etc/conf.d/rc variable should be set |
5 |
> to RC_VOLUME_ORDER="lvm" if you are using raidlvm. There is a bug in |
6 |
> the /lib/rcscripts/addons/lvm-stop.sh which assumes that mount returns |
7 |
> the symbolic link /dev/[volume group]/[logical partition] but it |
8 |
> actually returns the actual device /dev/mapper/[volume group]-[logical |
9 |
> partition]. The following path patch fixes this. |
10 |
|
11 |
[patch snipped] |
12 |
|
13 |
Interesting, especially since I have lvm/dm merged in preparation for |
14 |
going RAID later this week. Thanks! |
15 |
|
16 |
You didn't mention what package that belonged to, or what version you have |
17 |
merged. However, I checked here and it looks as the patch says the |
18 |
original does, and here's what I have: |
19 |
|
20 |
$ equery b /lib/rcscripts/addons/lvm-stop.sh |
21 |
[ Searching for file(s) /lib/rcscripts/addons/lvm-stop.sh in *... ] |
22 |
sys-fs/lvm2-2.01.14 (/lib/rcscripts/addons/lvm-stop.sh) |
23 |
|
24 |
So... that script is part of sys-fs/lvm2, version 2.01.14, here. |
25 |
|
26 |
$cat /p/sys-fs/lvm2/lvm2-2.01.14.ebuild|grep amd64 |
27 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
28 |
|
29 |
So... that ebuild is keyworded ~amd64. What version are you running, |
30 |
stable (equery l -p says 2.01.09 is latest stable) or ~? Have you filed a |
31 |
bug on it with your patch included? |
32 |
|
33 |
Investigating a bit more... All versions in the tree install the same |
34 |
scripts, as found in sys-fs/lvm2/files. So, the bug would apply to all |
35 |
versions in the tree. |
36 |
|
37 |
Checking bugzilla... I didn't see anything there that looked like this |
38 |
bug, or filed by you (name or address), altho there were 118 bugs for lvm2 |
39 |
listed. |
40 |
|
41 |
It appears most aren't running into this bug, as the closest bugs I see |
42 |
relate to a missing xargs (xargs in /usr/bin, /usr on an lvm, so once it's |
43 |
unmounted at system shutdown, xargs can't be found, so the command |
44 |
using xargs in the shutdown script failed -- that set of bugs and dups |
45 |
fixed), yet the number of bugs suggests there's a fair number of users. |
46 |
|
47 |
However, this appears to depend on which /dev entry is listed in fstab to |
48 |
be mounted. Perhaps the handbook or some other Gentoo doc says to use the |
49 |
one, so everybody is, and nobody has run into this assumption busting |
50 |
situation yet. |
51 |
|
52 |
Anyway, I'd certainly recommend filing the bug. As for me personally, |
53 |
I'll keep this in mind, since I'll be working with it in the next few |
54 |
days. You may have saved me a quite a bit of going nuts over this, |
55 |
myself! =8^) |
56 |
|
57 |
-- |
58 |
Duncan - List replies preferred. No HTML msgs. |
59 |
"Every nonfree program has a lord, a master -- |
60 |
and if you use the program, he is your master." Richard Stallman in |
61 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
62 |
|
63 |
|
64 |
-- |
65 |
gentoo-amd64@g.o mailing list |