[CRIU] CRIU LXC error

Andrew Vagin avagin at parallels.com
Tue Feb 11 05:17:41 PST 2014


On Tue, Feb 11, 2014 at 04:47:34PM +0400, Cyrill Gorcunov wrote:
> On Tue, Feb 11, 2014 at 04:26:09PM +0400, Cyrill Gorcunov wrote:
> > On Tue, Feb 11, 2014 at 05:32:46PM +0545, Urgen Sherpa wrote:
> > >    /usr/lib/locale/C.UTF-8/LC_CTYPE (path inode=2883985)
> > >    getty   2700 root    0u   CHR    5,1      0t0  937203 /dev/console
> > >    getty   2700 root    1u   CHR    5,1      0t0  937203 /dev/console
> > >    getty   2700 root    2u   CHR    5,1      0t0  937203 /dev/console
> > 
> > Aha! So we're trying to dump /dev/console. I guess it's VT terminal,
> > which has no "fetch index" operation. Need to think how to resolve it,
> > thanks for report!
> 
> Urgen, are you sure that you've set lxc.console = none and lxc.tty = 0 ?
> The presense of /dev/console here with getty over it makes me thing
> that lcx either not read your config, or you need to restart lcx container
> probably.

Probaly this CT uses devtmpfs, which isn't virtualized.

# cat /proc/pid/mountinfo

Which processes in CT have opened /dev/console?

> 
> Also, do you have
> 
> CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
> 
> in your kernel config?
> 
> 	Cyrill


More information about the CRIU mailing list