brian@sys11:~/tmp/abc/heimdal-1.3.1.rc2$ ls -l /usr/bin/schroot -rwsr-xr-x 1 root root 1031200 2010-01-17 10:08 /usr/bin/schroot brian@sys11:~/tmp/abc/heimdal-1.3.1.rc2$ schroot -c sid E: sid-8a87aa76-6bb2-4d92-b055-dcec95c12052: Failed to lock chroot: /var/lib/schroot/session/sid-8a87aa76-6bb2-4d92-b055-dcec95c12052: Failed to write session file: Permission denied brian@sys11:~/tmp/abc/heimdal-1.3.1.rc2$ sudo chmod 777 /var/lib/schroot/session brian@sys11:~/tmp/abc/heimdal-1.3.1.rc2$ schroot -c sid E: 05lvm: File descriptor 4 left open E: 05lvm: File descriptor 5 left open E: 05lvm: File descriptor 9 left open E: 05lvm: WARNING: Running as a non-root user. Functionality may be unavailable. E: 05lvm: /dev/mapper/control: open failed: Permission denied E: 05lvm: Failure to communicate with kernel device-mapper driver. E: 05lvm: /dev/mapper/control: open failed: Permission denied E: 05lvm: Failure to communicate with kernel device-mapper driver. E: 05lvm: Incompatible libdevmapper 1.02.27 (2008-06-25)(compat) and kernel driver E: sid-5607b79f-7734-4ec2-b346-46a150617ff7: Chroot setup failed: stage=setup-start
schroot might be setuid root, but it is acting very much like it isn't.
brian@sys11: ~/tmp/abc/ heimdal- 1.3.1.rc2$ ls -l /usr/bin/schroot ~/tmp/abc/ heimdal- 1.3.1.rc2$ schroot -c sid 6bb2-4d92- b055-dcec95c120 52: Failed to lock chroot: /var/lib/ schroot/ session/ sid-8a87aa76- 6bb2-4d92- b055-dcec95c120 52: Failed to write session file: Permission denied ~/tmp/abc/ heimdal- 1.3.1.rc2$ sudo chmod 777 /var/lib/ schroot/ session ~/tmp/abc/ heimdal- 1.3.1.rc2$ schroot -c sid control: open failed: Permission denied control: open failed: Permission denied 25)(compat) and kernel driver 7734-4ec2- b346-46a150617f f7: Chroot setup failed: stage=setup-start
-rwsr-xr-x 1 root root 1031200 2010-01-17 10:08 /usr/bin/schroot
brian@sys11:
E: sid-8a87aa76-
brian@sys11:
brian@sys11:
E: 05lvm: File descriptor 4 left open
E: 05lvm: File descriptor 5 left open
E: 05lvm: File descriptor 9 left open
E: 05lvm: WARNING: Running as a non-root user. Functionality may be unavailable.
E: 05lvm: /dev/mapper/
E: 05lvm: Failure to communicate with kernel device-mapper driver.
E: 05lvm: /dev/mapper/
E: 05lvm: Failure to communicate with kernel device-mapper driver.
E: 05lvm: Incompatible libdevmapper 1.02.27 (2008-06-
E: sid-5607b79f-
schroot might be setuid root, but it is acting very much like it isn't.