You are not logged in.

#1 2016-06-09 11:47:42

tbleiker
Member
Registered: 2015-04-24
Posts: 8

failed to build a clean chroot in a lxc container

I try to build a clean chroot in a lxc archlinux container according to DeveloperWiki:Building in a Clean Chroot. However, I get the following error:

user@build-container ~ $ mkarchroot $CHROOT/root base-devel
...
:: Running post-transaction hooks...
(1/2) Updating the info directory file...
(2/2) Rebuilding certificate stores...
Initializing machine ID from random generator.
Failed to mount to /home/tobi/chroot/root/sys/fs/cgroup/cpu: Device or resource busy

I did run such a build environment in a lxc container for a few years, but since some time (weeks, months?) I get the error above. When it first popped up, I could temporarily "fix this problem" and build packages by applying "-D /sys/fs/cgroup":

makechrootpkg -c -u -r $HOME/chroot/ -D /sys/fs/cgroup

Offline

Board footer

Powered by FluxBB