Bug 38675 - dhcp server fails send host lease
dhcp server fails send host lease
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Philipp Hahn
Janek Walkenhorst
Depends on:
  Show dependency treegraph
Reported: 2015-06-09 15:17 CEST by Philipp Hahn
Modified: 2015-06-30 16:14 CEST (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:

Remove additional { (947 bytes, text/plain)
2015-06-09 15:17 CEST, Philipp Hahn

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-06-09 15:17:52 CEST
Created attachment 6952 [details]
Remove additional {

isc-dhcp creates an invalid host entry:

host einssechssechs {
hardware ethernet 00:01:2c:00:00:01;
ddns-hostname einssechssechs;
option routers;
option domain-name "vpntesting.intranet";
option domain-name-servers;

Broken since r13682 (Bug #33836)

Comment 1 Philipp Hahn univentionstaff 2015-06-09 15:52:58 CEST
The problem is most probably related to setting the 

repo_admin.py --cherrypick -r 4.0 --dest errata4.0-2 --releasedest 4.0 -p isc-dhcp

r14816 | Bug #38675 DHCP: Fix host entry generation

Package: isc-dhcp
Version: 4.2.2.dfsg.1-5+deb70u6.29.201506091524
Branch: ucs_4.0-0
Scope: errata4.0-2

r61144 | Bug #38675 DHCP: YAML

univention-install univention-dhcp
udm dhcp/host create \
 --superordinate "$(udm dhcp/service list|sed -ne 's/^DN: //p;T;q')" \
 --set host='einssechssechs' \
 --set hwaddress='ethernet 00:01:2c:00:00:01' \
 --set fixedaddress=''
sed -i -e 's/^#\? *ldap-method .*/ldap-method static;/' /etc/dhcp/dhcpd.conf
/etc/init.d/univention-dhcp restart
tr -dc '{}' < /var/log/dhcp-ldap-startup.log

aptitude install '?source-package(isc-dhcp)~i'
/etc/init.d/univention-dhcp restart
tr -dc '{}' < /var/log/dhcp-ldap-startup.log
Comment 2 Janek Walkenhorst univentionstaff 2015-06-29 16:46:43 CEST
Tests (amd64): OK
Patch review: OK
Advisory: OK
Comment 3 Janek Walkenhorst univentionstaff 2015-06-30 16:14:58 CEST