[Pkg-samba-maint] Bug#1010835: samba: testparm fails, lock directory /run/samba does not exist
    Arnaud Rebillout 
    arnaudr at kali.org
       
    Wed May 11 07:29:26 BST 2022
    
    
  
Source: samba
Version: 2:4.16.1+dfsg-3
Severity: normal
User: devel at kali.org
Usertags: origin-kali
Dear Maintainer,
with latest Samba in Debian sid, testparm fails if /run/samba does not
exist:
  $ testparm /etc/samba/smb.conf --suppress-prompt
  Load smb config files from /etc/samba/smb.conf
  Loaded services file OK.
  Weak crypto is allowed by gnutls library
  ERROR: lock directory /run/samba does not exist
  WARNING: pid directory /run/samba does not exist
  [...]
  $ echo $?
  1
I have submitted a merge request with a tentative fix (not tested yet,
but seems straightforward):
https://salsa.debian.org/samba-team/samba/-/merge_requests/57
Best,
  Arnaud
    
    
More information about the Pkg-samba-maint
mailing list