[Samba] 4.10.16 - winbindd failing to start - Failed to create directory /var/run for pid files - File exists
paulg at eecs.yorku.ca
Thu Jun 18 17:06:29 UTC 2020
I am in the process of updating to Samba 4.10.16 from source.
Compiling on CentOS 7.8.2003, systemd with /var/run symlinked to /run.
Winbind is failing to start with the following error.
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
geteuid() = 0
write(5, " Failed to create directory /var/run for pid files - File
exists\n", 66) = 66
sendto(10, "<27>Jun 18 12:36:41 winbindd: Failed to create
directory /var/run for pid files - File exists\n", 101, MSG_NOSIGNAL,
NULL, 0) = 101
close(3) = 0
exit_group(1) = ?
+++ exited with 1 +++
This seems to be similar to bug id number 13890, nmbd fails to start
with "Failed to create directory for pid files, check 'pid directory'"
Any ideas if this bug will be fixed or should I move along to 4.11.x?
What is the best way forward, recompile with piddir set to /run? What
about the socket directory, should that be /var/run or /run?
More information about the samba