Subject: Re: bug#25286: cow-store destroys /tmp

From: [email-masked] (Ludovic Courtès)
Date: Mon, 02 Jan 2017 21:44:46 +0100

John Darrington <[email-masked]> skribis:

> 1. Boot from an installation-os image.
> 2. cp /etc/issue /tmp
> 3. ls -l /tmp    [observe that /tmp/issue exists]
> 4. mount -t ext4 /dev/sda1 /mnt
> 5. herd start cow-store /mnt
> 6. ls -l /tmp  [observe that /tmp/issue has dissappeared]

Indeed, ‘cow-store’ bind-mounts /mnt/tmp (or whatever the target mount
point is) to /tmp to make sure we have enough disk space if we need to
build things.  This was done in commit
0adabad72d58492f08975af0b6b837ebde32a51b in response to a bug report.

Is it a problem for the installer?

Thanks,
Ludo’.