Control: tag -1 - moreinfo

2018-05-17 18:18 GMT+02:00 Paul Gevers <elb...@debian.org>:
> Control: tags -1 moreinfo
>
> Hi Mathieu,
>
> Thanks for reporting issues you experience.
>
> On 16-05-18 23:50, Mathieu Parent wrote:
>> Since samba 2:4.8.1+dfsg-1, smb.conf is parsed and checked in
>> samba-common-bin.postinst (See #816301 and [1]).
>>
>> This makes samba failing on ci.debian.net with:
>>     Checking smb.conf
>>     WARNING: The "syslog" option is deprecated
>>     netbios name SAMBA-1526494156 is not a valid netbios name
>>     ERROR: Invalid smb.conf
>>     dpkg: error processing package samba-common-bin (--configure):
>>
>> (https://ci.debian.net/data/autopkgtest/unstable/amd64/s/samba/309683/log.gz)
>>
>> NB: A valid NetBIOS name at most 15 chars of alphanum or " !#$%&'()-.@^_{}~".
>
> I don't see debci (or autopkgtest) set any netbios name anywhere (tell
> me where to look if you think it does, I checked for "netbios" and
> "samba" case insensitive).

When "netbios name" is not set in smb.conf, it defaults to the hostname.

> Furthermore, I don't think it is up to debci or autopkgtest to actually
> set this at all, so if you need a (valid) netbios name in your test, you
> should generate one yourself.

Here the installation of the package fails
(samba-common-bin.postinst), well before the test itself.

>
> Or is it a mandatory variable to set for any computer? And where should
> it be set then?

As said above: $(hostname).

As it is uncommon to have servers with hostnames above 15 chars, can't
debci be changed something smaller (currently it is <src-name>-<epoch>
[1])? I've proposed a patch [2].

[1] 
https://salsa.debian.org/ci-team/debci/blob/master/backends/lxc/test-package#L13
[2] https://salsa.debian.org/ci-team/debci/merge_requests/12

Regards
-- 
Mathieu Parent

Reply via email to