Kurze Frage: ist der Bug 26058 jetzt in der Version 3.0-2 behoben?
Soweit ich sehe ist das Script /etc/univention/templates/files/etc/network/interfaces
in Version 3.0-2 schon entsprechend Bug 26058 geändert, in den ReleaseNotes steht aber nichts davon
und der Versuch ein bonding-device zu erzeugen schlägt fehl:
#ucr set \
interfaces/eth0/type=manual \
interfaces/eth0/start=false \
interfaces/eth1/type=manual \
interfaces/eth1/start=false \
interfaces/bond0/address=158.226.199.87 \
interfaces/bond0/broadcast=158.226.199.255 \
interfaces/bond0/netmask=255.255.254.0 \
interfaces/bond0/network=158.226.198.0 \
interfaces/bond0/options/1="bond-slaves eth0 eth1" \
interfaces/bond0/options/2="bond-mode 0" \
interfaces/bond0/options/3="miimon 100" \
interfaces/bond0/options/4="bond-primary eth0 eth1" \
interfaces/bond0/start=true \
interfaces/primary=bond0
Create interfaces/eth0/type
Create interfaces/eth0/start
Create interfaces/eth1/type
Create interfaces/eth1/start
Create interfaces/bond0/address
Create interfaces/bond0/broadcast
Create interfaces/bond0/netmask
Create interfaces/bond0/network
Create interfaces/bond0/options/1
Create interfaces/bond0/options/2
Create interfaces/bond0/options/3
Create interfaces/bond0/options/4
Create interfaces/bond0/start
Setting interfaces/primary
File: /etc/network/interfaces
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface eth1=eth1.
Ignoring unknown interface eth0=eth0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface eth0=eth0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface bond0=bond0.
Ignoring unknown interface primary=primary.
Ignoring unknown interface eth1=eth1.
Ignoring unknown interface bond0=bond0.
Multifile: /etc/hosts
File: /etc/apache2/mods-available/ssl.conf
File: /etc/default/ifplugd
File: /etc/issue
und /etc/network/interfaces schaut danach wie folgt aus:
# Warning: This file is auto-generated and might be overwritten by
# univention-config-registry.
# Please edit the following file(s) instead:
# Warnung: Diese Datei wurde automatisch generiert und kann durch
# univention-config-registry überschrieben werden.
# Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
#
# /etc/univention/templates/files/etc/network/interfaces
#
auto lo
iface lo inet loopback
und das obwohl die registry scheinbar richtig ist:
~# ucr search --brief '^interfaces/'
interfaces/bond0/address: 158.226.199.87
interfaces/bond0/broadcast: 158.226.199.255
interfaces/bond0/netmask: 255.255.254.0
interfaces/bond0/network: 158.226.198.0
interfaces/bond0/options/1: bond-slaves eth0 eth1
interfaces/bond0/options/2: bond-mode 0
interfaces/bond0/options/3: miimon 100
interfaces/bond0/options/4: bond-primary eth0 eth1
interfaces/bond0/start: true
interfaces/eth0/start: false
interfaces/eth0/type: manual
interfaces/eth1/start: false
interfaces/eth1/type: manual
interfaces/handler: ifplugd
interfaces/primary: bond0
interfaces/restart/auto: <empty>
Bleibt mir jetzt immer noch nur die Möglichkeit bonding manuell zu konfigurieren? Wenn ja, wie verhindere ich,
dass die /etc/network/interfaces überschrieben wird?