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
(cherry picked from commit 8ab04a66d763c67e9b9acd8d1884f9898e3f6092)
changes/90/34290/1
Alexander Lutay 6 years ago
parent 2a2270e1ce
commit 06ab69c55e

@ -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