Kea issueshttps://gitlab.isc.org/isc-projects/kea/-/issues2018-11-08T16:09:21Zhttps://gitlab.isc.org/isc-projects/kea/-/issues/261Bump up libraries version numbers for Kea 1.5.0-beta2018-11-08T16:09:21ZMarcin SiodelskiBump up libraries version numbers for Kea 1.5.0-betaThis is a routine kind of work that we always have to do prior to a release. Apart from bumping up version numbers we also have to make sure that header files are installed properly.This is a routine kind of work that we always have to do prior to a release. Apart from bumping up version numbers we also have to make sure that header files are installed properly.Kea1.5-beta1Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/kea/-/issues/259libyang unit test using doc examples is broken by new authoritative flag2018-11-08T11:56:07ZFrancis Dupontlibyang unit test using doc examples is broken by new authoritative flagKea1.5-beta1Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/issues/256kea return error when receive 'get-config' command after being reconfigured w...2018-11-08T03:33:57ZWlodzimierz Wencelkea return error when receive 'get-config' command after being reconfigured with kea-netconfYang configuration:
```
<?xml version="1.0" ?>
<config xmlns="urn:ietf:params:xml:ns:yang:kea-dhcp4-server">
<interfaces-config>
<interfaces>enp0s9</interfaces>
</interfaces-config>
<client-classes...Yang configuration:
```
<?xml version="1.0" ?>
<config xmlns="urn:ietf:params:xml:ns:yang:kea-dhcp4-server">
<interfaces-config>
<interfaces>enp0s9</interfaces>
</interfaces-config>
<client-classes/>
<expired-leases-processing/>
<option-data-list>
<option-data>
<code>2</code>
<space>dhcp4</space>
<data>50</data>
<name>time-offset</name>
</option-data>
</option-data-list>
<control-socket>
<socket-name>/home/wlodek/installed/git/var/kea/control_socket</socket-name>
<socket-type>unix</socket-type>
</control-socket>
<lease-database>
<database-type>memfile</database-type>
<name>/home/wlodek/installed/git/var/kea/kea-leases4.csv</name>
</lease-database>
<subnet4>
<subnet4>
<id>1</id>
<subnet>192.168.51.0/24</subnet>
<valid-lifetime>4000</valid-lifetime>
<renew-timer>1000</renew-timer>
<rebind-timer>2000</rebind-timer>
<interface>enp0s9</interface>
<option-data-list/>
<relay>
<ip-addresses>192.12.11.4</ip-addresses>
</relay>
<pools>
<pool>
<start-address>192.168.51.50</start-address>
<end-address>192.168.51.50</end-address>
<option-data-list/>
</pool>
</pools>
</subnet4>
</subnet4>
</config>
```
Kea uses this configuration and assign address 192.168.51.50, but when I send 'get-config' to kea4 it sends back:
```
{
"result": 1,
"text": "Error during command processing: unknown DB access parameter: max-reconnect-tries=0"
}
```
and logs:
```
2018-11-07 08:02:00.045 INFO [kea-dhcp4.commands/5027] COMMAND_RECEIVED Received command 'config-get'
2018-11-07 08:02:00.045 WARN [kea-dhcp4.commands/5027] COMMAND_PROCESS_ERROR2 Error while processing command: unknown DB access parameter: max-reconnect-tries=0
```
When I checked logs from reconfiguration it looks like not everything went 100% correct:
```
2018-11-07 07:58:21.431 INFO [kea-dhcp4.dhcpsrv/5027] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 192.168.51.0/24 with params: t1=1000, t2=2000, valid-lifetime=4000
2018-11-07 07:58:21.431 INFO [kea-dhcp4.dhcp4/5027] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled
2018-11-07 07:58:21.431 INFO [kea-dhcp4.dhcpsrv/5027] DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=3600 max-reconnect-tries=0 name=/home/wlodek/installed/git/var/kea/kea-leases4.csv persist=true readonly=false reconnect-wait-time=0 tcp-keepalive=0 tcp-nodelay=true type=memfile universe=4
2018-11-07 07:58:21.431 INFO [kea-dhcp4.dhcpsrv/5027] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /home/wlodek/installed/git/var/kea/kea-leases4.csv
```
Why values readonly=false reconnect-wait-time=0 tcp-keepalive=0 tcp-nodelay=true max-reconnect-tries=0 are added to memfile configuration?Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/254empty class data in class-update command causes assert in boost2018-11-08T11:17:14ZMichal Nowikowskiempty class data in class-update command causes assert in boostcommand:
```
{"command": "class-update", "arguments": {"client-classes": [{}]})
```
casuses such assert in boost:
```
kea-dhcp4: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::sh...command:
```
{"command": "class-update", "arguments": {"client-classes": [{}]})
```
casuses such assert in boost:
```
kea-dhcp4: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = const isc::data::Element; typename boost::detail::
sp_member_access<T>::type = const isc::data::Element*]: Assertion `px != 0' failed.
```Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/215Premium hooks compilation failure (forensic-log)2018-11-07T04:18:52ZTomek MrugalskiPremium hooks compilation failure (forensic-log)@wlodek reported a compilation failure on debian9-64-3 (yes, that's the same machine again):
Full log [on jenkins](https://jenkins.isc.org/job/kea-master/82/execution/node/128/log/).
Important part:
```
libtool: link: ccache g++ -Wall ...@wlodek reported a compilation failure on debian9-64-3 (yes, that's the same machine again):
Full log [on jenkins](https://jenkins.isc.org/job/kea-master/82/execution/node/128/log/).
Important part:
```
libtool: link: ccache g++ -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC -g -O2 -o .libs/libdhcp_legal_log_unittests libdhcp_legal_log_unittests-run_unittests.o libdhcp_legal_log_unittests-backend_store_unittests.o libdhcp_legal_log_unittests-command_log_unittests.o libdhcp_legal_log_unittests-legal_log4_unittests.o libdhcp_legal_log_unittests-legal_log6_unittests.o libdhcp_legal_log_unittests-rotating_file_unittests.o ../../../../../../src/lib/dhcpsrv/testutils/.libs/libdhcpsrvtest.a /home/jenkins/workspace/kea-master/src/lib/database/.libs/libkea-database.so -L/opt/log4cplus/lib /home/jenkins/workspace/kea-master/src/lib/cc/.libs/libkea-cc.so /home/jenkins/workspace/kea-master/src/lib/log/.libs/libkea-log.so /home/jenkins/workspace/kea-master/src/lib/util/threads/.libs/libkea-threads.so ../../../../../../premium/src/hooks/dhcp/forensic_log/.libs/liblegl.a ../../../../../../src/lib/dhcpsrv/.libs/libkea-dhcpsrv.so ../../../../../../src/lib/process/.libs/libkea-process.so ../../../../../../src/lib/dhcp/.libs/libkea-dhcp++.so ../../../../../../src/lib/database/testutils/.libs/libdatabasetest.a ../../../../../../src/lib/database/.libs/libkea-database.so ../../../../../../src/lib/asiolink/.libs/libkea-asiolink.so ../../../../../../src/lib/hooks/.libs/libkea-hooks.so ../../../../../../src/lib/testutils/.libs/libkea-testutils.a /home/jenkins/workspace/kea-master/src/lib/asiolink/.libs/libkea-asiolink.so /home/jenkins/workspace/kea-master/src/lib/dns/.libs/libkea-dns++.so /home/jenkins/workspace/kea-master/src/lib/cryptolink/.libs/libkea-cryptolink.so /home/jenkins/workspace/kea-master/src/lib/util/.libs/libkea-util.so /home/jenkins/workspace/kea-master/src/lib/exceptions/.libs/libkea-exceptions.so -lpthread ../../../../../../src/lib/cc/.libs/libkea-cc.so ../../../../../../src/lib/log/.libs/libkea-log.so ../../../../../../src/lib/util/.libs/libkea-util.so ../../../../../../src/lib/exceptions/.libs/libkea-exceptions.so /opt/log4cplus/lib/liblog4cplus.so -lcrypto -lboost_system ../../../../../../ext/gtest/libgtest.a -ldl -pthread -Wl,-rpath -Wl,/home/jenkins/kea_installed/lib -Wl,-rpath -Wl,/opt/log4cplus/lib
../../../../../../src/lib/dhcpsrv/.libs/libkea-dhcpsrv.so: undefined reference to `isc::dhcp::dependOnClass(boost::shared_ptr<std::vector<boost::shared_ptr<isc::dhcp::Token>, std::allocator<boost::shared_ptr<isc::dhcp::Token> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:631: recipe for target 'libdhcp_legal_log_unittests' failed
make[9]: *** [libdhcp_legal_log_unittests] Error 1
make[9]: Leaving directory '/home/jenkins/workspace/kea-master/premium/src/hooks/dhcp/forensic_log/tests'
```Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/205improve Kea guide2018-11-07T16:08:53ZMichal Nowikowskiimprove Kea guide- update list of distros which are used for Kea testing- update list of distros which are used for Kea testingKea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/202distcheck failing after adding api documentation2018-11-05T10:11:58ZWlodzimierz Wenceldistcheck failing after adding api documentationAfter merging #10 we have distcheck failing, tried to mark that issue on jabber but nothing happened.
https://jenkins.isc.org/job/kea-master-distcheck/68/
error: https://jenkins.isc.org/job/kea-master-distcheck/68/execution/node/84/log...After merging #10 we have distcheck failing, tried to mark that issue on jabber but nothing happened.
https://jenkins.isc.org/job/kea-master-distcheck/68/
error: https://jenkins.isc.org/job/kea-master-distcheck/68/execution/node/84/log/
```
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compatcheck/Makefile
config.status: creating dns++.pc
config.status: creating doc/Makefile
config.status: creating doc/guide/Makefile
config.status: creating doc/version.ent
config.status: error: cannot find input file: `doc/docgen/Makefile.in'
Makefile:833: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
```
I assume that code from docgen should be included into release package, so my fix is below (but I'm not sure if it's what Tomek had in mind)
```
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 951c257..184e347 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = guide
+SUBDIRS = guide docgen
EXTRA_DIST = version.ent.in Doxyfile Doxyfile-xml
EXTRA_DIST += devel/bison.dox
diff --git a/doc/docgen/Makefile.am b/doc/docgen/Makefile.am
index 72d8bd9..612d921 100644
--- a/doc/docgen/Makefile.am
+++ b/doc/docgen/Makefile.am
@@ -12,7 +12,7 @@ noinst_PROGRAMS = kea-docgen
kea_docgen_SOURCES = kea_docgen.cc
# For bare distcheck
-EXTRA_DIST = cmd_docgen
+EXTRA_DIST = generate-templates
kea_docgen_LDADD = $(top_builddir)/src/lib/cc/libkea-cc.la
kea_docgen_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
```
also in some files in doc/docgen/ "cmd_docgen" is mentioned but not existing.
Marking this as critical because it's stalling my testing just before release.Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/194libkea-process unnecessarily links with MySQL, PgSQL and CQL2018-11-01T10:35:39ZMarcin Siodelskilibkea-process unnecessarily links with MySQL, PgSQL and CQLPreviously, libkea-process depended on libkea-dhcpsrv. Therefore, it had to conditionally link with MySQL and co. After we reversed the dependency, so as the libkea-dhcpsrv now depends on libkea-process, linking with MySQL is no longer n...Previously, libkea-process depended on libkea-dhcpsrv. Therefore, it had to conditionally link with MySQL and co. After we reversed the dependency, so as the libkea-dhcpsrv now depends on libkea-process, linking with MySQL is no longer needed.Kea1.5-beta1Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/kea/-/issues/156debian9 64 compilation error2021-08-31T21:20:50ZWlodzimierz Wenceldebian9 64 compilation error```
uname -a
Linux debian9-64-2 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux
autoreconf -if && ./configure --enable-shell --with-pgsql --with-mysql --prefix=/home/wlodek/installed/git/
```
result:
```
Packa...```
uname -a
Linux debian9-64-2 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux
autoreconf -if && ./configure --enable-shell --with-pgsql --with-mysql --prefix=/home/wlodek/installed/git/
```
result:
```
Package:
Name: kea
Version: 1.4.0-git
Extended version: 1.4.0-git (git 3fc0d776ff2262cae0013de1ce4c776c54c32eba)
OS Family: Linux
Hooks directory: /home/wlodek/installed/git/lib/hooks
Premium hooks: yes
Included Hooks: forensic_log flex_id host_cmds subnet_cmds radius host_cache
C++ Compiler:
CXX: g++
CXX_VERSION: g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
CXX_STANDARD: 201402
DEFS: -DHAVE_CONFIG_H
CPPFLAGS: -DOS_LINUX -DBOOST_ASIO_HEADER_ONLY
CXXFLAGS: -g -O2
LDFLAGS: -lpthread
KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC
Python:
PYTHON: /usr/bin/python3
PYTHON_VERSION: 3.5
Boost:
BOOST_VERSION: 1.62
BOOST_INCLUDES:
BOOST_LIBS: -lboost_system
OpenSSL:
CRYPTO_VERSION: OpenSSL 1.1.0f 25 May 2017
CRYPTO_CFLAGS:
CRYPTO_INCLUDES:
CRYPTO_LDFLAGS:
CRYPTO_LIBS: -lcrypto
Botan: no
Log4cplus:
LOG4CPLUS_VERSION: 1.1.2
LOG4CPLUS_INCLUDES: -I/usr/include
LOG4CPLUS_LIBS: -L/usr/lib -L/usr/lib64 -llog4cplus
Flex/bison:
FLEX: flex
BISON: bison -y
MySQL:
MYSQL_VERSION: 10.1.26
MYSQL_CPPFLAGS: -I/usr/include/mysql
MYSQL_LIBS: -L/usr/lib/x86_64-linux-gnu -lmariadbclient -lpthread -lz -lm -ldl
PostgreSQL:
PGSQL_VERSION: PostgreSQL 9.6.10
PGSQL_CPPFLAGS: -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.6 -I/usr/include/postgresql -I/usr/include/postgresql/9.6/server
PGSQL_LIBS: -L/usr/lib/x86_64-linux-gnu -lpq
```
compilation error:
```
make[6]: Entering directory '/home/wlodek/kea/src/bin/agent'
CXXLD kea-ctrl-agent
../../../src/lib/process/.libs/libkea-process.so: undefined reference to `isc::db::DatabaseConnection::toElementDbAccessString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:666: recipe for target 'kea-ctrl-agent' failed
make[6]: *** [kea-ctrl-agent] Error 1
```
It looks like this change:
```
diff --git a/src/bin/agent/Makefile.am b/src/bin/agent/Makefile.am
index 31a2798d8..75059f357 100644
--- a/src/bin/agent/Makefile.am
+++ b/src/bin/agent/Makefile.am
@@ -83,6 +83,7 @@ kea_ctrl_agent_LDADD += $(top_builddir)/src/lib/log/libkea-log.la
kea_ctrl_agent_LDADD += $(top_builddir)/src/lib/util/threads/libkea-threads.la
kea_ctrl_agent_LDADD += $(top_builddir)/src/lib/util/libkea-util.la
kea_ctrl_agent_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
+kea_ctrl_agent_LDADD += $(top_builddir)/src/lib/database/libkea-database.la
kea_ctrl_agent_LDADD += $(LOG4CPLUS_LIBS) $(CRYPTO_LIBS) $(BOOST_LIBS)
kea_ctrl_agent_LDFLAGS = $(AM_LDFLAGS) $(CRYPTO_LDFLAGS)
```
fix issueKea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/154Netconf reload behavior is not defined2018-10-10T10:24:31ZFrancis DupontNetconf reload behavior is not definedNot a real problem as it does not need to be define/design ASAP.
Creating a MR to disable reload on SIGHUP.Not a real problem as it does not need to be define/design ASAP.
Creating a MR to disable reload on SIGHUP.Kea1.5-beta1Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/issues/153Netconf agent development2018-11-07T06:16:52ZFrancis DupontNetconf agent developmentHome for MRs about netconf.Home for MRs about netconf.Kea1.5-beta1Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/issues/148lib process servers without arguments2018-10-19T22:25:15ZFrancis Dupontlib process servers without argumentsAll servers that use CPL architecture (D2, CA, netconf) are unable to print out usage information when run without any parameters. Instead, they print out cryptic error message as shown below:
```$ kea-ctrl-agent
2018-10-01 22:28:51.285...All servers that use CPL architecture (D2, CA, netconf) are unable to print out usage information when run without any parameters. Instead, they print out cryptic error message as shown below:
```$ kea-ctrl-agent
2018-10-01 22:28:51.285 FATAL [kea-ctrl-agent.dctl/23508] DCTL_PID_FILE_ERROR
Control-agent could not create a PID file: Daemon::makePIDFileName config file name is not set
Service failed: Launch failed: Daemon::makePIDFileName config file name is not set'''Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/147*.pid files are created in incorrect place2018-10-12T13:37:02ZWlodzimierz Wencel*.pid files are created in incorrect placePID files are created in /
```
test@debian8-64-1-dhcp:~/jenkins_lab/var/area_A/sbin$ ls -la /
total 104
drwxr-xr-x 22 root root 4096 Oct 1 02:58 .
drwxr-xr-x 22 root root 4096 Oct 1 02:58 ..
drwxr-xr-x 2 root root 4096 Nov 9 ...PID files are created in /
```
test@debian8-64-1-dhcp:~/jenkins_lab/var/area_A/sbin$ ls -la /
total 104
drwxr-xr-x 22 root root 4096 Oct 1 02:58 .
drwxr-xr-x 22 root root 4096 Oct 1 02:58 ..
drwxr-xr-x 2 root root 4096 Nov 9 2017 bin
drwxr-xr-x 3 root root 4096 Nov 9 2017 boot
drwxr-xr-x 17 root root 3240 Jan 12 2018 dev
drwxr-xr-x 97 root root 4096 Oct 1 02:21 etc
drwxr-xr-x 4 root root 4096 Mar 29 2013 home
lrwxrwxrwx 1 root root 31 Nov 9 2017 initrd.img -> /boot/initrd.img-3.16.0-4-amd64
lrwxrwxrwx 1 root root 30 Mar 29 2013 initrd.img.old -> /boot/initrd.img-3.2.0-4-amd64
-rw-r--r-- 1 root root 6 Oct 1 02:58 kea.kea-ctrl-agent.pid
-rw-r--r-- 1 root root 6 Oct 1 02:50 kea.kea-dhcp6.pid
-rw-r--r-- 1 root root 6 Oct 1 02:54 kea.kea-dhcp-ddns.pid
```
even if kea was installed with prefix: /home/test/jenkins_lab/var/area_A/
```
$ ./configure --prefix=/home/test/jenkins_lab/var/area_A/ --with-pgsql --with-mysql --enable-shell
```
and because keactrl has coded correct prefix:
```
test@debian8-64-1-dhcp:~/jenkins_lab/var/area_A/sbin$ cat keactrl | grep prefix
local pid_file_dir=${prefix}/var/kea
prefix=/home/test/jenkins_lab/var/area_A
export KEA_LOGGER_DESTINATION=${prefix}/var/kea/kea.log
prefix=/home/test/jenkins_lab/var/area_A
keactrl_conf=${prefix}/etc/kea/keactrl.conf
```
it's unable to detect if kea is running.Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/141Update Sysrepo docs to 0.7.5, libyang 0.16-r12018-09-25T09:05:27ZTomek MrugalskiUpdate Sysrepo docs to 0.7.5, libyang 0.16-r1After the recent releases that include Francis' fixes, we can move back to release versions.
The docs need to update the following:
- use libyang 0.16-r1
- use Sysrepo 0.7.5After the recent releases that include Francis' fixes, we can move back to release versions.
The docs need to update the following:
- use libyang 0.16-r1
- use Sysrepo 0.7.5Kea1.5-beta1Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/issues/140netconf: update build to use sysrepo 0.7.5, libyang 0.16-r12018-09-21T22:01:51ZTomek Mrugalskinetconf: update build to use sysrepo 0.7.5, libyang 0.16-r1The fixes Francis submitted to sysrepo are now released. We can move to release versions: sysrepo 0.7.5, libyang 0.16-r1.
We need to update build instructions.The fixes Francis submitted to sysrepo are now released. We can move to release versions: sysrepo 0.7.5, libyang 0.16-r1.
We need to update build instructions.Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/138kea-admin / admin-utils.sh ignores the -h --host arg for the database2019-01-17T14:54:51ZThorsten Krohnkea-admin / admin-utils.sh ignores the -h --host arg for the databaseIf the mysql-database is not on localhost, upgrade of the database with kea-admin is not possible.
I looked into the code and the problem is in the admin-utils.sh:
```sh
mysql_execute() {
QUERY=$1
shift
if [ $# -gt 1 ]; the...If the mysql-database is not on localhost, upgrade of the database with kea-admin is not possible.
I looked into the code and the problem is in the admin-utils.sh:
```sh
mysql_execute() {
QUERY=$1
shift
if [ $# -gt 1 ]; then
mysql -N -B "$@" -e "${QUERY}"
retcode=$?
else
mysql -N -B --database="${db_name}" --user="${db_user}" --password="${db_password}" -e "${QUERY}"
retcode=$?
fi
return $retcode
}
mysql_execute_script() {
file=$1
shift
if [ $# -ge 1 ]; then
mysql -N -B "$@" < "${file}"
retcode=$?
else
mysql -N -B --database="${db_name}" --user="${db_user}" --password="${db_password}" < "${file}"
retcode=$?
fi
return $retcode
}
```
The mysql lines should look like this:
>mysql -N -B **--host="${db_host}"** --database="${db_name}" --user="${db_user}" --password="${db_password}"
This problem may be also in the other backends.
This bug is in all versions, also in the master-branch.Kea1.5-beta1Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/issues/137Improve Kea compilation time2018-09-27T12:46:27ZTomek MrugalskiImprove Kea compilation timeWhile playing around with kea compilation times, I found couple things that can be done to improve compilation time. This ticket is about
Ideas considered:
* config.h is breaking down ccache speed-up. It includes git commit-id, which i...While playing around with kea compilation times, I found couple things that can be done to improve compilation time. This ticket is about
Ideas considered:
* config.h is breaking down ccache speed-up. It includes git commit-id, which is different with every build. That file is included everywhere, which causes ccache to have a very poor hit rate.
* we build by default with debug symbols. This slows down compilation by almost 3 minutes on my (@tomek) dev systemKea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/134Small bugs from the new Xcode 10.0 compiler2018-09-27T12:49:19ZFrancis DupontSmall bugs from the new Xcode 10.0 compilerI updated yesterday the macOS Xcode to 10.0 and it finds now a few new warnings and I am using --with--werror...I updated yesterday the macOS Xcode to 10.0 and it finds now a few new warnings and I am using --with--werror...Kea1.5-beta1Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/issues/129global reservation mode is DHCPv4 only.2019-09-02T07:12:00ZFrancis Dupontglobal reservation mode is DHCPv4 only.Looks like something forgotten as there is a global entry in reservations.Looks like something forgotten as there is a global entry in reservations.Kea1.5-beta1https://gitlab.isc.org/isc-projects/kea/-/issues/128Use lib process daemon code in netconf2018-10-06T00:51:14ZFrancis DupontUse lib process daemon code in netconfNote I fixed the compilation but there are still some replacement codes waiting for dhcpsrv -> process migration which was done.Note I fixed the compilation but there are still some replacement codes waiting for dhcpsrv -> process migration which was done.Kea1.5-beta1Francis DupontFrancis Dupont