Bug 12304 - ctdb can not restart smbd
ctdb can not restart smbd
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB
x86 Linux
: P5 normal
: ---
Assigned To: Amitay Isaacs
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2016-10-01 01:18 UTC by shootingzq
Modified: 2016-10-10 23:58 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description shootingzq 2016-10-01 01:18:23 UTC
when cluster is running, i input shell kill or stop smbd on one node, have a moment the ctdb display this node unthealy, and make recovery.
so i have a question: why not ctdb try to restart smbd?
Comment 1 itfanr 2016-10-01 01:39:30 UTC
I also wonder about it.
Comment 2 Amitay Isaacs 2016-10-10 23:58:21 UTC
This is by design.  

Samba process should never go away once it's started from CTDB startup event.  If Samba process goes away, then either it has crashed or someone has terminated it.  In both cases, it's important to know what has happened and why.  That's why CTDB will never try to restart Samba processes.