[lxc-devel] symbolic link for /var/lib/lxc
Harald Dunkel
harald.dunkel at aixigo.de
Tue Jul 21 14:10:39 UTC 2015
Hi folks,
please consider this:
# ls -al /var/lib/lxc
lrwxrwxrwx 1 root root 11 Aug 11 2014 /var/lib/lxc -> /export/lxc
# lxc-ls --fancy
NAME STATE IPV4 IPV6 GROUPS AUTOSTART
-------------------------------------------------------------
lxchost01 RUNNING 10.123.96.134 - auto BY-GROUP
lxchost02 RUNNING 10.123.99.37 - auto BY-GROUP
lxchost03 RUNNING 10.123.96.51 - auto BY-GROUP
lxchost04 STOPPED - - auto NO
lxchost05 RUNNING 10.123.96.46 - auto BY-GROUP
lxchost06 RUNNING 10.123.96.55 - auto BY-GROUP
lxchost07 RUNNING 10.123.99.219 - auto BY-GROUP
lxchost08 RUNNING 10.123.96.53 - auto BY-GROUP
lxchost09 RUNNING 10.123.96.76 - auto BY-GROUP
lxchost10 RUNNING 10.123.99.216 - auto BY-GROUP
lxchost11 RUNNING 10.123.99.125 - auto BY-GROUP
lxchost12 STOPPED - - - NO
# lxc-ls -P /export/lxc --fancy
NAME STATE IPV4 IPV6 GROUPS AUTOSTART
----------------------------------------------------
lxchost01 STOPPED - - auto BY-GROUP
lxchost02 STOPPED - - auto BY-GROUP
lxchost03 STOPPED - - auto BY-GROUP
lxchost04 STOPPED - - auto NO
lxchost05 STOPPED - - auto BY-GROUP
lxchost06 STOPPED - - auto BY-GROUP
lxchost07 STOPPED - - auto BY-GROUP
lxchost08 STOPPED - - auto BY-GROUP
lxchost09 STOPPED - - auto BY-GROUP
lxchost10 STOPPED - - auto BY-GROUP
lxchost11 STOPPED - - auto BY-GROUP
lxchost12 STOPPED - - - NO
This looks pretty fragile to me. Shouldn't lxc report the same
state for both paths, no matter what?
Regards
Harri
More information about the lxc-devel
mailing list