On Ubuntu server 22.04 (not 24.04 as previously stated) systemd has crashed with a SEGV signal on two consecutive days at the same time.
early in the morning there is a job "Daily apt upgrade and clean activities..." - it does various things and ends with systemd reload that fails:
Sep 18 06:09:30 srv038 systemd[1]: Starting Daily apt upgrade and clean activities...
Sep 18 06:09:36 srv038 kernel: [64023.277390] audit: type=1400 audit(1726632576.266:84): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/bin/freshclam" pid=23962 comm="apparmor_parser"
Sep 18 06:09:36 srv038 systemd[1]: Reloading.
Sep 18 06:09:36 srv038 kernel: [64023.418952] systemd[1]: segfault at 55d94f18cbc0 ip 000055d907d74d73 sp 00007ffd4b305660 error 4 in systemd[55d907cee000+e0000]
Sep 18 06:09:36 srv038 kernel: [64023.419797] Code: 00 ba 35 03 00 00 48 8d 35 2c d9 05 00 48 8d 3d 8a 41 08 00 e8 3e e1 f7 ff 66 0f 1f 44 00 00 48 63 57 08 48 8d 05 4d b4 0b 00 <48> 8b 04 d0 48 8b 80 d8 00 00 00 48 83 c408 ff e0 66 66 2e 0f 1f
Sep 18 06:09:36 srv038 systemd[1]: Caught <SEGV>, dumped core as pid 24166.
Sep 18 06:09:36 srv038 systemd[1]: Freezing execution.
On Sep 17 the same thing happened with almost identical messages:
Sep 17 06:28:46 srv038 systemd[1]: Reloading.
Sep 17 06:28:46 srv038 kernel: [6032205.051966] systemd[1]: segfault at 746e756f6d00 ip 00007faad8238149 sp 00007ffe615fb430 error 4 in libsystemd-shared-249.so[7faad815d000+1a9000]
Sep 17 06:28:46 srv038 kernel: [6032205.052764] Code: 48 89 44 24 38 31 c0 f6 47 2f 04 48 8d 05 af a0 18 00 48 89 e5 48 0f 44 f0 48 89 ef e8 50 99 01 00 48 8b 03 48 89 ee 4c 89 e7 <ff> 10 48 89 ef e8 4d 9c 01 00 0f b6 53 2f f6 c2 04 74 24 8b 4b 24
Sep 17 06:29:01 srv038 clamd[724347]: Tue Sep 17 06:29:01 2024 -> ^File path check failure on: /var/amavis/tmp/amavis-20240917T000117-432993-oihZIiju/parts
Sep 17 06:29:01 srv038 kernel: [6032220.281106] audit: type=1400 audit(1726547341.718:2774): apparmor="DENIED" operation="open" profile="/usr/sbin/clamd" name="/var/amavis/tmp/amavis-20240917T000117-432993-oihZIiju/parts/" pid=724347 comm="clamd" requested_mask="r" denied_mask="r" fsuid=119 ouid=124
Sep 17 06:29:28 srv038 earlyoom[2336]: mem avail: 28290 of 128717 MiB (21.98%), swap free: 32715 of 32767 MiB (99.84%)
Sep 17 06:30:17 srv038 systemd[1]: Caught <SEGV>, dumped core as pid 733084.
Sep 17 06:30:17 srv038 systemd[1]: Freezing execution.
This server has lots of software and runs fine otherwise. I did a apt update + upgrade and fixed the apparmor message for clamd on Sep 17 so the Sep 18 crash was with latest updates.
Any ideas on how to resolve this?
Thanks
Bookmarks