1 |
Pacho Ramos wrote: |
2 |
> Looks like cman stabilization (that is needed to stabilize newer lvm2, |
3 |
> that is needed to stabilize newer udev...) is blocked by its init.d |
4 |
> script wanting to load modules even on kernels without modules: |
5 |
> https://bugs.gentoo.org/show_bug.cgi?id=442512#c5 |
6 |
> |
7 |
> Arch team people think that this should be handled before but... how |
8 |
> should it be handled? Do you know about some similar case that I could |
9 |
> look for possible solutions to it? |
10 |
|
11 |
Don't know about similar cases. |
12 |
|
13 |
Anyway, the init script seems to only have one real problem; it tries |
14 |
to unconditionally load "dlm" as a module. |
15 |
|
16 |
If configfs has been compiled-in, no module will be loaded. |
17 |
If configfs has been mounted, the script doesn't try to mount it. |
18 |
|
19 |
I don't know what the dlm module does, but the init script would have |
20 |
to probe for it at runtime and only try to load a module when the |
21 |
module isn't already available. |
22 |
|
23 |
Of course it might be nice to also add some nicer error messages to |
24 |
the init script. And probably there should be some pkg_postinst (or?) |
25 |
einfo about how cman requires certain things enabled in the kernel. |
26 |
|
27 |
There are several of those in the tree to look at for inspiration. |
28 |
|
29 |
|
30 |
//Peter |