On Fri, Nov 08, 2013 at 10:28:57PM +0100, Cyril Brulebois wrote: > Roger Leigh <rle...@codelibre.net> (2013-11-06): > > Does > > > > schroot -r -c test -- getent group sbuild > > > > succeed or fail? > > Fail: > | kibi@arya:~$ schroot -r -c test -- getent group sbuild > | E: Failed to change to directory ‘/home/kibi’: 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. > | Hangup > | kibi@arya:~$ echo $? > | 129
This is probably due to the home directory not existing in the chroot, and so is probably unrelated to the sbuild failure (unless we're not running that check in the root). Does adding "-d /" to make it run in the chroot root, which should never fail, then make this work? > → Reading the log again, and checking the initial output, the error is > EPERM, not exactly a getent failure? Something cgroup-ish could explain > some strange user/group issues, when running and storing things in the > chroot, maybe? I think that's just the above issue with the directory not existing. Hopefully the result with "-d /" might provide more information. 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org