[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#900629: debian-edu-install: breaks installation of samba



On Sat, Jun 02, 2018 at 07:31:14PM +0000, Mike Gabriel wrote:
> On  Sa 02 Jun 2018 11:33:36 CEST, Holger Levsen wrote:
> 
> > https://jenkins.debian.net/job/chroot-installation_sid_install_education-workstation/1236//console
> > breaks as follows:
> > 
> > first:
> > 
> > Setting up debian-edu-install (2.10.9) ...
> > error: /var/lib/dpkg/info/debian-edu-install.postinst: Unable to read
> > from /etc/debian-edu/config.
> > info: Loading defaults from /usr/lib/debian-edu-install/defaults.common
> > info: Got profile ''
> > update-rc.d: warning: start and stop actions are no longer supported;
> > falling back to defaults
> 
> Not sure about the first one (above). Seems to be some inter-package (d-e-c
> and d-e-i) dependency issue. Where does the /etc/debian-edu/config file get
> created?

This first issue is like expected: As no profile is set (like done 
otherwise at installation time during profile choice), it can't be read. 
But this doesn't break things. See e.g. the successful src:debian-edu 
autopkgtest (search 'got profile'):
https://ci.debian.net/data/autopkgtest/unstable/amd64/d/debian-edu/237298/log.gz

Similar for previous successfull jenkins runs like this one:
https://jenkins.debian.net/job/chroot-installation_sid_install_education-workstation/1234//consoleFull

So the first one is a non-issue.

> > and then, second:
> > 
> > Setting up samba-common-bin (2:4.8.2+dfsg-1) ...
> > Checking smb.conf
> > WARNING: The "syslog" option is deprecated
> > netbios name PROFITBRICKS-BUILD10-AMD64 is not a valid netbios name
> > ERROR: Invalid smb.conf
> > dpkg: error processing package samba-common-bin (--configure):
> >  installed samba-common-bin package post-installation script subprocess
> >  returned error exit status 255
> 
> This one is easy:  Note that the maximum length for a NetBIOS name is 15
> charactars. (from man 5 smb.conf, see "netbios name" option).

This is due to a changed behaviour of samba-common-bin, now parsing 
smb.conf to check for consistency. This is a kown issue with a proposed 
patch for debci, fixed in git; see: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898875

IMO, for Jenkins a similar hostname setting, maybe j-$EPOCH, would solve 
the problem.

So the second one is a non Debian Edu issue.

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: