[lxc-devel] [lxd/master] Fix 'how to mount home directory' shiftfs FAQ

jtroup on Github lxc-bot at linuxcontainers.org
Sun May 17 00:00:55 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 471 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200516/3d695818/attachment.bin>
-------------- next part --------------
From c19ec23ad7d7dfafda6dfe84bdc5d54c047a8041 Mon Sep 17 00:00:00 2001
From: James Troup <james.troup at canonical.com>
Date: Sun, 17 May 2020 01:00:17 +0100
Subject: [PATCH] Fix 'how to mount home directory' shiftfs FAQ

When I tried 'shifted=true' with lxd 4.1 snap on Ubuntu 20.04, I got this:

Error: Invalid devices: Device validation failed "test4src": Invalid device option "shifted"
---
 doc/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/index.md b/doc/index.md
index 1d1adb99ac..bf6ccaea45 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -285,7 +285,7 @@ lxc config device add container-name home disk source=/home/$USER path=/home/ubu
 
 For unprivileged containers, you will also need one of:
 
- - Pass `shifted=true` to the `lxc config device add` call. This depends on `shiftfs` being supported (see `lxc info`)
+ - Pass `shift=true` to the `lxc config device add` call. This depends on `shiftfs` being supported (see `lxc info`)
  - raw.idmap entry (see [Idmaps for user namespace](userns-idmap.md))
  - Recursive POSIX ACLs placed on your home directory
 


More information about the lxc-devel mailing list