commit 5d55eebda689be8f62bcf75e02d99777b6442b08 Author: Fabio M. Di Nitto Date: Fri Feb 3 15:16:09 2012 +0100 libdlm: fix udev rules to deal with misc contrains new kernels do not allow renaming of certain class of char devices, and that means that new dlm* devices are created in /dev instead of /dev/misc. Change udev rules to create compat SYMLINKS in /dev/misc and maintain the same file modes. Also update to deal with dlm_plock and drop dlm_default that is not referenced neither in kernel or userland. This also fixes a dlm_controld segfaults on closing connections to dlm_plock. Signed-off-by: Fabio M. Di Nitto diff --git a/libdlm/51-dlm.rules b/libdlm/51-dlm.rules index f71e79d..9d21fc0 100644 --- a/libdlm/51-dlm.rules +++ b/libdlm/51-dlm.rules @@ -1,5 +1,4 @@ -KERNEL=="dlm-control", NAME="misc/dlm-control", MODE="0666" -KERNEL=="dlm-monitor", NAME="misc/dlm-monitor", MODE="0666" -KERNEL=="dlm_default", NAME="misc/dlm_default", MODE="0666" -KERNEL=="dlm_*", NAME="misc/%k", MODE="0660" - +KERNEL=="dlm-control", MODE="0666", SYMLINK+="misc/dlm-control" +KERNEL=="dlm-monitor", MODE="0666", SYMLINK+="misc/dlm-monitor" +KERNEL=="dlm_plock", MODE="0666", SYMLINK+="misc/dlm_plock" +KERNEL=="dlm_*", MODE="0660", SYMLINK+="misc/%k"