Skip to content

Commit

Permalink
Access coredump log from toolbox.
Browse files Browse the repository at this point in the history
This commit maps host /var/lib/systemd/coredump in the same place inside the
toolbox.
So, coredumpctl can be used, inside the toolbox, to see coredump log.

This fixes containers#543.
  • Loading branch information
eiffel-fl committed Nov 23, 2020
1 parent dcdfa3a commit a292bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/initContainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ var (
{"/var/lib/libvirt", "/run/host/var/lib/libvirt", ""},
{"/var/log/journal", "/run/host/var/log/journal", "ro"},
{"/var/mnt", "/run/host/var/mnt", "rslave"},
{"/var/lib/systemd/coredump", "/run/host/var/lib/systemd/coredump", "ro"},
}
)

Expand Down

0 comments on commit a292bd4

Please sign in to comment.