diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ 0.6.11 (unreleased) +- mount /dev/shm as --bind like other mount points (mga#7329) 0.6.10 - fix false positive when looking for errors diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index ca0882e..0f196e0 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -88,7 +88,7 @@ sub clean_and_build_chroot { sudo($config, "--umount", "$chroot/proc"); return; } - if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) { + if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) { plog('WARNING', "Failed to mount /dev/shm"); } if ($run->{icecream}) { |