Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The device-mapper init script is written for baselayout-2
Date: Fri, 07 Mar 2008 07:42:58
Message-Id: 200803070937.31124.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] The device-mapper init script is written for baselayout-2 by Daevid Vincent
1 On Friday 07 March 2008, Daevid Vincent wrote:
2 > I've noticed this for quite some time and I'm finally getting around
3 > to "fixing" it, if it even needs to be fixed...
4 >
5 > When I startup my notebook, I see this message:
6 >
7 > * The device-mapper init script is written for baselayout-2
8 > * Please do not use it with baselayout-1
9 >
10 > locutus ~ # eix baselayout
11 > [I] sys-apps/baselayout
12 > Available versions: 1.11.15-r3 1.12.10-r5 ~1.12.11 1.12.11.1
13 > [M]~2.0.0_rc6-r1 {bootstrap build kernel_FreeBSD kernel_linux pam
14 > static unicode}
15 > Installed versions: 1.12.11.1(14:20:50 02/29/08)(-bootstrap
16 > -build -static -unicode)
17 >
18 > Since I'm not real sure what this package does, I am unsure if I
19 > should just unmerge and re-emerge it (perhaps at one time I ran the
20 > ~x86 version and so I have a mixture?)
21 >
22 > Is there a better way to fix this?
23 >
24 > Is it even worth fixing?
25 >
26 > I don't *notice* anything wrong other than the warning there, so
27 > perhaps it's just benign.
28
29 READ THE ERROR MESSAGE PROPERLY.
30
31 It says "The device-mapper init script is written for baselayout-2.
32 Please do not use it with baselayout-1."
33
34 What does that mean? It means that you are not using baselayout-2, you
35 are using baselayout-1, and you are also using the device-mapper init
36 script which doesn't work right with baselayout-1.
37
38 As it turns out, the init-script in this case just exists in this
39 condition, so you could ignore it. To make the message go away, remove
40 device-mapper from your runlevel:
41
42 sudo rc-update del device-mapper default
43
44 --
45 Alan McKinnon
46 alan dot mckinnon at gmail dot com
47
48 --
49 gentoo-user@l.g.o mailing list