[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 11:33:36AM +0200, Holger Levsen wrote:
> Package: debian-edu-install
> Version: 2.10.9
> Severity: serious
[..] 
> 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

IMO this bug should/could be fixed in jenkins.d.n by setting a valid 
netbios name via $(hostname).

For Debian Edu the netbios name is set to TJENER, but at the moment 
samba-common-bin gets installed, the vanilla smb.conf is tested (plus 
preseeded values w/ netbios name not preseedable), replaced with the 
Debian Edu one later (via Cfengine). So there's nothing Debian Edu can 
do to fix this bug (afaict).

Please check the attached patch.

Wolfgang
From d17fd2986931dc72f65f840aff77ff286506d408 Mon Sep 17 00:00:00 2001
From: Wolfgang Schweer <wschweer@arcor.de>
Date: Tue, 5 Jun 2018 10:51:14 +0200
Subject: [PATCH] Use netbios compliant hostname.

---
 hosts/profitbricks-build10-amd64/etc/hosts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hosts/profitbricks-build10-amd64/etc/hosts b/hosts/profitbricks-build10-amd64/etc/hosts
index b363feea..00c5f6cd 100644
--- a/hosts/profitbricks-build10-amd64/etc/hosts
+++ b/hosts/profitbricks-build10-amd64/etc/hosts
@@ -1,5 +1,5 @@
 127.0.0.1	localhost
-127.0.1.1	profitbricks-build10-amd64
+127.0.1.1	p-build10-amd64
 
 10.2.1.1	local-http-proxy
 
-- 
2.17.1

Attachment: signature.asc
Description: PGP signature


Reply to: