move msg.sock from /var/lib/samba to /run/samba
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 26 Apr 2022 13:11:48 +0000 (16:11 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 21 Aug 2025 17:37:38 +0000 (20:37 +0300)
commit551a1fa3204af6190ebb0dc4a791e5f1b4cc5b69
treed0fb399ffdf581d0e37949dfa9270311de10a516
parentea94c5c93153eb5cc80206629fce8306d9a16d52
move msg.sock from /var/lib/samba to /run/samba

Move socket directory from /var/lib/samba to /run/samba,
exactly like msg.lock.  This directory is only used by various
samba components to communicate with each other (smbcontrol),
there's no place for it in /var/lib.

Also remove msg.sock subdir in various tests.

It'd be nice to also move ntp socket and similar somewhere to
/run/samba too, but this is a bit more difficult since it is
used in other software.

https://lists.samba.org/archive/samba-technical/2022-April/137322.html

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Gbp-Pq: Name move-msg.sock-from-var-lib-samba-to-run-samba.patch
python/samba/tests/blackbox/downgradedatabase.py
python/samba/tests/join.py
python/samba/tests/samdb.py
source3/lib/messages.c
source4/lib/messaging/messaging.c
source4/torture/drs/python/samba_tool_drs.py
source4/torture/drs/python/samba_tool_drs_critical.py
source4/torture/drs/python/samba_tool_drs_no_dns.py