[Pkg-samba-maint] Bug#973957: samba_dnsupdate gives depreacation warnings

Elimar Riesebieter riesebie at lxtec.de
Sun Nov 8 11:03:09 GMT 2020


Package: samba
Version: 2:4.12.5+dfsg-3
Severity: important
Tags: patch

Dear maintainer,

samba dumps lot of errors to syslog every 5 minutes:
Nov  8 11:36:59 toy samba[2200]: [2020/11/08 11:36:59.605649,  0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)     
Nov  8 11:36:59 toy samba[2200]:   /usr/sbin/samba_dnsupdate: /usr/sbin/samba_dnsupdate:274: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead
Nov  8 11:36:59 toy samba[2200]: [2020/11/08 11:36:59.605743,  0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
Nov  8 11:36:59 toy samba[2200]:   /usr/sbin/samba_dnsupdate:   return resolver.query(name, name_type)

This bug is handled from upstream:
https://bugzilla.samba.org/show_bug.cgi?id=14553

I've testet the patch from above bugzilla against 2:4.12.5+dfsg-3. It should
fix this issue.

So please attach proposed patch or either update to 4.13.2 which should include
the fix.

-- 
Thanks in advance
Elimar


-- Package-specific info:
* /etc/samba/smb.conf present, but not attached
* /var/lib/samba/dhcp.conf present, but not attached

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.74-toy-lxtec-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages samba depends on:
ii  adduser              3.118
ii  dpkg                 1.20.5
ii  init-system-helpers  1.58
ii  libbsd0              0.10.0-1
ii  libc6                2.31-4
ii  libglib2.0-0         2.66.2-1
ii  libgnutls30          3.6.15-4
ii  libldb2              2:2.1.4-2
ii  libpam-modules       1.3.1-5
ii  libpam-runtime       1.3.1-5
ii  libpopt0             1.18-2
ii  libpython3.8         3.8.6-1
ii  libtalloc2           2.3.1-1
ii  libtasn1-6           4.16.0-2
ii  libtdb1              1.4.3-1
ii  libtevent0           0.10.2-1
ii  libwbclient0         2:4.12.5+dfsg-3.1
ii  lsb-base             11.1.0
ii  procps               2:3.3.16-5
ii  python3              3.8.6-1
ii  python3-dnspython    2.0.0-1
ii  python3-samba        2:4.12.5+dfsg-3.1
ii  samba-common         2:4.12.5+dfsg-3.1
ii  samba-common-bin     2:4.12.5+dfsg-3.1
ii  samba-libs           2:4.12.5+dfsg-3.1
ii  tdb-tools            1.4.3-1

Versions of packages samba recommends:
ii  attr                1:2.4.48-5
ii  logrotate           3.17.0-1
pn  python3-markdown    <none>
ii  samba-dsdb-modules  2:4.12.5+dfsg-3.1
ii  samba-vfs-modules   2:4.12.5+dfsg-3.1

Versions of packages samba suggests:
ii  bind9                     1:9.16.6-3
ii  bind9-utils [bind9utils]  1:9.16.6-3
ii  bind9utils                1:9.16.6-3
pn  ctdb                      <none>
ii  ldb-tools                 2:2.1.4-2
ii  ntp                       1:4.2.8p15+dfsg-1
ii  smbldap-tools             0.9.11-1
pn  ufw                       <none>
ii  winbind                   2:4.12.5+dfsg-3.1

-- no debconf information



More information about the Pkg-samba-maint mailing list