Univention Bugzilla – Bug 33091
Rewrite des setup-Skripts net/10interfaces
Last modified: 2018-04-14 13:37:12 CEST
+++ This bug was initially created as a clone of Bug #28670 +++ Das Join-Skript net/10interfaces hat mittlerweile weit über 500 Zeilen Bashcode, teilweise ziemlich obskuren (mindestens mir geht es so). Im Rahmen von Bug #26608 hätte der Code für den Fallback der IP-Adressen rausgemusst, aber es ist unklar, wieviel da dran hängt. Also bleibt es halt drin - es macht ja nichts kaputt. Dieses Skript bedarf eines Cleanup, am besten eines Rewrite in Python. Es gibt bereits Skripte, die in Python implementiert sind (z.B. 10role), je mehr, desto besser.
step 1: add ipv6 address, then apply step 2: added ipv6 gateway, then apply got: multiple tracebacks in setup.log INFO:uss.network.phase.RewriteUcr:Updating 'nameserver1'='None' INFO:uss.network.phase.RewriteUcr:Updating 'ucc/pxe/nameserver'='None' INFO:uss.network.phase.RewriteUcr:Updating 'ucc/pxe/nfsroot'='None' ...
Created attachment 5550 [details] profile
Created attachment 5551 [details] setup.log
UCS 3.2 Master
this is not a ipv6-only issue, we have to fix it for 3.2-0 *** This bug has been marked as a duplicate of bug 28670 ***
(In reply to Felix Botner from comment #1) > step 1: > add ipv6 address, then apply > > step 2: > added ipv6 gateway, then apply This is not done by 10network, but by two other scripts 12gateway and 13ipv6gateway. > got: > multiple tracebacks in setup.log > INFO:uss.network.phase.RewriteUcr:Updating 'nameserver1'='None' > INFO:uss.network.phase.RewriteUcr:Updating 'ucc/pxe/nameserver'='None' > INFO:uss.network.phase.RewriteUcr:Updating 'ucc/pxe/nfsroot'='None' > ... This seems to be a bug in 10network: The profile only contains the ipv6-gateway-setting and no interface settings at all. This situation is not detected by the script. Easiest fix: disable any action if no interfaces/ setting is contained.
OK, duplicate
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".