Cannot mount /sys/kernel/debug in nspawn container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux