The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7375

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
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"
From c19ec23ad7d7dfafda6dfe84bdc5d54c047a8041 Mon Sep 17 00:00:00 2001
From: James Troup <james.tr...@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
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to