msg.sock: is it really private dir, or a runtime/pid dir?
Michael Tokarev
mjt at tls.msk.ru
Sun Apr 24 20:08:28 UTC 2022
I noticed msg.sock/ subdir is created within samba private directory,
and it contains sockets for various samba processes. This smells like
it should be done in a runtime directory (/run/samba/) instead.
In the code, in source3/lib/messages.c, this is indeed done in private dir:
priv_path = private_path("msg.sock");
I think the sockets should not be in a private state directory to start
with.
Thanks,
/mjt
More information about the samba-technical
mailing list