[CRIU] failing to dump tmpfs?
Tycho Andersen
tycho.andersen at canonical.com
Mon Jan 18 05:42:45 PST 2016
On Thu, Jan 14, 2016 at 04:05:58PM -0800, Andrew Vagin wrote:
> On Sat, Jan 09, 2016 at 05:07:13AM +0100, Tycho Andersen wrote:
> >
> > Hi all,
> >
> > I have a strange problem :). I'm getting,
> >
> > (00.280617) Dumping task cwd id 0x2b root id 0x2b
> > (00.280697) mnt: Dumping mountpoints
> > (00.280702) mnt: 132: 34:/ @ ./run/lock
> > (00.280714) mnt: Path `/run/lock' resolved to `./run/lock' mountpoint
> > tar: /proc/self/fd/0: Cannot open: Not a directory
>
> The problem is that we use the 0 descriptor, but cr_system_user() closes
> it.
>
> if (in < 0) {
> close(STDIN_FILENO);
D'oh. Of course, thanks. I'll see about sending a patch soon.
Tycho
More information about the CRIU
mailing list