cow-store destroys /tmp

DoneSubmitted by John Darrington.
Details
2 participants
  • John Darrington
  • Ludovic Courtès
Owner
unassigned
Severity
normal
J
J
John Darrington wrote on 28 Dec 2016 17:17
(address . bug-guix@gnu.org)
20161228161722.GA11931@jocasta.intra
1. Boot from an installation-os image.2. cp /etc/issue /tmp3. ls -l /tmp [observe that /tmp/issue exists]4. mount -t ext4 /dev/sda1 /mnt5. herd start cow-store /mnt6. ls -l /tmp [observe that /tmp/issue has dissappeared]
J'
-- Avoid eavesdropping. Send strong encrypted email.PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3See http://sks-keyservers.netor any PGP keyserver for public key.
-----BEGIN PGP SIGNATURE-----Version: GnuPG v1
iEYEARECAAYFAlhj5ZIACgkQimdxnC3oJ7NG3ACfd5mfkU8hBJ1QgZaDSGX+Rj5ZouQAnjO9ivgM9FFj104tX7eta79zBhPw=Ejjr-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 2 Jan 2017 21:44
(name . John Darrington)(address . john@darrington.wattle.id.au)(address . 25286@debbugs.gnu.org)
87d1g5chtt.fsf@gnu.org
John Darrington <john@darrington.wattle.id.au> skribis:
Toggle quote (7 lines)> 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 mountpoint is) to /tmp to make sure we have enough disk space if we need tobuild things. This was done in commit0adabad72d58492f08975af0b6b837ebde32a51b in response to a bug report.
Is it a problem for the installer?
Thanks,Ludo’.
J
J
John Darrington wrote on 2 Jan 2017 22:13
(name . Ludovic Court??s)(address . ludo@gnu.org)
20170102211306.GA21120@jocasta.intra
On Mon, Jan 02, 2017 at 09:44:46PM +0100, Ludovic Court??s wrote: John Darrington <john@darrington.wattle.id.au> 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?
It's not an insurmountable problem. But it is a bit annoying.
J'
-- Avoid eavesdropping. Send strong encrypted email.PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3See http://sks-keyservers.netor any PGP keyserver for public key.
-----BEGIN PGP SIGNATURE-----Version: GnuPG v1
iEYEARECAAYFAlhqwmIACgkQimdxnC3oJ7PARgCfTDzavjSmaBqQY+pvzpsLPbL6NKoAn0heNK2mocYpFxowIhnp+9l4g7Tl=r1H4-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 3 Jan 2017 00:35
control message for bug #25286
(address . control@debbugs.gnu.org)
877f6d6nnt.fsf@gnu.org
tags 25286 notabugclose 25286
?
Your comment

This issue is archived.

To comment on this conversation send email to 25286@debbugs.gnu.org