You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LXC version 5.0.3
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Warning: newuidmap is not setuid-root
Warning: newgidmap is not setuid-root
Network namespace: enabled
--- Control groups ---
Cgroups: enabled
Cgroup namespace: enabled
Cgroup v1 mount points:
Cgroup v2 mount points:
- /sys/fs/cgroup
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, loaded
Advanced netfilter: enabled, loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, loaded
--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
Issue description
It seems that there's no actual difference between these two.
According to documentations, specially the manpage. -e option makes lxc-copy to create a copy that is a snapshot and is ephemeral. Combination of -D and -e flags make lxc-copy to create a copy that is a snapshot but is not ephemeral, which is exactly what -s implied to do.
Steps to reproduce
Run sudo lxc-copy -n mycontainer -N copy1 -s
Run sudo lxc-copy -n mycontainer -N copy2 -e -D
Run sudo diff -y /var/lib/lxc/copy1/config /var/lib/lxc/copy2/config
The text was updated successfully, but these errors were encountered:
-e option makes lxc-copy to create a copy that is a snapshot and is ephemeral. Combination of -D and -e flags make lxc-copy to create a copy that is a snapshot but is not ephemeral, which is exactly what -s implied to do.
As far as I can see from the original commit description this is intended behavior.
Required information
lxc-checkconfig
:Issue description
It seems that there's no actual difference between these two.
According to documentations, specially the manpage.
-e
option makeslxc-copy
to create a copy that is a snapshot and is ephemeral. Combination of-D
and-e
flags makelxc-copy
to create a copy that is a snapshot but is not ephemeral, which is exactly what-s
implied to do.Steps to reproduce
sudo lxc-copy -n mycontainer -N copy1 -s
sudo lxc-copy -n mycontainer -N copy2 -e -D
sudo diff -y /var/lib/lxc/copy1/config /var/lib/lxc/copy2/config
The text was updated successfully, but these errors were encountered: