[lxc-users] lxc-start-ephemeral mistakenly using zfs?

Dan Kegel dank at kegel.com
Tue Nov 28 05:40:34 UTC 2017


Hi all,
on ubuntu 17.10, I'm having trouble getting lxc-start-ephemeral to work...
it seems to mistakenly think it needs to use zfs.

$ strace -o grog -f lxc-start-ephemeral --orig rbb-ubu1710-2-ubu1710
--name fred -- /bin/sh ls
lxc-start-ephemeral is deprecated in favor of lxc-copy

setting rootfs to .%s. /var/lib/lxc/fred/rootfs
The container 'fred' failed to start.
$ grep zfs grog
20660 execve("/bin/sh", ["sh", "-c", "zfs list 2> /dev/null"], [/* 25
vars */]) = 0
...


I don't recall every giving lxc any hint of any sort that it should use zfs,
so why is it trying?

/var/lib/lxc/rbb-ubu1710-2-ubu1710/config contains no mention of zfs
(see below).

Did I miss a memo?
- Dan

# Template used to create this container: /usr/share/lxc/templates/lxc-ubuntu
# Parameters passed to the template: -r artful --bindhome buildbot
# Template script checksum (SHA-1): 865a6e4050da6a45575473b0a71f84ced41604fe
# For additional config options, please look at lxc.container.conf(5)

# Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
# (Be aware this has security implications)


# Common configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf

# Container specific configuration
lxc.rootfs.path = dir:/var/lib/lxc/rbb-ubu1710-2-ubu1710/rootfs
lxc.uts.name = rbb-ubu1710-2-ubu1710
lxc.arch = amd64

# Network configuration
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:fa:02:60
lxc.mount.entry = /home/buildbot home/buildbot none bind 0 0


More information about the lxc-users mailing list