Project

General

Profile

Tâche #32797

Scénario #32765: gen_conteneurs 2.8.1rc2 : gen_conteneur doit fonctionner depuis le CDROM

Les résolutions DNS peuvent bloquer l’installation des conteneurs

Added by Daniel Dehennin almost 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/16/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Avec #32788, l’installation gen_conteneurs fonctionne mais j’ai eu un soucis avec l’installation de krb5-config qui tente de faire des requêtes DNS:

host -t srv _kerberos._tcp.
host -t srv _kerberos._udp.

Il n’y a pas de /etc/resolv.conf dans les conteneurs…

J’ai tué les processus host manuellement et le gen_conteneurs s’est terminé correctement.

Étude

Lors de l’installation, le maître a pour /etc/resolv.conf :

nameserver 127.0.0.53
options edns0 trust-ad
search ac-test.fr

Mais les conteneurs générés non pas de fichiers /etc/resolv.conf.

Les conteneurs disposent en revanche d’un processus systemd-resolved qui écoute sur 127.0.0.53.

Associated revisions

Revision 4a0402a9 (diff)
Added by Daniel Dehennin almost 3 years ago

LXC: “krb5-config” blocks installation because of missing DNS config

The installation of “krb5-config” make some DNS lookup but the EOLE
lxc template removes “/etc/resolv.conf” if it's a symbolic link.

This result in blocking command “host” to resolv the kerberos SRV records.

  • lxc-templates/lxc-eole (configure_eole): copy the minimal
    configuration from the master.

Ref: #32797

History

#1 Updated by Daniel Dehennin almost 3 years ago

  • Description updated (diff)

#2 Updated by Daniel Dehennin almost 3 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Daniel Dehennin almost 3 years ago

  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin almost 3 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#5 Updated by Gilles Grandgérard almost 3 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF