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
Skip rootfs pinning for read-only file system. #3844
Conversation
Signed-off-by: Wei Mingzhi <weimingzhi@baidu.com>
This pull request didn't trigger Jenkins as its author isn't in the whitelist. An organization member must perform one of the following:
Those commands are simple Github comments of the format: "jenkins: COMMAND" |
jenkins: test this please |
Thank you! |
Unfortunately this doesn't fix the issue.
This is running the latest lxc master. |
That's reporting that device cgroup values failed to apply though which is a bit odd. Any more details like a trace log or something that you could provide? |
that's because name of some cgroup-related lxc config items seems to be changed. I asked them to apply this patch in the bug report of anbox and they have got it working:
|
Hm, I thought I had changed LXC to ignore |
Anbox mounts a squashfs image and uses it as the lxc container root. The squashfs image is mounted read-only, hence the rootfs pinning code in newer versions of lxc breaks anbox.
This fixes the issue.
Reference: bug report of anbox: anbox/anbox#1801