schroot: 20copyfiles: cp: cannot create regular file '.../etc/resolv.conf'
Hello,
I usually build packages in a sid chroot using sbuild, but that stopped
working at some point:
% sudo schroot -c source:unstable-amd64-sbuild -d /root
E: 20copyfiles: cp: cannot create regular file '/var/run/schroot/mount/unstable-amd64-sbuild-0d2f358b-da5e-41fa-8221-d416e21f9d2e/etc/resolv.conf': No such file or directory
E: unstable-amd64-sbuild-19f85771-f85c-4a5d-89da-3c6644ff7005: Chroot setup failed: stage=setup-start
zsh: exit 1
The 'cp' fails because
/var/run/schroot/mount/unstable-amd64-sbuild-0d2f358b-da5e-41fa-8221-d416e21f9d2e/
exists but does not have an "etc/" subdirectory.
It works fine with a jessie schroot on the same host.
The host runs jessie. schroot version is 1.6.10-2~bpo8+1.
What might be the problem?
Thanks,
Daniel
Reply to: