Bug 12304 - ctdb can not restart smbd
Summary: ctdb can not restart smbd
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB (show other bugs)
Version: 4.2.0
Hardware: x86 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Amitay Isaacs
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-10-01 01:18 UTC by shootingzq
Modified: 2017-10-26 03:18 UTC (History)
3 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.
Comment 3 Martin Schwenke 2017-10-26 03:18:28 UTC
This was explained a long time ago and there have been no further questions.  Closing with reason "won't fix", since current behaviour is as per design.