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

Michal Koutný mkoutny at suse.com
Fri Mar 24 19:01:15 UTC 2023


Hello.

On Sun, Mar 19, 2023 at 07:16:56PM +0000, Martin <debacle at debian.org> 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_er then. You may find [3] interesting
though.

HTH,
Michal

Runtime switch:
[1] systemd-analyze set-log-level debug
[2] SYSTEMD_LOG_LEVEL=debug systemd-nspawn ...
[3] https://lpc.events/event/16/contributions/1237/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230324/cba45e4e/attachment.sig>


More information about the systemd-devel mailing list