Hi,
I have created a second bridge interface which is lxdbr2 and a profile with name “test”.
test@host:~$ lxc profile show test
config: {}
description: Default LXD profile
devices:
eth0:
name: eth0
network: lxdbr2
security.ipv4_filtering: "true"
security.mac_filtering: "true"
type: nic
root:
path: /
pool: default
type: disk
name: test
used_by:
- /1.0/instances/debian
- /1.0/instances/alpine
When I want to set the profile property, I get the following errror.
test@host:~$ lxc profile device set test eth0 security.ipv6_filtering=true
Error: The following instances failed to update (profile change still saved):
- Project: default, Instance: debian: Failed to update device "eth0": security.ipv6_filtering requires br_netfilter be loaded: open /proc/sys/net/bridge/bridge-nf-call-ip6tables: no such file or directory
Instead of that error, I get the following as well.
test@host:~$ lxc launch images:alpine/edge/cloud alpine -p test
Creating alpine
Starting alpine
Error: Failed preparing container for start: Failed to start device "eth0": security.ipv6_filtering requires br_netfilter be loaded: open /proc/sys/net/bridge/bridge-nf-call-ip6tables: no such file or directory
Try `lxc info --show-log local:alpine` for more info
It seems to me a little bug, can someone assist me?
Thanks.