[CRIU] igmpv2_unsolicited_report_interval and igmpv3_unsolicited_report_interval

Adrian Reber adrian at lisas.de
Tue May 19 07:55:45 PDT 2015


I am running today's CRIU on an older kernel which does not have

net.ipv4.conf.*.igmpv2_unsolicited_report_interval
net.ipv4.conf.*.igmpv3_unsolicited_report_interval

Looking at net.c it says:

/*
 * I case if some entry is missing in
 * the kernel, simply write DEVCONFS_UNUSED
 * into the image so we would skip it.
 */

but I see no code which actually just gracefully fails if an entry is
missing and I get following from CRIU:

(00.007162) Dumping 1(22751)'s namespaces
(00.007313) Dump NET namespace info 8 via 22751
(00.007407) Mount ns' sysfs in crtools-sys.ACZetY
(00.007503) Error (sysctl.c:140): Can't open sysctl net/ipv4/conf/default/igmpv2_unsolicited_report_interval: No such file or directory
(00.007507) Error (net.c:112): Failed to read default/<confs>
(00.007620) Error (namespaces.c:801): Namespaces dumping finished with error 65280
(00.007648) Unlock network
(00.007651) Running network-unlock scripts

What would be the right approach to not exit if certain sysctls
are missing?


		Adrian


More information about the CRIU mailing list