-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arch Linux issue #611
Comments
@dschaper wrote:
@gituriu1 wrote:
@DL6ER wrote:
|
I suppose you're still compiling against libnettle3.5. Make sure you purged the entire library and run |
@DL6ER I already posted a fix in the AUR comments just a few minutes ago. Like someone pointed out, it's due to missing symbols dnsmasq references in nettle. diff -Nurp a/dnsmasq/crypto.c b/dnsmasq/crypto.c
--- a/dnsmasq/crypto.c 2019-07-08 10:09:06.000000000 +0000
+++ b/dnsmasq/crypto.c 2019-07-08 10:12:32.000000000 +0000
@@ -275,6 +275,10 @@ static int dnsmasq_ecdsa_verify(struct b
static struct ecc_point *key_256 = NULL, *key_384 = NULL;
static mpz_t x, y;
static struct dsa_signature *sig_struct;
+ #if NETTLE_VERSION_MAJOR == 3 && NETTLE_VERSION_MINOR < 4
+ #define nettle_get_secp_256r1() (&nettle_secp_256r1)
+ #define nettle_get_secp_384r1() (&nettle_secp_384r1)
+ #endif
if (!sig_struct)
{
@@ -294,7 +298,7 @@ static int dnsmasq_ecdsa_verify(struct b
if (!(key_256 = whine_malloc(sizeof(struct ecc_point))))
return 0;
- nettle_ecc_point_init(key_256, &nettle_get_secp_256r1);
+ nettle_ecc_point_init(key_256, nettle_get_secp_256r1());
}
key = key_256;
@@ -307,7 +311,7 @@ static int dnsmasq_ecdsa_verify(struct b
if (!(key_384 = whine_malloc(sizeof(struct ecc_point))))
return 0;
- nettle_ecc_point_init(key_384, &nettle_get_secp_384r1);
+ nettle_ecc_point_init(key_384, nettle_get_secp_384r1());
}
key = key_384;
Recompile with the above patch and it should solve the issue for you. |
sorry for hijacking, thx for linking to the fix. |
/dev/shm in a kvm vm hosted on Proxmox aint the problem.
Squid, wich is using /dev/shm, isnt crashing in the same vm.
Im running Arch linux.
After upgrading nettle to version 3.5.1-1 i had to recompile pi-hole-ftl, than the service started crasching randomly. Here is a trace from systemd-coredump:
libhogweed.so.5 comes from nettle
pihole-FTL.services is crashing frequently.
pihole-FTL_service.log
Originally posted by @gituriu1 in #606 (comment)
The text was updated successfully, but these errors were encountered: