Comment 2 for bug 135397

Revision history for this message
Roger Leigh (rleigh) wrote :

I'm not entirely sure I am getting the point of this bug. Is there a bug at all here?

schroot gets the login shell from the passwd database using getpwuid/getpwnam. In the first case, it appears that the shell is set to /usr/bin/schroot, which unsurprisingly doesn't exist inside the chroot, so the session fails. In the second case, it's running a bash login shell (I'm assuming a different passwd database here, or there is a nasty bug!), though I'm not sure where the sudo message comes from unless you added some sudo use to your .bash_profile or something.

Regards,
Roger