Bug 33351 - Ошибки управления samba
Summary: Ошибки управления samba
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: ctdb (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-10 11:16 MSK by Sergey Novikov
Modified: 2017-04-13 13:46 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 Sergey Novikov 2017-04-10 11:16:44 MSK
Для управления службой samba, ctdb ищет не те сервисы:

ctdbd[8035]: Running the "startup" event.
ctdbd[8035]: Starting traverse on DB serverid.tdb (id 817)
ctdbd[8035]: Ending traverse on DB serverid.tdb (id 817), records 0
ctdb-eventd[8037]: 50.samba: service: nmbd: Unrecognized service
ctdb-eventd[8037]: 50.samba: Failed to start nmbd
ctdb-eventd[8037]: startup event failed
ctdbd[8035]: startup event failed

Помогает:
# ln -s /lib/systemd/system/nmb.service /lib/systemd/system/nmbd.service

После этого ошибка:
ctdbd[16821]: Running the "startup" event.
ctdbd[16821]: Starting traverse on DB serverid.tdb (id 488)
ctdbd[16821]: Ending traverse on DB serverid.tdb (id 488), records 1
ctdb-eventd[16823]: 50.samba: service: smbd: Unrecognized service
ctdb-eventd[16823]: 50.samba: Failed to start samba
ctdb-eventd[16823]: startup event failed
ctdbd[16821]: startup event failed

Помогает:
# ln -s /lib/systemd/system/smb.service /lib/systemd/system/smbd.service
Comment 1 Evgeny Sinelnikov 2017-04-13 13:46:11 MSK
Да, файлы сервисов для ctdb не адаптированы.