[CRIU] igmpv2_unsolicited_report_interval and igmpv3_unsolicited_report_interval

Cyrill Gorcunov gorcunov at gmail.com
Tue May 19 08:39:16 PDT 2015


On Tue, May 19, 2015 at 05:16:11PM +0200, Adrian Reber wrote:
> On Tue, May 19, 2015 at 06:12:50PM +0300, Cyrill Gorcunov wrote:
> > On Tue, May 19, 2015 at 06:03:48PM +0300, Cyrill Gorcunov wrote:
> > > > 
> > > > What would be the right approach to not exit if certain sysctls
> > > > are missing?
> > > 
> > > Hi. Actually my patches were exactly to skip such cases ;)
> > > Looks like I missed something, will take a look, thanks!
> > 
> > Which latest commit you're running?
> 
> I was using the github repo at https://github.com/xemul/criu because
> git.criu.org is down.
> 
> Latest commit was d8ee1b7ed254c0af3d3b03bf001d16f8d23762e0

Could you please apply the patch attached, run with -v4 and
show me the log?
---
diff --git a/sysctl.c b/sysctl.c
index b0591408fcb6..168901ec5ef8 100644
--- a/sysctl.c
+++ b/sysctl.c
@@ -137,6 +137,7 @@ static int __sysctl_op(int dir, struct sysctl_req *req, int op)
 
 	fd = openat(dir, req->name, flags);
 	if (fd < 0) {
+		pr_debug("op %d errno %d flags %d\n", op, errno, req->flags);
 		if (errno == ENOENT && (req->flags & CTL_FLAGS_OPTIONAL))
 			return 0;
 		pr_perror("Can't open sysctl %s", req->name);


More information about the CRIU mailing list