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

Question: Read-only filesystem issue #125

Open
yizhuoliang opened this issue Sep 4, 2023 · 0 comments
Open

Question: Read-only filesystem issue #125

yizhuoliang opened this issue Sep 4, 2023 · 0 comments
Labels
bug Something isn't working needs-review

Comments

@yizhuoliang
Copy link

When i tried to run the example code, the cgroups builder panicked with this error

root@b728d2fea702:/test_rust/src# cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `/test_rust/target/debug/test_rust`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: FsError, cause: Some(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) }', src/main.rs:16:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I'm not sure if this is some problem with my docker container (minimal rust image). I also want to ask, where are the code that actually edits the linux cgroups information. Thank you!

@yizhuoliang yizhuoliang added bug Something isn't working needs-review labels Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-review
Projects
None yet
Development

No branches or pull requests

1 participant