Bug 39238 - DHCP default routing policy linked to ldap base at rejoin
DHCP default routing policy linked to ldap base at rejoin
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-7-errata
Assigned To: Philipp Hahn
Janek Walkenhorst
:
Depends on: 37614
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-20 11:31 CEST by Stefan Gohmann
Modified: 2015-09-23 13:11 CEST (History)
4 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-08-20 11:31:40 CEST
Please back port the fix to 3.2-7-errata.

+++ This bug was initially created as a clone of Bug #37614 +++

The default dhcp routing policy is linked to the ldap base at rejoin. This is possibly unwished and destroys functionality (for example if using routing policies for subnets and ip-managed clients underneath the service).



-> 25univention-dhcp.inst:
old=$(univention-directory-manager policies/dhcp_routing list "$@" --filter cn=default-settings | sed -ne 's|.*routers: ||p')
if [ -z "$old" -a -n "$gateway" ]; then
    univention-directory-manager policies/dhcp_routing modify "$@" --ignore_exists \
        --dn "cn=default-settings,cn=routing,cn=dhcp,cn=policies,$ldap_base" \
        --set name=default-settings \
        --set routers="$gateway" || die
Comment 1 Philipp Hahn univentionstaff 2015-09-04 08:45:16 CEST
r63452 | Bug #39238: DHCP policies
 Backport r61862
 The default policies are still created and referenced to ${ldap/base} by the univention-ldap/base.ldif, but "the default router" is no longer set if a (shared) subnet already exists; that is done only when the first subnet is created.
r63453 | Bug #39238 DHCP: Copyright 2015

Package: univention-dhcp
Version: 8.0.0-4.523.201509040829
Branch: ucs_3.2-0
Scope: errata3.2-7

r63454 | Bug #39238: DHCP policies YAML
 2015-09-04-univention-dhcp.yaml
Comment 2 Janek Walkenhorst univentionstaff 2015-09-16 19:29:29 CEST
Advisory: OK
Code: OK
Tests: OK
Comment 3 Janek Walkenhorst univentionstaff 2015-09-23 13:11:40 CEST
<http://errata.software-univention.de/ucs/3.2/367.html>