[Buildd-tools-devel] Bug#492316: Bug#492316: setup.d script to do fsck -a

Roger Leigh rleigh at whinlatter.ukfsn.org
Fri Jul 25 10:41:23 UTC 2008


martin f krafft <madduck at debian.org> writes:

> I don't understand why setup.d/10mount says that fsck doesn't like
> to be run noninteractively.

This turned out to be a problem with fscking LVM snapshots of live
ext3 filesystems.  They would occasionally fail to fsck due to being
in an inconsistent state (because the snapshot is of the block dev,
the filesystem metadata isn't necessarily synched on snapshot).  With
other filesystems, e.g. block devices, we can't be sure they aren't
already mounted somewhere else, where fsck would be dangerous (though
fsck should pick that up).

> Anyway, I factored fsck out into a separate setup script, and it
> would rock if you could include that (in lenny!!!) :)

I will do.  I'll probably add a FSCK=true option to
/etc/schroot/script-defaults to allow the behaviour to be customised.

> Note I made it GPLv2 because I don't support GPLv3. If you have
> a problem with that, you have permission to change it to whatever
> suits you.

Thanks!


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/20080725/52dabbef/attachment.pgp 


More information about the Buildd-tools-devel mailing list