Abhijith PA writes:
> Hello. > > Setting up https://salsa.debian.org/ruby-team/meta/blob/master/setup > fails in sid machines with following error. > > ----------------------------------------------------------------- > lxc-create: autopkgtest-unstable-armhf: parse.c: > lxc_file_for_each_line_mmap: 142 Failed to parse config file > "/etc/lxc/default.conf" at line "lxc.net.type = empty" > lxc-create: autopkgtest-unstable-armhf: storage/btrfs.c: btrfs_create: > 952 Inappropriate ioctl for device - Failed to create btrfs subvolume > "/var/lib/lxc/autopkgtest-unstable-armhf/rootfs" > lxc-create: autopkgtest-unstable-armhf: storage/zfs.c: zfs_create: 764 > Failed to create zfs dataset "zfs:lxc/autopkgtest-unstable-armhf": > lxc-create: autopkgtest-unstable-armhf: utils.c: run_command: 1615 > Failed to exec command > lxc-create: autopkgtest-unstable-armhf: storage/lvm.c: do_lvm_create: > 185 Failed to create logical volume "autopkgtest-unstable-armhf": > lxc-create: autopkgtest-unstable-armhf: utils.c: run_command: 1615 > Failed to exec command > lxc-create: autopkgtest-unstable-armhf: storage/lvm.c: lvm_create: 657 > Error creating new logical volume > "lvm:/dev/lxc/autopkgtest-unstable-armhf" of size "1073741824 bytes" > lxc-create: autopkgtest-unstable-armhf: parse.c: > lxc_file_for_each_line_mmap: 142 Failed to parse config file > "/var/lib/lxc/autopkgtest-unstable-armhf/config" at line "lxc.net.type = > empty" > lxc-create: autopkgtest-unstable-armhf: tools/lxc_create.c: main: 327 > Failed to create container autopkgtest-unstable-armhf > ------------------------------------------------------------------ > > > I tried to update the config file with lxc-update-config -c > /etc/lxc/default.conf which results in > > ------------------------------------------------------------------- > lxc-start: autopkgtest-unstable-amd64.new: lxccontainer.c: > wait_on_daemonized_start: 842 Received container state "STOPPING" > instead of "RUNNING" > lxc-start: autopkgtest-unstable-amd64.new: tools/lxc_start.c: main: 330 > The container failed to start > lxc-start: autopkgtest-unstable-amd64.new: tools/lxc_start.c: main: 333 > To get more details, run the container in foreground mode > lxc-start: autopkgtest-unstable-amd64.new: tools/lxc_start.c: main: 336 > Additional information can be obtained by setting the --logfile and > --logpriority options > lxc-destroy: autopkgtest-unstable-amd64.new: tools/lxc_destroy.c: main: > 271 Destroyed container autopkgtest-unstable-amd64.new > -------------------------------------------------------------------- > > Anyone have any workaround for this lxc issue ? > Some of us are facing the same issue and a workaround for this would definitely help. Praveen reported a bug with LXC as well where he was not able to make redis-server work properly inside LXC container. > > --abhijith