., Srikanth N S
2025-Apr-15 12:24 UTC
[Samba] CTDB does not restart samba service on failure
Hi, We have observed that CTDB does not restart Samba service on failure. Could you please let us know if this is an expected behavior? Thanks & Regards, Srikanth NS
Martin Schwenke
2025-Apr-15 19:27 UTC
[Samba] CTDB does not restart samba service on failure
Hi Srikanth,> We have observed that CTDB does not restart Samba service on failure. > Could you please let us know if this is an expected behavior?Yes, this expected behaviour. This decision was made many years ago when it was decided that potentially having smbd flap up and down repeatedly was a bad idea. The discussion centred around SMB being more temperamental than NFS with regard to flapping. The other point is that because smbd is process based, failure of the main smbd process is unlikely compared to, say, a threaded NFS server. It would not be difficult to add automatic restart as an option on failure. We could leave the default to not restart. Are you seeing actual smbd failures? Or is the question theoretical? Thanks... peace & happiness, martin