[systemd-devel] Cannot mount /sys/kernel/debug in nspawn container
Martin
debacle at debian.org
Sun Mar 19 19:16:56 UTC 2023
Dears,
I have a Debian 11 host with Debian 11 nspawn container, i.e. kernel
5.10.0-20 and systemd 247.3-7+deb11u1 on amd64.
My container.nspawn file contains, among others, the lines
[Exec]
PrivateUsers=false
[Files]
Bind=/sys/kernel/debug
The directory is populated on the host, but in the container, it seems
to be empty.
Any idea, what I might missing?
Many thanks in advance & Cheers!
PS: My ultimate goal is to run bpftrace in the container. Seems to be
slightly tricky.
More information about the systemd-devel
mailing list