Bug 58061 - Static Routes are not created via UCR after update to UCS 5.2
Summary: Static Routes are not created via UCR after update to UCS 5.2
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - Univention Configuration Registry
Version: UCS 5.2
Hardware: Other All
: P5 normal
Target Milestone: UCS 5.2-1-errata
Assignee: Sönke Schwardt-Krummrich
QA Contact: Florian Best
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-11 15:44 CET by Markus Thum
Modified: 2025-03-26 16:47 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.206
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Thum 2025-03-11 15:44:00 CET
Hi,
I'm setting a static route via:
univention-config-registry set interfaces/ens18/route/route1="net 10.128.0.0 netmask 255.255.0.0 gw 10.128.15.193"

After the upgrade from 5.0 to 5.2.1 my static route is not applied. I see the entry in /etc/network/interfaces, but it's not working. I suspect it's because Debian 12 no longer installs the net-install package by default. If I change the command in /etc/network/interfaces from “up route add …” to “up ip route add …”, the static route is created again.

Regards
Markus
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2025-03-25 18:13:56 CET
- The content of the UCR variables reflects the CLI interface of "route" which is 
  incompatible with "ip route". Therefore we had to stick with the old "route" command and
  a dependency to "net-tools" has been added to univention-base-files.
- MR has been merged
- Package has been imported and built.

Package: univention-base-files
Version: 11.0.9-1
Branch: ucs_5.2-0-errata5.2-1
Scope: errata5.2-1

Package: ucs-test
Version: 12.0.249-7
Branch: 5.2-0
Scope: errata5.2-1
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2025-03-26 11:18:54 CET
- MR verified by fbest.
- Jenkins test is green.
→ VERIFIED
Comment 5 Florian Best univentionstaff 2025-03-26 11:22:49 CET
OK: API change for switching route → ip route not possible
OK: new dependency is successfully installed
OK: test case works and is green in Jenkins
OK: advisory description