Re: [systemd-devel] Cannot mount /sys/kernel/debug in nspawn container

2023-03-24 Thread Martin
On 2023-03-24 20:01, Michal Koutný wrote: > On Sun, Mar 19, 2023 at 07:16:56PM +, Martin wrote: >> Any idea, what I might missing? > > Permissions? > (Incresing logging verbosity may give you some hints. [1][2]) Thank you very much! I'm not sure, if I will debug that, because meanwhile I c

Re: [systemd-devel] Cannot mount /sys/kernel/debug in nspawn container

2023-03-24 Thread Michal Koutný
Hello. On Sun, Mar 19, 2023 at 07:16:56PM +, Martin wrote: > Any idea, what I might missing? Permissions? (Incresing logging verbosity may give you some hints. [1][2]) > PS: My ultimate goal is to run bpftrace in the container. Seems to be > slightly tricky. I wouldn't call it a _contain_e

[systemd-devel] Cannot mount /sys/kernel/debug in nspawn container

2023-03-19 Thread Martin
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 cont