Bug 51133 - cannot find device /dev/misc/dlm-control
Summary: cannot find device /dev/misc/dlm-control
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: dlm (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-13 14:53 MSK by Alexander Makeenkov
Modified: 2024-08-15 16:09 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2024-08-13 14:53:28 MSK
Версия пакета: dlm-4.2.0-alt2.x86_64

Сервис не запускается:

systemd[1]: Starting dlm.service - dlm control daemon...
(controld)[17278]: dlm.service: Referenced but unset environment variable evaluates to an empty string: DLM_CONTROLD_OPTS
dlm_controld[17278]: 77791 dlm_controld 4.2.0 started
dlm_controld[17278]: 77801 cannot find device /dev/misc/dlm-control with minor 123
systemd[1]: dlm.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: dlm.service: Failed with result 'exit-code'.
systemd[1]: Failed to start dlm.service - dlm control daemon.

Устройства расположены по другому пути:

# l /dev/dlm*
crw------- 1 root root 10, 121 авг 13 10:14 /dev/dlm_plock
crw------- 1 root root 10, 123 авг 13 10:14 /dev/dlm-control
crw------- 1 root root 10, 122 авг 13 10:14 /dev/dlm-monitor

workaround:

# mkdir /dev/misc
# ln -sv /dev/dlm-control /dev/misc/dlm-control
# ln -sv /dev/dlm-monitor /dev/misc/dlm-monitor
# ln -sv /dev/dlm_plock /dev/misc/dlm_plock
Comment 1 Alexander Makeenkov 2024-08-15 16:09:35 MSK
При повторной настройке не удаётся воспроизвести.
Возможно, были какие-то недочёты в настройке, когда ошибка воспроизвелась.