Recurrent Error Message
stef204 opened this issue · 5 comments
I keep getting the following errors when using ccm more than once, so starting with the second time, in same session:
----> Updating the chroot... Failed to attach 31191 to compat systemd cgroup /user.slice/user-1000.slice/session-1.scope/payload: No such file or directory Failed to attach 31165 to compat systemd cgroup /user.slice/user-1000.slice/session-1.scope/supervisor: No such file or directory Failed to chown() cgroup /sys/fs/cgroup/systemd/user.slice/user-1000.slice/session-1.scope/payload: No such file or directory
I know this is related to this thread on the mailing list, but I have not found a definitive solution to eliminate this.
Anything I can do on my side to fix this?
I haven't seen that one before... do you have some custom kernel or customized systemd? Do the underlying arch-devtool scripts work? CCM is just a glorified wrapper for them. My suspicion is it is not your problem but something else.
I do not use a custom kernel nor do I have a customized systemd.
I see this bug,seems related but why would my system show this error and not another user's with an up-to-date box?
I think you're correct about the arch-devtools. I just tried this:
% arch-nspawn /var/lib/scratch/chroot64/root pacman -Qs pacman Failed to attach 6057 to compat systemd cgroup /user.slice/user-1000.slice/session-1.scope/payload: No such file or directory Failed to attach 6031 to compat systemd cgroup /user.slice/user-1000.slice/session-1.scope/supervisor: No such file or directory Failed to chown() cgroup /sys/fs/cgroup/systemd/user.slice/user-1000.slice/session-1.scope/payload: No such file or directory Parent died too early
with and without sudo privs gives same error. So it's not your wrapper.
Any idea what could cause this?
I do not... open a FS against devtools.
OK, thanks for your feedback.
Feel free to reopen if you discover the root cause is ccm but I suspect it's something on your system.