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