Comment 4 for bug 486944

Revision history for this message
Brian May (brian-microcomaustralia) wrote :

Hmm. I installed schroot and schroot-common (versions 1.4.0-1) from Debian/unstable, and it looks like I have exactly the same problem.

brian@sys11:~/tmp/abc/heimdal-1.3.1.rc2$ schroot -c sid
E: sid-1639ab61-65e0-45e1-afd3-9d993578ba51: Failed to lock chroot: /var/lib/schroot/session/sid-1639ab61-65e0-45e1-afd3-9d993578ba51: Failed to write session file: Permission denied

Can you please explain this statement: "since all the mounting of the filesystems is done as root". How is it done as root? In my case it looks like nothing is being run as root unless I run the schroot command as root.

Are the permissions on these files correct?

brian@sys11:~$ ls -l /usr/lib/schroot
total 856
-rwxr-xr-x 1 root root 277208 2010-01-17 10:08 schroot-listmounts
-rwxr-xr-x 1 root root 301748 2010-01-17 10:08 schroot-mount
-rwxr-xr-x 1 root root 293556 2010-01-17 10:08 schroot-releaselock

-
Brian May