You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
... I have understood that answers are voluntary and community-driven, and not commercial support.
... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
I see A LOT of segfaults for `/usr/lib/nagios/plugins/check_dns` in my journalctl.
See example journalctl entries in "Logs" section.
I can see that it's being run here, by watchdog container: https://github.com/mailcow/mailcow-dockerized/blob/640f535e9995f27fcc1541a60f0a56648d0d66cc/data/Dockerfiles/watchdog/watchdog.sh#L272
When I try to execute the command myself in the container, I also get the segfault (see gdb session in "Logs" section), but it seems that the binary has no symbols, so the stacktrace is quite useless.
Logs:
Crash in journalctl:
Jan 30 22:02:47 vps770689.ovh.net systemd-coredump[3126064]: [🡕] Process 3126059 (check_dns) of user 0 dumped core.
Module /usr/lib/nagios/plugins/check_dns without build-id.
Module /lib/libcrypto.so.3 without build-id.
Module /lib/ld-musl-x86_64.so.1 without build-id.
Module linux-vdso.so.1 with build-id 5cbcbeaed17f6205501c99ad3b84bfa3cb42f965
Stack trace of thread 1646727:
#0 0x00005576fbe22ffc n/a (/usr/lib/nagios/plugins/check_dns + 0x6ffc)
ELF object binary architecture: AMD x86-64
GDB session:
ea9217b7bd96:/# gdb /usr/lib/nagios/plugins/check_dns
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/nagios/plugins/check_dns...
(No debugging symbols found in /usr/lib/nagios/plugins/check_dns)
(gdb) r -s 172.22.1.254 -H stackoverflow.com
Starting program: /usr/lib/nagios/plugins/check_dns -s 172.22.1.254 -H stackoverflow.com
warning: Error disabling address space randomization: Operation not permitted
[Detaching after fork from child process 1645329]
Program received signal SIGSEGV, Segmentation fault.
0x00005586fc99bffc in ?? ()
(gdb) bt
#0 0x00005586fc99bffc in ?? ()
#1 0x00005586fc9987e8 in ?? ()
#2 0x00007f9edd1cf9ca in ?? () from /lib/ld-musl-x86_64.so.1
#3 0x00007f9edd1cf9a2 in ?? () from /lib/ld-musl-x86_64.so.1
#4 0x00007ffc6368ed10 in ?? ()
#5 0x0000000000000000 in ?? ()
### Steps to reproduce:
```plain text
1. Install and start mailcow-dockerized
2. I guess look into your journalctl? I'm not aware of any other prerequisites.
I have the same issue with the nagios check_dns on current mailcow version 2023-05a with docker of 24.0.5, build ced0996 and docker compose version v2.20.2; ipv6 disabled as per recommendation of docs.
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
GDB session:
Which branch are you using?
master
Operating System:
Fedora 37
Server/VM specifications:
OVH VPS, 2GB RAM, 1 core
Is Apparmor, SELinux or similar active?
It's Fedora, to SELinux is active
Virtualization technology:
Not sure - the one OVH uses for their VPSs
Docker version:
20.10.22
docker-compose version or docker compose version:
v2.14.1
mailcow version:
2023-01
Reverse proxy:
Nginx
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: