-
Notifications
You must be signed in to change notification settings - Fork 247
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
EINVAL on access(sys/fs/cgroup/systemd) since 2.0.0.rc8 #107
Comments
@hallyn committed a patch yesterday, changing the return value to Again, attached is a strace of systemd during startup before it gets stuck at strace_systemd_215-17_lxcfs_575316c4706e5600f3935e8245027f7de6222656.txt |
I'm also attaching an strace of sytemd 215-17 during a successful startup with lxcfs 2.0.0.rc7! |
@hallyn sorry, the fix still did not resolve the issue. Its still returning:
|
Odd. It works for me here. can you strace lxcfs itself, do the access, and show the strace output here? |
Ok, I guess strace isn't very helpful. Better would be to run it in gdb and trace through the cg_attach() function to see where it returns the EACCESS. |
Sorry there was a issue when applying the patch to our Debian package build. Commit 3f441bc actually already fixed it! |
The previous patch actually didn't handle those, but only /cgroup itself. Closes #107 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Since lxcfs 2.0.0.rc8 the lxcfs fuse module overrides the
access
method and erroneously returnsEINVAL
when systemd in Debian/Jessie (215-17) tries to check access for/sys/fs/cgroup/systemd
: This prevents successful startup of systemd:access("/sys/fs/cgroup/systemd", F_OK) = -1 EINVAL (Invalid argument)
I'm attaching a strace of systemd during startup before it gets stuck at
pause()
.strace_systemd_215-17_lxcfs_2.0.0.rc8.txt
The text was updated successfully, but these errors were encountered: