[CRIU] CRIU LXC

Thouraya TH thouraya87 at gmail.com
Wed Oct 1 08:55:15 PDT 2014


root at thouraya-Lenovo-3000-N500:/home/thouraya# sudo apt-get dist-upgrade lxc

untu1~precise (en utilisant
.../python3-lxc_1.1.0~alpha1+master~20140930-1924-0ubuntu1~precise_amd64.deb)
...
Dépaquetage de la mise à jour de python3-lxc ...
Préparation du remplacement de liblxc1
1.1.0~alpha1+master~20140930-0357-0ubuntu1~precise (en utilisant
.../liblxc1_1.1.0~alpha1+master~20140930-1924-0ubuntu1~precise_amd64.deb)
...
Dépaquetage de la mise à jour de liblxc1 ...
Paramétrage de liblxc1 (1.1.0~alpha1+master~20140930-1924-0ubuntu1~precise)
...
Paramétrage de python3-lxc
(1.1.0~alpha1+master~20140930-1924-0ubuntu1~precise) ...
dpkg : des problèmes de dépendances empêchent la configuration de lxc :
 lxc dépend de liblxc1 (=
1.1.0~alpha1+master~20140930-0357-0ubuntu1~precise) ; cependant :
  La version de liblxc1 sur le système est
1.1.0~alpha1+master~20140930-1924-0ubuntu1~precise.
dpkg : erreur de traitement de lxc (--configure) :
 problèmes de dépendances - laissé non configuré
Aucun rapport « apport » écrit car MaxReports a déjà été atteint
                                                                dpkg : des
problèmes de dépendances empêchent la configuration de lxc-templates :
 lxc-templates dépend de lxc (>= 0.8.0~rc1-4ubuntu43) ; cependant :
 Le paquet lxc n'est pas encore configuré.
dpkg : erreur de traitement de lxc-templates (--configure) :
 problèmes de dépendances - laissé non configuré
Aucun rapport « apport » écrit car MaxReports a déjà été atteint
                                                                Traitement
des actions différées (« triggers ») pour « libc-bin »...
ldconfig deferred processing now taking place
Des erreurs ont été rencontrées pendant l'exécution :
 lxc
 lxc-templates
E: Sub-process /usr/bin/dpkg returned an error code (1)


?
Bests.

2014-10-01 14:47 GMT+01:00 Serge Hallyn <serge.hallyn at ubuntu.com>:

> Hi,
>
> This was a result of very unfortunate timing.  You managed to get the
> one package which had newer apparmor files without the updated
> packaging to update that for your older release.
>
> Please upgrade now and it *should* be fixed.
>
> -serge
>
> Quoting Thouraya TH (thouraya87 at gmail.com):
> > Hello :)
> >
> > i have this problem :
> >
> > root at thouraya-Lenovo-3000-N500:~# sudo apt-get install lxc
> > Lecture des listes de paquets... Fait
> > Construction de l'arbre des dépendances
> > Lecture des informations d'état... Fait
> > Les paquets supplémentaires suivants seront installés :
> >   lxc-templates
> > Paquets suggérés :
> >   btrfs-tools lvm2 lxctl qemu-user-static
> > Les NOUVEAUX paquets suivants seront installés :
> >   lxc lxc-templates
> > 0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
> > Il est nécessaire de prendre 0 o/696 ko dans les archives.
> > Après cette opération, 2 021 ko d'espace disque supplémentaires seront
> > utilisés.
> > Souhaitez-vous continuer [O/n] ? O
> > Sélection du paquet lxc précédemment désélectionné.
> > (Lecture de la base de données... 180791 fichiers et répertoires déjà
> > installés.)
> > Dépaquetage de lxc (à partir de
> > .../lxc_1.1.0~alpha1+master~20140930-0357-0ubuntu1~precise_amd64.deb) ...
> > Sélection du paquet lxc-templates précédemment désélectionné.
> > Dépaquetage de lxc-templates (à partir de
> >
> .../lxc-templates_1.1.0~alpha1+master~20140930-0357-0ubuntu1~precise_amd64.deb)
> > ...
> > Traitement des actions différées (« triggers ») pour « man-db »...
> > Traitement des actions différées (« triggers ») pour « ureadahead »...
> >
> >
> >
> >
> >
> > *Paramétrage de lxc (1.1.0~alpha1+master~20140930-0357-0ubuntu1~precise)
> > ...AppArmor parser error for /etc/apparmor.d/lxc-containers in
> > /etc/apparmor.d/abstractions/lxc/container-base at line 16: syntax error,
> > unexpected TOK_OPENPAREN, expecting TOK_MODEdpkg : erreur de traitement
> de
> > lxc (--configure) : le sous-processus script post-installation installé a
> > retourné une erreur de sortie d'état 1E: Sub-process /usr/bin/dpkg
> returned
> > an error code (1)*
> >
> > Thanks a lot for help.
> > Best Regards.
> >
> > 2014-09-30 16:42 GMT+01:00 Serge Hallyn <serge.hallyn at ubuntu.com>:
> >
> > > Ok, so you're using the daily ppa.  That should now have the fix
> > > you need, so please upgrade and this should be fixed.
> > >
> > > Quoting Thouraya TH (thouraya87 at gmail.com):
> > > > Hello,
> > > >
> > > > As you have mentionned in this url, http://criu.org/LXC
> > > >
> > > > sudo apt-get install lxc
> > > >
> > > > Thanks you so much for help.
> > > > Best Regards.
> > > >
> > > > 2014-09-29 23:57 GMT+01:00 Serge Hallyn <serge.hallyn at ubuntu.com>:
> > > >
> > > > > How did you get or build your package?
> > > > >
> > > > > Quoting Thouraya TH (thouraya87 at gmail.com):
> > > > > > Thank you so much for answer :)
> > > > > >
> > > > > > But, i didn't understand much what that mean this:
> > > > > > i find only :
> > > > > > https://github.com/lxc/lxc
> > > > > >
> > > > > > Thanks a lot for help.
> > > > > > Bests
> > > > > >
> > > > > > 2014-09-29 18:27 GMT+01:00 Serge Hallyn <serge.hallyn at ubuntu.com
> >:
> > > > > >
> > > > > > > Thanks I suspect yo'uve helped me narrow down the seach :)
> > > > > > >
> > > > > > > In the meantime reverting commit 2d489f9e87f in the lxc git
> > > > > > > tree should fix this for you for now.
> > > > > > >
> > > > > > > Quoting Thouraya TH (thouraya87 at gmail.com):
> > > > > > > > root at thouraya-Lenovo-3000-N500:/home/thouraya# uname -a
> > > > > > > > Linux thouraya-Lenovo-3000-N500 *3.11.0-15-generic
> > > > > *#25~precise1-Ubuntu
> > > > > > > SMP
> > > > > > > > Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> > > > > > > > root at thouraya-Lenovo-3000-N500:/home/thouraya# uname -m
> > > > > > > > x86_64
> > > > > > > >
> > > > > > > > Bests.
> > > > > > > >
> > > > > > > >
> > > > > > > > 2014-09-29 15:20 GMT+01:00 Serge Hallyn <
> serge.hallyn at ubuntu.com
> > > >:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Are you by chance using a 3.8 kernel?  Dwight reported an
> > > identical
> > > > > > > error
> > > > > > > > > with the newest lxc with the 3.8 kernel (which doesn't
> happen
> > > with
> > > > > > > 3.13,
> > > > > > > > > 3.16 or 3.17)
> > > > > > > > >
> > > > > > > > > Quoting Thouraya TH (thouraya87 at gmail.com):
> > > > > > > > > > Thank you for your answer :)
> > > > > > > > > > You mean :
> > > > > > > > > >
> > > > > > > > > > root at thouraya-Lenovo-3000-N500:/home/thouraya# sudo
> > > lxc-start -F
> > > > > > > > > > --logpriority=DEBUG --logfile=/home/thouraya/file.log -n
> u1
> > > > > > > > > > lxc-start: Permission denied - failed to mount a new
> > > instance of
> > > > > > > > > '/dev/pts'
> > > > > > > > > > lxc-start: failed to setup the new pts instance
> > > > > > > > > > lxc-start: failed to setup the container
> > > > > > > > > > lxc-start: invalid sequence number 1. expected 2
> > > > > > > > > > lxc-start: failed to spawn 'u1'
> > > > > > > > > > lxc-start: The container failed to start.
> > > > > > > > > > lxc-start: Additional information can be obtained by
> setting
> > > the
> > > > > > > > > --logfile
> > > > > > > > > > and --logpriority options.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2014-09-29 14:43 GMT+01:00 Tycho Andersen <
> > > > > > > tycho.andersen at canonical.com
> > > > > > > > > >:
> > > > > > > > > >
> > > > > > > > > > > On Mon, Sep 29, 2014 at 12:30:25PM +0100, Thouraya TH
> > > wrote:
> > > > > > > > > > > > Hello,
> > > > > > > > > > > >
> > > > > > > > > > > > Please, i try to test this tutorial:
> http://criu.org/LXC
> > > :
> > > > > > > > > > > >
> > > > > > > > > > > > I followed all instructions, but i have an error
> message
> > > at
> > > > > this
> > > > > > > > > command:
> > > > > > > > > > > > sudo lxc-start -n u1
> > > > > > > > > > > >
> > > > > > > > > > > > root at thouraya-Lenovo-3000-N500:~# lxc-start -n u1
> > > > > > > > > > > > lxc-start: The container failed to start.
> > > > > > > > > > > > lxc-start: To get more details, run the container in
> > > > > foreground
> > > > > > > mode.
> > > > > > > > > > > > lxc-start: Additional information can be obtained by
> > > setting
> > > > > the
> > > > > > > > > > > --logfile
> > > > > > > > > > > > and --logpriority options.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Have you an idea please ?
> > > > > > > > > > >
> > > > > > > > > > > Can you run the container in foreground mode and with
> the
> > > log
> > > > > > > options
> > > > > > > > > > > suggested?
> > > > > > > > > > >
> > > > > > > > > > > Tycho
> > > > > > > > > > >
> > > > > > > > > > > > Thanks a lot for help.
> > > > > > > > > > > > Best Regards.
> > > > > > > > > > >
> > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > CRIU mailing list
> > > > > > > > > > > > CRIU at openvz.org
> > > > > > > > > > > > https://lists.openvz.org/mailman/listinfo/criu
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > CRIU mailing list
> > > > > > > > > > CRIU at openvz.org
> > > > > > > > > > https://lists.openvz.org/mailman/listinfo/criu
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20141001/a4856baf/attachment-0001.html>


More information about the CRIU mailing list