PSA: Installing crowdsec on ancient Debian 8 can trigger systemd segfault

Just for some people to be aware of the issue on Debina 8 - if you install crowdsec then it can trigger systemd to get segmentation fault. This means systemd is totally dead and only system reboot can fix it ( systemctl --force --force reboot but it will trigger reboot IMMEDIATELY) crowdsec version 1.6.9 on amd64
Run 'sudo systemctl reload crowdsec' for the new configuration to be effective.
Failed to execute operation: Connection reset by peer

Message from syslogd@redacted-hostname at Jun 20 22:09:29 ...
kernel:[10820643.252724] systemd[1]: segfault at 14 ip 00005564bbcc1246 sp 00007ffceeee14d0 error 6 in systemd[5564bbc55000+122000]
Failed to start crowdsec.service: Connection timed out
dpkg: error processing package crowdsec (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
crowdsec
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run 'sudo systemctl reload crowdsec' for the new configuration to be effective.
Failed to execute operation: Connection reset by peer

Message from syslogd@redacted-hostname at Jun 20 22:09:29 ...
kernel:[10820643.252724] systemd[1]: segfault at 14 ip 00005564bbcc1246 sp 00007ffceeee14d0 error 6 in systemd[5564bbc55000+122000]
Failed to start crowdsec.service: Connection timed out
dpkg: error processing package crowdsec (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
crowdsec
E: Sub-process /usr/bin/dpkg returned an error code (1)
1 Reply
CrowdSec
CrowdSec3mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️

Did you find this page helpful?