Tâche #29743
Scénario #29810: Mettre à niveau la configuration bind9 pour Seth 2.8.0
Seth 2.8 : problèmes avec le backend Bind ?
100%
Description
23:02:11 * Mise à jour du backend DNS 23:02:11 Reading domain information 23:02:11 DNS accounts already exist 23:02:11 No zone file /var/lib/samba/bind-dns/dns/DOMSETH.AC-TEST.FR.zone 23:02:11 /usr/sbin/samba_upgradedns:338: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead 23:02:11 logger.warn("DNS records will be automatically created") 23:02:11 DNS records will be automatically created 23:02:11 DNS partitions already exist 23:02:11 Adding dns-dc1 account 23:02:11 BIND version unknown, please modify /var/lib/samba/bind-dns/named.conf manually. 23:02:11 See /var/lib/samba/bind-dns/named.conf for an example configuration include file for BIND 23:02:11 and /var/lib/samba/bind-dns/named.txt for further documentation required for secure DNS updates 23:02:11 Finished upgrading DNS
Le diagnose signale une erreur :
DNS AD : . Enregistrements SRV => Erreur (Vérifier 'Nom DNS du réseau local') . Résolution dc1.domseth.ac-test.fr => Ok
Related issues
Associated revisions
Ajout template 'named.conf.dlz' + dicos
REF #29743
Add samba-dlz template to debsum exceptions.
Ref #29743
History
#1 Updated by Joël Cuissinat over 3 years ago
- Parent task set to #29652
#2 Updated by Joël Cuissinat over 3 years ago
- Description updated (diff)
#3 Updated by Gilles Grandgérard over 3 years ago
dans git samba : samba/python/samba/provision/sambadns.py
elif dns_backend == "BIND9_DLZ":
bind_info = subprocess.Popen(['named -V'], shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
cwd='.').communicate()[0]
bind_info = get_string(bind_info)
bind9_8 = '#'
bind9_9 = '#'
bind9_10 = '#'
bind9_11 = '#'
bind9_12 = '#'
if bind_info.upper().find('BIND 9.8') != -1:
bind9_8 = ''
elif bind_info.upper().find('BIND 9.9') != -1:
bind9_9 = ''
elif bind_info.upper().find('BIND 9.10') != -1:
bind9_10 = ''
elif bind_info.upper().find('BIND 9.11') != -1:
bind9_11 = ''
elif bind_info.upper().find('BIND 9.12') != -1:
bind9_12 = ''
elif bind_info.upper().find('BIND 9.7') != -1:
raise ProvisioningError("DLZ option incompatible with BIND 9.7.")
else:
logger.warning("BIND version unknown, please modify %s manually." % paths.namedconf)
setup_file(setup_path("named.conf.dlz"), paths.namedconf, {
"NAMED_CONF": paths.namedconf,
"MODULESDIR": samba.param.modules_dir(),
"BIND9_8": bind9_8,
"BIND9_9": bind9_9,
"BIND9_10": bind9_10,
"BIND9_11": bind9_11,
"BIND9_12": bind9_12
})
A ce jour : bind 9.16 n'est pas compatible samba 4.11
#4 Updated by Gilles Grandgérard over 3 years ago
test avec un nouveau template 'named.conf.dlz' qui utilise dls 9.12
ok
A faire :
- debsums en erreur !
- mise à jour des dicos zephir
- remonter l'info Samba team + Ubuntu
#5 Updated by Gilles Grandgérard over 3 years ago
- Status changed from Nouveau to Résolu
#6 Updated by Joël Cuissinat over 3 years ago
- Assigned To set to Gilles Grandgérard
#7 Updated by Joël Cuissinat over 3 years ago
- Status changed from Résolu to Nouveau
- Assigned To deleted (
Gilles Grandgérard) - Parent task changed from #29652 to #29810
#8 Updated by Benjamin Bohard about 3 years ago
Le template named.conf.dlz pointant vers la version 9.12 permet bien d’utiliser le serveur named avec samba.
Le dernier signalement en date sur les listes samba date du 10 septembre, en réponse auquel il a bien été confirmé que la version 9.12 fonctionne avec named 9.16. Un bug devait être soumis dans la foulée mais pas de trace retrouvée sur bugzilla.
#9 Updated by Benjamin Bohard about 3 years ago
- Project changed from Distribution EOLE to EOLE AD DC
- Status changed from Nouveau to Résolu
#10 Updated by Joël Cuissinat about 3 years ago
- Assigned To set to Benjamin Bohard
- % Done changed from 0 to 100
#11 Updated by Joël Cuissinat about 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
OK et le test est enfin vert : https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-checkinstance-seth-2.8.0-amd64/ (job n°108).
#12 Updated by Joël Cuissinat almost 2 years ago
- Related to Scénario #33404: Seth/AmonEcole : Corriger le template named.conf.dlz added