[Samba] samba-tool domain backup offline stalls

James B. Byrne byrnejb at harte-lyne.ca
Wed Jul 22 16:35:21 UTC 2020


FreeBSD-12.1p7 jail running Samba-4.10.15 on ZFS.

When I run 'samba-tool domain backup offline targetdir=/tmp' I see this:

running backup on dirs: /var/db/samba4/private /var/db/samba4 /usr/local/etc
Starting transaction on /var/db/samba4/private/secrets

At which point samba-tool enters a permanent wait state.

86064 root          1  52    0   131M    78M wait     3   0:01   0.00% python3.7

Trace shows this:

. . .
 --- modulename: subprocess, funcname: __enter__
subprocess.py(845):         return self
subprocess.py(340):         try:
subprocess.py(341):             return p.wait(timeout=timeout)
 --- modulename: subprocess, funcname: wait
subprocess.py(1016):         if timeout is not None:
subprocess.py(1018):         try:
subprocess.py(1019):             return self._wait(timeout=timeout)
 --- modulename: subprocess, funcname: _wait
subprocess.py(1623):             if self.returncode is not None:
subprocess.py(1626):             if timeout is not None:
subprocess.py(1649):                 while self.returncode is None:
subprocess.py(1650):                     with self._waitpid_lock:
subprocess.py(1651):                         if self.returncode is not None:
subprocess.py(1653):                         (pid, sts) = self._try_wait(0)
 --- modulename: subprocess, funcname: _try_wait
subprocess.py(1610):             try:
subprocess.py(1611):                 (pid, sts) = os.waitpid(self.pid, wait_flags)

And that is where it stops.  Is this caused by a configuration issue?  Is so
then what?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the samba mailing list