TT#68720 Mute awk cores on upgrade stretch->buster

The random awk crash happens which we cannot catch and trace.
It happens randomly and it produces no harm AFAIK.

We cannot report anything upstream here as we have to trace from core.
Also it is an old/stretch version of gawk which is crashed on stretch->buster
upgrade when gawk dependency libraries libc6, libgmp10, libsigsegv2
were fully/partially upgraded to buster already.

We can only mute it here as for now.
The mute is necessary in mr7.5* branched only
as mr7.5->mr8.0 is buster->buster upgrade already.

Change-Id: I24d15cb799f50cd5dbc0c5c99783d41ee32a780f
changes/89/34289/1
Alexander Lutay 6 years ago
parent 5da0bde27d
commit 4288d67c1f

@ -21,6 +21,18 @@ if ls /var/lib/systemd/coredump/core.perl-fcgi* >/dev/null 2>&1 ; then
diag "========================== DONE =============================="
fi
if ls /var/lib/systemd/coredump/core.awk* >/dev/null 2>&1 ; then
diag "================== NOTE: CORE DUMP DETECTED =================="
diag "= 2) TT#68720: Renaming awk cores /var/lib/systemd/coredump/core.awk"
ls -la /var/lib/systemd/coredump/core.awk*
for file in /var/lib/systemd/coredump/core.awk* ; do
mv "${file}" /var/lib/systemd/coredump/RENAMED_"$(basename "${file}")"
done
diag "= New cores names are:"
ls -la /var/lib/systemd/coredump/RENAMED_core.awk*
diag "========================== DONE =============================="
fi
goss="goss-0.3.5-e6140f90+patch_319-linux-amd64"
if [ ! -x "/usr/sbin/${goss}" ] ; then

Loading…
Cancel
Save