[Pkg-samba-maint] Bug#1073969: Bug#1073969: samba: Referenced but unset environment variable evaluates to an empty string

Michael Tokarev mjt at tls.msk.ru
Thu Jun 20 22:12:10 BST 2024


20.06.2024 21:45, Timo van Roermund wrote:
> Package: samba
> Version: 2:4.20.2+dfsg-2
> Severity: minor
> 
> Dear Maintainer,
> 
> The smbd and nmbd services throw the following warnings when they get started:
> 
> (smbd)[75315]: smbd.service: Referenced but unset environment variable evaluates to an empty string: SMBDOPTIONS
> (nmbd)[75101]: nmbd.service: Referenced but unset environment variable evaluates to an empty string: NMBDOPTIONS

It's interesting I never noticed these warnings, while I (re)started
the services countless number of times.

> This seems to be a known issue; see:
> 
> https://lists.samba.org/archive/samba-technical/2023-December/138624.html
> 
> Would it be possible to silence these warnings using the solution mentioned in the link above?

I think the best approach here is to ship /etc/default/samba file in
debian with empty settings for all these variables.  I'll do it in
the next upload.

Thanks,

/mjt

-- 
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E  9D8B E14E 3F2A 9DD7 9199  28F1 61AD 3D98 ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5  6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt



More information about the Pkg-samba-maint mailing list