[Buildd-tools-devel] Bug#488726: Bug#488726: schroot: Doesn't pass mount options when mounting lvm snapshots

Roger Leigh rleigh at whinlatter.ukfsn.org
Mon Jun 30 21:52:03 UTC 2008


Timothy G Abbott <tabbott at MIT.EDU> writes:

> I've traced this down to the following code in 
> /etc/schroot/setup.d/10mount:
>
>      elif [ "$CHROOT_TYPE" = "lvm-snapshot" ]; then
>          CHROOT_MOUNT_OPTIONS=""
>          CHROOT_MOUNT_DEVICE="$CHROOT_LVM_SNAPSHOT_DEVICE"
>      fi
>
> Now, assuming there's a good reason why the mount options for 
> lvm-snapshots are cleared (perhaps someone wants different mount options 
> for accessing the source and the snapshots?), it would be good to have an 
> option to specify the snapshot's mount options.
>
> If there isn't, I guess the CHROOT_MOUNT_OPTIONS="" line should be deleted 
> (that's what I've done for now).

I can't at present think of a good reason for the current behaviour;
it was probably done to make it look tidy, but that's completely wrong
in this case!  I'll delete the line as you have done.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080630/3669fd96/attachment.pgp 


More information about the Buildd-tools-devel mailing list