diff options
author | Roger Leigh <rleigh@debian.org> | 2013-04-01 17:52:19 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2013-04-01 23:57:34 +0100 |
commit | 114370530e429ef59e1ce2d31052bcadcc03738e (patch) | |
tree | c9790e6051bb8f2bad8de1a42fbce3af69c7bd54 /doc | |
parent | b187106da3bde7e16941229899a590bcf535b2b7 (diff) | |
download | schroot-114370530e429ef59e1ce2d31052bcadcc03738e.tar.gz |
Remove device locking
- All use of liblockdev has been removed.
- sbuild::device_lock has been removed; it may be restored using
flock(2) at a later date, but the flock semantics are different
to liblockdev persistent LCK.. lockfiles.
- sbuild::chroot_block_device and sbuild::chroot_lvm_snapshot no
longer use sbuild::device_lock; in reality, the use of
device_lock here was ineffectual at best, so should not result
in unsafe use of block devices, since we rely on lvcreate/
lvremove to do appropriate locking for us. For plain block
devices and source chroots, these are not session-capable and
so locking is pointless here anyway.
- setupd.5/05lvm no longer releases locks with schroot-releaselock.
- schroot-releaselock has been removed.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sbuild.dox.in | 3 | ||||
-rw-r--r-- | doc/schroot.dox.in | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/doc/sbuild.dox.in b/doc/sbuild.dox.in index cf4abbc3..6961843c 100644 --- a/doc/sbuild.dox.in +++ b/doc/sbuild.dox.in @@ -1296,8 +1296,7 @@ INCLUDE_FILE_PATTERNS = # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = SBUILD_FEATURE_DEVLOCK \ - SBUILD_FEATURE_PAM \ +PREDEFINED = SBUILD_FEATURE_PAM \ SBUILD_FEATURE_PERSONALITY \ SBUILD_FEATURE_BLOCKDEV \ SBUILD_FEATURE_BTRFSSNAP \ diff --git a/doc/schroot.dox.in b/doc/schroot.dox.in index ab47bea7..a7438f6a 100644 --- a/doc/schroot.dox.in +++ b/doc/schroot.dox.in @@ -577,7 +577,6 @@ WARN_LOGFILE = schroot.log INPUT = @top_srcdir@/bin/schroot-base \ @top_srcdir@/bin/schroot \ @top_srcdir@/bin/schroot-listmounts \ - @top_srcdir@/bin/schroot-releaselock \ @top_srcdir@/bin/dchroot \ @top_srcdir@/bin/dchroot-dsa |