Project

General

Profile

Tâche #34013

Scénario #33799: Problème DNS lors de l'instanciation après network_zephir

Dans network-zephir, supprimer /etc/resolv.conf le réécrire avec les infos données par l'utilisateur

Added by Laurent Gourvenec over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/28/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Comme lors de l'instance.

Associated revisions

Revision 812f5c32 (diff)
Added by Laurent Gourvenec over 1 year ago

Network_zephir: suppression de /etc/resolv.conf un serveur DNS est fourni

Gère le cas où /etc/resolv.conf est un symlink vers un fichier géré par
systemd-resolved.

Ref #34013

Revision 83929a17 (diff)
Added by Emmanuel GARETTE over 1 year ago

installer network_zephir (ref #34013)

History

#1 Updated by Laurent Gourvenec over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Laurent Gourvenec over 1 year ago

  • Status changed from En cours to À valider

#3 Updated by Laurent Gourvenec over 1 year ago

  • % Done changed from 0 to 100

#4 Updated by Emmanuel GARETTE over 1 year ago

  • Status changed from À valider to Résolu

OK :

root@eolebase:~# ls -alh /etc/resolv.conf 
-rw-r--r-- 1 root root 22 avril 14 10:25 /etc/resolv.conf
root@eolebase:~# cat /etc/resolv.conf 
nameserver 192.168.0.1root@eolebase:~# 

#5 Updated by Joël Cuissinat over 1 year ago

Le test est un peu bancal car on voudra sans doute appeler network_zephir avec de mettre à jour m'enfin...

  • aca.install-eole-2.8.0-cdrom-amd64
  • installation Eolebase 2.8.0
  • (adresse obtenue du dhcp)
    Maj-Auto -C -S test-eole.ac-dijon.fr
    root@eolebase:~# ls -al /etc/resolv.conf
    lrwxrwxrwx 1 root root 39 avril 14 16:01 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
    root@eolebase:~# network_zephir
    interface connectée sur l'extérieur (ens4 par défaut) :
    adresse_ip ens4 : 192.168.0.24
    masque de réseau pour ens4 : 255.255.255.0
    adresse de la passerelle : 192.168.0.1
    adresse du serveur DNS (ou rien) : 192.168.0.1
    root@eolebase:~# ls -al /etc/resolv.conf
    -rw-r--r-- 1 root root 22 avril 14 21:16 /etc/resolv.conf
    root@eolebase:~# cat /etc/resolv.conf 
    nameserver 192.168.0.1root@eolebase:~#
    

#6 Updated by Joël Cuissinat over 1 year ago

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

Also available in: Atom PDF