[PATCH] DON'T PANIC!
David Disseldorp
ddiss at samba.org
Mon Mar 18 17:50:36 UTC 2019
On Mon, 18 Mar 2019 17:12:32 +0100, Ralph Böhme via samba-technical wrote:
> A customer ran into this when the FUSE mount he was sharing with Samba went
> dead.
>
> An abort makes it look like a problem in Samba, so instead of aborting we may
> want to simply exit in this error case (and probably a few others).
I don't think exiting with success (0) is the right thing to do if the
underlying FS is borked. If you really want to avoid panic, would
exit_server() be an option, or are you deliberately trying to avoid the
unclean_shutdown path for a reason?
Cheers, David
More information about the samba-technical
mailing list