Summary: | sys-cluster/drbd-8.0.11 status returns zero if module is loaded | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Barker <alex> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | b4b1, luckyluke |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Barker
2008-04-25 16:42:55 UTC
this version of DRBD is no longer in portage, and the current stable one is of a different branch (8.3.x). Maybe this BR does no longer apply? I hope I'minthe right place for the following. I prefer to do not open a new bug since it's really related to this one. If the kernel have support of drbd shipped in but not as a module then init.d/stop warn about: # /etc/init.d/drbd stop * Stopping all DRBD resources ... grep: /proc/modules: No such file or directory So the check should work on /proc/drbd that tell if drbd support exists or not. In add, if there is a mismatch between version of kernel and userland drbd support, you could have warning and drbd kernel version in /proc/drbd too. InCVS. |