[Buildd-tools-devel] Bug#428808: Bug#428808: Bug#428808: schroot: Fails if chroot's /etc/resolv.conf already points to the right resolv.conf

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Jan 13 23:47:29 UTC 2008


tags 428808 + pending
thanks
Raphael Hertzog <hertzog at debian.org> writes:

> On Sun, 13 Jan 2008, Roger Leigh wrote:
>> The attached patch implements your md5sum suggestion, which I think is
>> nice and clean.
>> 
>> The only case I can think of where this might fail is a race if either
>> copy is modified during the comparison, leading to failure as it tries
>> to copy over itself.  We can probably add a stat check too if this is
>> needed.
>> 
>> Is this OK with you?
>
> Yes, it's fine, thank you.

Super, committed with the addition of device/inode stat with stat(1).


-- 
  .''`.  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: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080113/75816d69/attachment.pgp 


More information about the Buildd-tools-devel mailing list