[lxc-users] unable to set security.protection.delete on a new LXD server

Stéphane Graber stgraber at stgraber.org
Wed Jul 3 05:09:14 UTC 2019


Do you maybe have both the deb and snap installed on that system and
are in fact interacting with the deb rather than snap?

dpkg -l | grep lxd

And if you do have both, then run `lxd.migrate` to transition the data
over to the snap.

On Tue, Jul 2, 2019 at 9:52 PM Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>
> Just installed lxd from snap on a Ubuntu 18.04 server and launched the
> first container:
>
> # snap list
> Name              Version    Rev    Tracking  Publisher   Notes
> amazon-ssm-agent  2.3.612.0  1335   stable/…  aws✓        classic
> core              16-2.39.3  7270   stable    canonical✓  core
> lxd               3.14       11098  stable    canonical✓  -
>
>
> # lxc launch ubuntu:18.04 terraform
> Creating terraform
> Starting terraform
>
>
> However, I'm not able to set security.protection.delete for containers
> created here:
>
> # lxc config set terraform security.protection.delete true
> Error: Invalid config: Unknown configuration key:
> security.protection.delete
>
>
> Also doesn't work when I try to set it via "lxc config edit".
>
> This works perfectly on other LXD servers, so I'm a bit puzzled why it
> won't work here?
>
>
> Tomasz Chmielewski
> https://lxadm.com
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



-- 
Stéphane


More information about the lxc-users mailing list