Skip to content

linux-next: Error (fsnotify.c:486): fsnotify: Can't add watch for 0x3 with 0x1: Invalid argument #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
avagin opened this issue Sep 21, 2015 · 8 comments
Labels
Milestone

Comments

@avagin
Copy link
Member

avagin commented Sep 21, 2015

11:55:43 Dump log   : /root/criu/test/dump/static/inotify00/48/1/dump.log
11:55:43 --------------------------------- grep Error ---------------------------------
11:55:43 ------------------------------------- END -------------------------------------
11:55:43 Restore log: /root/criu/test/dump/static/inotify00/48/1/restore.log
11:55:43 --------------------------------- grep Error ---------------------------------
11:55:43 (00.000167) Error (sysctl.c:142): Can't open sysctl net/ipv4/tcp_rmem: No such file or directory
11:55:43 (00.005886)     48: Error (fsnotify.c:486): fsnotify: Can't add watch for 0x3 with 0x1: Invalid argument
11:55:43 (00.006307) Error (cr-restore.c:1234): 48 exited, status=1
11:55:43 (00.006335) Error (cr-restore.c:1933): Restoring FAILED.
11:55:43 ------------------------------------- END -------------------------------------
@avagin
Copy link
Member Author

avagin commented Sep 21, 2015

/* This inode cares about things that happen to its children.  Always set for
 * dnotify and inotify. */
#define FS_EVENT_ON_CHILD       0x08000000

@xemul xemul added the bug label Sep 23, 2015
@xemul xemul added this to the 1.8 milestone Sep 24, 2015
@xemul
Copy link
Member

xemul commented Oct 12, 2015

Fixed in the kernel.

@xemul xemul closed this as completed Oct 12, 2015
@xemul
Copy link
Member

xemul commented Oct 12, 2015

Fixed in the kernel.

@avagin
Copy link
Member Author

avagin commented Oct 12, 2015

You are not able to restore processes which were dumped on old kernels, because inotify masks contains this extra bit.

@xemul
Copy link
Member

xemul commented Oct 12, 2015

What's the kernel version(s) on which this bit is shown in /proc? My impression was that it was accidentally broken in some -rc and got fixed quite fast. Am I wrong?

@avagin
Copy link
Member Author

avagin commented Oct 12, 2015 via email

@xemul
Copy link
Member

xemul commented Oct 12, 2015

I see.

@xemul xemul reopened this Oct 12, 2015
@xemul
Copy link
Member

xemul commented Oct 14, 2015

61859d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants