From 0dd50931870a077084c5ac108b6db5e7c4908784 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sun, 21 Feb 2021 14:46:56 -0600 Subject: [PATCH] Debian/Ubuntu: Bring back creating /mnt/run/lock This should fix issues with zed. Closes #110 Signed-off-by: Richard Laager --- docs/Getting Started/Debian/Debian Buster Root on ZFS.rst | 2 ++ docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst index c5fa022..54ab170 100644 --- a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst @@ -501,6 +501,7 @@ Step 3: System Installation mkdir /mnt/run mount -t tmpfs tmpfs /mnt/run + mkdir /mnt/run/lock A tmpfs is recommended later, but if you want a separate dataset for ``/tmp``:: @@ -604,6 +605,7 @@ Step 4: System Configuration mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys mount -t tmpfs tmpfs /mnt/run + mkdir /mnt/run/lock chroot /mnt /usr/bin/env DISK=$DISK bash --login **Note:** This is using ``--rbind``, not ``--bind``. diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst index 8b919b1..5fa77e7 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst @@ -627,6 +627,7 @@ Step 3: System Installation mkdir /mnt/run mount -t tmpfs tmpfs /mnt/run + mkdir /mnt/run/lock A tmpfs is recommended later, but if you want a separate dataset for ``/tmp``:: @@ -1198,6 +1199,7 @@ If needed, you can chroot into your installed environment:: mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys mount -t tmpfs tmpfs /mnt/run + mkdir /mnt/run/lock chroot /mnt /bin/bash --login mount -a