[CRIU] igmpv2_unsolicited_report_interval and igmpv3_unsolicited_report_interval

Cyrill Gorcunov gorcunov at gmail.com
Tue May 19 08:03:48 PDT 2015


On Tue, May 19, 2015 at 04:55:45PM +0200, Adrian Reber wrote:
> 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?

Hi. Actually my patches were exactly to skip such cases ;)
Looks like I missed something, will take a look, thanks!


More information about the CRIU mailing list