]> code.ossystems Code Review - openembedded-core.git/commit
iputils: Initialize libgcrypt
authorMingli Yu <mingli.yu@windriver.com>
Wed, 29 Apr 2020 06:36:44 +0000 (14:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 May 2020 08:08:46 +0000 (09:08 +0100)
commit7d37d129012d723b7c6ade0a763b877b657e1248
tree573f4806ed3118a02b4701bf618886692e661ea0
parent742a1b71249f4da1c8d8e13e270b0eb6128a3f66
iputils: Initialize libgcrypt

Initialize libgcrypt on first use otherwise
there comes below warning when check the status
of the ninfod.service.
 # systemctl status ninfod.service
 * ninfod.service - Respond to IPv6 Node Information Queries
 Loaded: loaded (/lib/systemd/system/ninfod.service; enabled; vendor preset: enabled)
 Active: active (running) since Wed 2020-04-29 05:18:21 UTC; 36s ago
 Docs: man:ninfod(8)
 Main PID: 347 (ninfod)
 Tasks: 1 (limit: 9382)
 Memory: 1.2M
 CGroup: /system.slice/ninfod.service
 `-347 /sbin/ninfod -d

 Apr 29 05:18:21 intel-x86-64 systemd[1]: Started Respond to IPv6 Node Information Queries.
 Apr 29 05:18:24 intel-x86-64 ninfod[347]: Libgcrypt warning: missing initialization - please fix the application

Reference: https://salsa.debian.org/apt-team/apt/-/commit/4f489a8c7954cbbc9613e6b671c8efe87b9ced8c

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/iputils/iputils/0001-iputils-Initialize-libgcrypt.patch [new file with mode: 0644]
meta/recipes-extended/iputils/iputils_s20190709.bb