Bug 42381 - Determination of policy types is indeterministic
Determination of policy types is indeterministic
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: General
UCC 3.0
Other Linux
: P5 normal
: UCC 3.0-errata
Assigned To: Erik Damrose
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-14 10:59 CEST by Erik Damrose
Modified: 2016-10-17 14:22 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.411
Enterprise Customer affected?: Yes
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 Erik Damrose univentionstaff 2016-09-14 10:59:35 CEST
+++ This bug was initially created as a clone of Bug #42372 +++

Also release fix for UCC 3

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

UCS 4.1-2e204, UCS@School 4.1 r2 v1, UCC 2.1 r2.

There are 2 DHCP routing policies defined after setting up a school-singlemaster + installing UCC:

dn: cn=ucc-dhcp-gateway,cn=routing,cn=dhcp,cn=policies,$ldap_base
objectClass: univentionPolicyDhcpRouting
objectClass: top
objectClass: univentionPolicy
objectClass: univentionObject
univentionObjectType: policies/dhcp_routing
univentionDhcpRouters: 10.200.29.1
cn: ucc-dhcp-gateway

dn: cn=default-settings,cn=routing,cn=dhcp,cn=policies,$ldap_base
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyDhcpRouting
objectClass: univentionObject
univentionObjectType: policies/dhcp_routing
cn: default-settings
univentionDhcpRouters: 10.200.29.1

If the ucc-dhcp-gateway policy is assigned to cn=myschool,cn=dhcp,ou=myschool,$ldap_base, it is not evaluated by dhcpd. If cn=default-settings is assigned, dhcpd will set the option.

======================================================================

This also applies to UCC (since 2.x?)
related Ticket#2016090221000367
Comment 1 Erik Damrose univentionstaff 2016-09-14 12:17:35 CEST
r16739 Backport / cherrypick of Bug #41641
univention-policy 7.0.1-1.137.201609141206 built in ucs_4.1-0-ucc-3.0-errata. Announced to ucc 3 test mirror.
r72565 yaml
Comment 2 Erik Damrose univentionstaff 2016-09-14 12:56:27 CEST
reopen: amd64 build failed
Comment 3 Erik Damrose univentionstaff 2016-09-15 11:48:46 CEST
Fixed amd64 pbuilder tgz, rebuild package.

r72618 yaml
Comment 4 Felix Botner univentionstaff 2016-09-19 11:22:56 CEST
OK - univention-policy
OK - yaml
Comment 5 Janek Walkenhorst univentionstaff 2016-10-17 14:22:50 CEST
<https://errata.software-univention.de/ucc/3.0/3.html>