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>
Wed, 2 Apr 2025 11:34:31 +0000 (14:34 +0300)
commit1244492c448b63def3a25e6a2470e3394283d886
tree4e824863520acbe7073171c2b9314a76c8057c7b
parentb07c3ff4bc271e7351ab038c067b4761f2b07aa5
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