Results 1 to 3 of 3

Thread: 13.04: Can't get LXC to work

  1. #1
    Join Date
    Jul 2012
    Beans
    5

    13.04: Can't get LXC to work

    Hi!
    I recently installed LXC on my Ubuntu 13.04. But can't get it to work.
    For the installation I followed the LXC guide in the german wiki. But this guide has been written for Ubuntu 12.04.

    When trying to start LXC I'm getting the following error:
    Code:
    mine@zentrale:~$ sudo lxc-execute -n cont-test /bin/bash
    lxc-execute: Permission denied - failed to change apparmor profile to lxc-container-default
    lxc-execute: invalid sequence number 1. expected 4
    lxc-execute: failed to spawn 'cont-test'
    To install LXC I installed the following packages:

    bridge-utils
    lxc

    Does anyone have an idea how I can solve that issue?

    Thanks,
    MiNe

  2. #2
    Join Date
    Jul 2013
    Beans
    20

    Re: 13.04: Can't get LXC to work

    Did a google search for lxc-execute: invalid sequence number 1. expected 4

    Stephane Graber's an expert and his reply here might help you:

    http://comments.gmane.org/gmane.linux.kernel.containers.lxc.devel/2492

  3. #3
    Join Date
    Jul 2013
    Beans
    20

    Re: 13.04: Can't get LXC to work

    This is resolved. Turned out the linux kernel I was using was somehow the problem.
    Installing a new kernel fixed LXC for me.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •