[CRIU] ubuntu container dump error
riya khanna
riyakhanna1983 at gmail.com
Fri Jun 6 01:29:26 PDT 2014
Yes, that does the trick. Thanks! I thought I'd tried that. Never mind.
However, restore fails:
(00.015354) 1: Error (mount.c:1755): chdir(/root/test-lxc-root)
failed: No such file or directory
(00.076583) Error (cr-restore.c:1050): 32397 exited, status=1
(00.076632) Error (cr-restore.c:1613): Restoring FAILED.
On Fri, Jun 6, 2014 at 1:23 AM, Andrey Vagin <avagin at parallels.com> wrote:
> On Fri, Jun 06, 2014 at 12:06:59PM +0400, Cyrill Gorcunov wrote:
>> On Fri, Jun 06, 2014 at 01:00:17AM -0700, riya khanna wrote:
>> > $ sudo lxc-attach -n test ps axef
>> > 548 tty7 Ss+ 0:00 /sbin/getty -8 38400 console
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
>> > JOB=rc INSTANCE= RESULT=ok RUNLEVEL=2 PREVLEVEL
>> > 550 lxc/tty1 Ss+ 0:00 /sbin/getty -8 38400 tty1
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
>> > JOB=rc INSTANCE= RESULT=ok RUNLEVEL=2 PREVLEVEL=N
>> > 845 ? Ss 0:00 /sbin/getty -8 38400 tty4
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
>> > RUNLEVEL=2 PREVLEVEL=N CONTAINER=lxc UPSTART_EVENT
>> > 847 ? Ss 0:00 /sbin/getty -8 38400 tty2
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
>> > RUNLEVEL=2 PREVLEVEL=N CONTAINER=lxc UPSTART_EVENT
>> > 849 ? Ss 0:00 /sbin/getty -8 38400 tty3
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
>> > RUNLEVEL=2 PREVLEVEL=N CONTAINER=lxc UPSTART_EVENT
>>
>> Andrew, any clue about lxc ptys setup?
>
> Riya, do you have "lxc.tty = 0" in the config file?
>
> http://criu.org/LXC
More information about the CRIU
mailing list