[buildd-tools-devel] Bug#584961: schroot: lvm-snapshot device lock permission failure
Zach Carter
z.carter at f5.com
Mon Jun 7 20:30:22 UTC 2010
Package: schroot
Version: 1.2.3
Severity: normal
When a non-root user is accessing an lvm snapshot chroot, the call to lockdev
is made with insufficient permissions, resulting in this error:
E: test-f13-401b1c48-570f-48bb-8389-4b6d44f18577: Failed to lock chroot:
/dev/fastvg/f13lv: Failed to lock device: Failed to lock device
This issue can also be reproduced in schroot 1.4.2
Additional details are available in Fedora bug 600638 here:
https://bugzilla.redhat.com/show_bug.cgi?id=600636
The patch proposed there consists of moving the setuid call to an earlier
point before the call to lockdev is made.
-Zach
More information about the Buildd-tools-devel
mailing list