Quoting KATOH Yasufumi ([email protected]): > >>> On Thu, 30 Oct 2014 19:07:58 +0900 > in message "Re: [lxc-devel] lxc-clone outputs some logs": > > > > Hi, > > > > After applying commit edf7734 "overlay and aufs clone_paths: be more > > > robust", clone was completed successfully but lxc-clone on unpriv env > > > is now output the following log: > > > > $ lxc-clone -o ct02 -n test -s -B overlayfs > > > lxc_container: conf.c: chown_mapped_root: 3649 Error stat > > > /home/karma/.local/share/lxc/test/delta0 > > > Created container test as snapshot of ct02 > > > lxc_container: lxccontainer.c: copy_file: 2303 copy destination > > > /home/karma/.local/share/lxc/test/lxc_rdepends exists > > > Created container test as snapshot of ct02 > > > ct02 is the cloned container with overlayfs. > > I find out other problem. After applying that patch, in part of the > beginning of overlayfs_clonepath function, new->dest variable is, > for example: > > "overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local/share/lxc/ct02/delta0" > > So, as the result, run "mkdir_p(new->dest, 0755)", and create dir in > current dir. > > $ lxc-clone -o ct02 -n test -s -B overlayfs > lxc_container: conf.c: chown_mapped_root: 3649 Error stat > /home/karma/.local/share/lxc/test/delta0 > Created container test as snapshot of ct02 > lxc_container: lxccontainer.c: copy_file: 2303 copy destination > /home/karma/.local/share/lxc/test/lxc_rdepends exists > Created container test as snapshot of ct02 > $ find overlayfs\:/ > overlayfs:/ > overlayfs:/home > overlayfs:/home/karma > overlayfs:/home/karma/.local > overlayfs:/home/karma/.local/share > overlayfs:/home/karma/.local/share/lxc > overlayfs:/home/karma/.local/share/lxc/ct01 > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs: > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local/share > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local/share/lxc > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local/share/lxc/test > overlayfs:/home/karma/.local/share/lxc/ct01/rootfs:/home/karma/.local/share/lxc/test/delta0
Sorry, I'm not really following, and I guess I haven't been using overlayfs clones much lately. Do you how to fix it, and can you send a patch? thanks much, -serge _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
