Ubuntu 20.04 systemd-coredump user ownership
Solution 1:
You can run docker as non-root. Just define a UID you like. If you run it as root it will use the coredump id.
Solution 2:
I think I've got it.
So, after I did what I described in the question, I kept on doing my regular work. What I've found is that my docker
container mysql
crashed when I attempted to do docker cp
. This reverted the ownership of the whole HOME directory, again, to systemd-coredump
.
This time, I used coredumpctl
to see what went wrong:
TIME PID UID GID SIG COREFILE EXE
Fri 2020-08-14 20:40:57 CEST 2489 1000 1000 6 present /opt/eset/esets/bin/esets_gui
Sat 2020-08-15 00:07:00 CEST 2014 1000 1000 6 present /usr/libexec/tracker-miner-fs
So, ESET GUI app crashed, but more importantly tracker-miner-fs
also crashed. Found out I needed to remove:
- $HOME/.cache/tracker
- $HOME/.config/tracker (if exists)
- $HOME/.local/share/tracker
This way tracker would start from scratch and will not crash...