Bug#401180: [Buildd-tools-devel] Bug#401180: schroot: using a symlink for /var/lib/schroot/mount causes /home and /tmp to be erased

Roger Leigh rleigh at whinlatter.ukfsn.org
Fri Dec 15 01:21:06 CET 2006


tags 401180 + pending
thanks

Lucas Nussbaum <lucas at lucas-nussbaum.net> writes:

> On 12/12/06 at 21:28 +0000, Roger Leigh wrote:
>> I have attached a patch which I believe addresses this problem.
>> Please could you build schroot with the patch applied and test under
>> the same conditions (perhaps with a backup beforehand), to see if this
>> fixes things.  I have tested it myself, and I do think it works, but I
>> would appreciate some confirmation before uploading a fixed version.
>
> I confirm that the patch seems to work:
>
> (I've disabled bind-mounting of /home in /etc/schroot/setup.d/10mount)

A wise precaution!

> After thinking about it for a while, I exited the chroot, and it didn't
> empty my /tmp. :-)

Thanks for your bravery in testing this one!   I'll upload a fixed
package this weekend.


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: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20061215/9e535f33/attachment.pgp


More information about the Buildd-tools-devel mailing list