1 |
Op donderdag 27-11-2008 om 00:48 uur [tijdzone +0000], schreef Duncan: |
2 |
> Beso <givemesugarr@×××××.com> posted |
3 |
> d257c3560811261434m2c76e1d0id25ac1a6a1f584e0@××××××××××.com, excerpted |
4 |
> below, on Wed, 26 Nov 2008 22:34:25 +0000: |
5 |
> |
6 |
> >> As a result of the switch my lvm2 init script started complaining that |
7 |
> >> it is written for baselayout 2 (which I'm running by the way) and fails |
8 |
> >> to start. |
9 |
> >> I re-emerged lvm2, but that didn't help. |
10 |
> >> |
11 |
> >> So any suggestions? Besides not using lvm2 :P |
12 |
> >> |
13 |
> > well, if you're using lvm2 in init then i really think that you need it. |
14 |
> > i think that there's a problem |
15 |
> > in your lvm config or on openrc. try reemerging openrc and baselayout, |
16 |
> > then do a revdep-rebuild |
17 |
> > and then if the problem persists delete the /etc/lvm/lvm.conf and then |
18 |
> > reemerge lvm2 |
19 |
> |
20 |
> Seconded. |
21 |
> |
22 |
> If that doesn't help, I run lvm2 here (and baselayout-2) without issue, |
23 |
> and am of course on no-multilib, so it's possible. We can try to debug |
24 |
> and solve the issue. Start by posting your versions of lvm2, baselayout |
25 |
> and openrc, and the output of the following equery and ls commands. |
26 |
> Here's my results: |
27 |
> |
28 |
> $ equery f lvm2|grep /lib/ |
29 |
> /lib/rcscripts |
30 |
> /lib/rcscripts/addons |
31 |
> /lib/rcscripts/addons/lvm-start.sh |
32 |
> /lib/rcscripts/addons/lvm-stop.sh |
33 |
> |
34 |
> $ ls -dl /lib /lib64 |
35 |
> lrwxrwxrwx 1 root root 5 2007-09-06 07:09 /lib -> lib64/ |
36 |
> drwxr-xr-x 12 root root 4848 2008-11-24 10:40 /lib64/ |
37 |
> $ emerge -p lvm2 baselayout openrc |
38 |
> |
39 |
> These are the packages that would be merged, in order: |
40 |
> |
41 |
> Calculating dependencies ...... done! |
42 |
> [ebuild R ] sys-fs/lvm2-2.02.42 |
43 |
> [ebuild R ] sys-apps/baselayout-2.0.0 |
44 |
> [ebuild R ] sys-apps/openrc-0.3.0-r1 |
45 |
> $ |
46 |
The difference I see is in the /lib see below. |
47 |
|
48 |
tonko@Gaius ~ $ equery f lvm2|grep /lib/ |
49 |
/lib/rcscripts |
50 |
/lib/rcscripts/addons |
51 |
/lib/rcscripts/addons/lvm-start.sh |
52 |
/lib/rcscripts/addons/lvm-stop.sh |
53 |
tonko@Gaius ~ $ ls -dl /lib /lib64 |
54 |
drwxr-xr-x 4 root root 46 nov 26 21:32 /lib |
55 |
drwxr-xr-x 10 root root 8192 nov 27 06:08 /lib64 |
56 |
tonko@Gaius ~ $ emerge -p lvm2 baselayout openrc |
57 |
|
58 |
These are the packages that would be merged, in order: |
59 |
|
60 |
Calculating dependencies... done! |
61 |
[ebuild R ] sys-fs/lvm2-2.02.42 |
62 |
[ebuild R ] sys-apps/baselayout-2.0.0 |
63 |
[ebuild R ] sys-apps/openrc-0.3.0-r1 |
64 |
|
65 |
I just did an re-emerge for baselayout and openrc and revdep-rebuild |
66 |
afterwards. But that didn't give an result. e.g. all was fine. |
67 |
|
68 |
I just synced my tree and I'm currenctly updating my system. After that |
69 |
I'll reboot and see if there's a difference. |
70 |
> |