Bug 27198 - Hostroute auf einem virtuellen Interface erzeugt falschen Eintrag
Hostroute auf einem virtuellen Interface erzeugt falschen Eintrag
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Network
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Philipp Hahn
Janek Walkenhorst
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-21 13:03 CEST by Janis Meybohm
Modified: 2012-12-12 21:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Workaround für UCS 2.4 (590 bytes, patch)
2012-05-21 13:03 CEST, Janis Meybohm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2012-05-21 13:03:10 CEST
Created attachment 4379 [details]
Workaround für UCS 2.4

~# ucr set interfaces/eth0_0/route/hostroute="host 184.1.36.12 gw 10.200.6.1"
~# grep "^up route add -host" /etc/network/interfaces
up route add -host 184.1.36.12 gw 10.200.6.1 dev eth0_0

Das tritt auch mit UCS 3.0 noch auf.

Workaround:
Angehängten Patch auf dem betroffenen System einspielen mit:
~# patch -p0 -i /path/to/fix_hostroute.patch
ucr commit /etc/network/interfaces
Comment 1 Stefan Gohmann univentionstaff 2012-07-17 17:09:39 CEST
UCS 3.1 will be the next release.
Comment 2 Philipp Hahn univentionstaff 2012-08-08 14:05:44 CEST
Bug wurde ähnlich wie im Patch korrigiert: Es gibt bereits die Variabel iface, die den Interface-Namen unescaped enthält.

svn34715, univention-base-files_2.0.1-1.90.201208081403

Changelog: svn14249
\item Host routes are now correctly handles for virtual network interfaces (\ucsBug{27198}).
Comment 3 Janek Walkenhorst univentionstaff 2012-09-07 17:31:14 CEST
Funktioniert jetzt sowohl mit "normalen" als auch "virtuellen" Schnittstellen.

Changelog: OK
Comment 4 Stefan Gohmann univentionstaff 2012-12-12 21:08:50 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".