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>
Sun, 12 Jan 2025 20:16:00 +0000 (23:16 +0300)
commit373fc86b08d2b611fe5b92304ed8684311639e47
tree748ec173b89d1a59789a8f3ab9e4b6865cf310c6
parent2d737eb69457e979be575a31538fcbe2f8ad8bba
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