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>
Fri, 18 Apr 2025 10:02:55 +0000 (13:02 +0300)
commit1776fd43d63314fb754f0345ab47a324cfc786c1
tree259e37a192ddea446038ee336972cf9302c11647
parentcb7cefc350bb54e351b6a02f7fd118550a3fe26d
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