lxc-start: falha ao gerar

3

Eu tentei seguir as etapas para criar e iniciar um contêiner lxc a partir daqui: link

Meu host está executando um Precise (12.04) atualizado de 64 bits e estou tentando iniciar um contêiner preciso. Eu criei o contêiner assim:

sudo lxc-create -t ubuntu -n precise -- -r precise

e pareceu completar com sucesso. Quando tento começar, obtenho:

$ sudo lxc-start -n precise
lxc-start: failed to spawn 'precise'

e kern.log diz:

Sep 27 09:27:15 hans kernel: [3738467.397433] device vethrtJYFO entered promiscuous mode
Sep 27 09:27:15 hans kernel: [3738467.399113] ADDRCONF(NETDEV_UP): vethrtJYFO: link is not ready
Sep 27 09:27:15 hans kernel: [3738467.409192] init: Failed to spawn network-interface (vethLNDNFP) pre-start process: unable to change root directory: No such file or directory
Sep 27 09:27:15 hans kernel: [3738467.412190] init: Failed to spawn network-interface-security (network-interface/vethLNDNFP) pre-start process: unable to change root directory: No such file or directory
Sep 27 09:27:15 hans kernel: [3738467.413059] init: Failed to spawn network-interface (vethLNDNFP) post-stop process: unable to change root directory: No such file or directory
Sep 27 09:27:15 hans kernel: [3738467.417246] init: Failed to spawn network-interface (vethrtJYFO) pre-start process: unable to change root directory: No such file or directory
Sep 27 09:27:15 hans kernel: [3738467.419247] init: Failed to spawn network-interface-security (network-interface/vethrtJYFO) pre-start process: unable to change root directory: No such file or directory
Sep 27 09:27:15 hans kernel: [3738467.420327] init: Failed to spawn network-interface (vethrtJYFO) post-stop process: unable to change root directory: No such file or directory
    
por NeilenMarais 27.09.2013 / 09:42

1 resposta

6

Acho que o pacote cgroup-lite não está instalado. Experimente:

$ sudo apt-get install cgroup-lite
$ sudo cgroups-mount

E execute o contêiner novamente.

    
por zasimov 04.12.2013 / 14:03

Tags