Re: Warnings when doing a chroot.
On Sat, May 11, 2013 at 08:32:38PM +0530, mind entropy wrote:
> I am on ubuntu 13.04 and I get warnings when I do a wheezy schroot. I do
> a sudo schroot -u root -c wheezy
>
> I get the following warnings:
>
> W: Failed to change to directory ‘/srv/chroot’: No such file or directory
> I: The directory does not exist inside the chroot. Use the --directory
> option to run the command in a different directory.
> W: Falling back to directory ‘/root’
This is most likely unrelated to your configuration. Are you running
schroot from "/srv/chroot" on the host system? If so, this does not
exist in the chroot, so it's just warning you that it can't change
to the same directory /inside/ the chroot before it starts an
interactive shell. Try running schroot from the root directory, or
adding an options like "-d /", and you should see the warning
disappear.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
Reply to: