Bug 44113 - DHCP entry zone never registered for networks/network
DHCP entry zone never registered for networks/network
Status: NEW
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-28 14:49 CEST by Philipp Hahn
Modified: 2021-04-27 11:15 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
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 Philipp Hahn univentionstaff 2017-03-28 14:49:30 CEST
In base/univention-system-setup/usr/lib/univention-system-setup/scripts/10_basis/12domainname:362 the dhcpEntryZone in registered in all "networks/network" objects, but as "univention-dhcp" is not yet installed, this never happens:

# udm networks/network list
DN: cn=default,cn=networks,dc=pt42b,dc=intranet
ARG: None
  dnsEntryZoneReverse: zoneName=17.200.10.in-addr.arpa,cn=dns,dc=pt42b,dc=intranet
  netmask: 24
  dhcpEntryZone: None
  name: default
  dnsEntryZoneForward: zoneName=pt42b.intranet,cn=dns,dc=pt42b,dc=intranet
  nextIp: 10.200.17.1
  network: 10.200.17.0

# grep DHCP /var/log/univention/setup.log
25univention-dhcp.inst: Number of existing DHCP (Shared) Sub-Networks: 0
25univention-dhcp.inst: Referencing DHCP policy boot
25univention-dhcp.inst: Referencing DHCP policy dns
25univention-dhcp.inst: Referencing DHCP policy routing
Object created: cn=DHCP,cn=services,cn=univention,dc=pt42,dc=intranet

The code should probably be moved from univention-system-setup to univention-dhcp.
Comment 1 Philipp Hahn univentionstaff 2021-04-27 11:15:55 CEST
Still valid with UCS 5.0-0 as DNS is always installed, but DHCP only optionally now that USS no longer asks for components to install.