Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with LXC #64

Open
CameronNemo opened this issue May 27, 2015 · 3 comments
Open

Does not work with LXC #64

CameronNemo opened this issue May 27, 2015 · 3 comments

Comments

@CameronNemo
Copy link

It gives this error:

/sbin/bootchartd: line 170: /lib/bootchart/tmpfs/kmsg: Operation not permitted

Then /sbin/bootchartd stop gives "Can't extract boot chart from collector" (fails on the collector dump).

@xrmx
Copy link
Owner

xrmx commented May 27, 2015

Hi, thanks for reporting! Am not sure there's much to profile on a container boot, what's the use case?

@CameronNemo
Copy link
Author

I wanted to optimize how the system boots without complications like mounting of hard drives or bringing up physical devices distracting the data.

In the container I just see things that I can control.

@fabled
Copy link

fabled commented Oct 9, 2015

ptrace is probably not allowed inside the container. It maybe possible to enable this system capability on per-lxc basis in configuration. However, it would be better if bootchartd used unix socket (with abstract name, so it works after switch_root too) to dump state between the two processes. This would enable bootchartd to work on hardened linux kernels where ptrace is disabled in kernel config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants