[Pkg-samba-maint] Bug#1022826: samba-common-bin: testparm fails if given a config file, due to libpopt 1.19+dfsg-1

Arnaud Rebillout arnaudr at kali.org
Wed Oct 26 15:45:45 BST 2022


Package: samba-common-bin
Severity: normal
User: devel at kali.org
Usertags: origin-kali

Dear Maintainer,

This command fails:

  # testparm /etc/samba/smb.conf --suppress-prompt
  Load smb config files from <<garbage-characters-here>>
  Error loading services.

However this command succeeds:

  # testparm --suppress-prompt
  [...]

The second command is identical to the first one, except that we don't
explicitly pass the location of the config file to test. If not
specified, the default config file is /etc/samba/smb.conf.

It seems that the issue is due to the package libpopt0. The command
worked fine with libpopt0 1.18-3, and it crashes with libpopt0
1.19+dfsg-1 that just landed in Debian testing, hence in Kali Linux.

The issue was initially reported in the Kali bug tracker at
https://bugs.kali.org/view.php?id=8024#c17003, and it can be reproduced
in Debian unstable.

Thanks,

Arnaud



More information about the Pkg-samba-maint mailing list