[CRIU] [crit] Problem in magics

Cyrill Gorcunov gorcunov at gmail.com
Thu Apr 30 03:03:25 PDT 2015


On Thu, Apr 30, 2015 at 01:01:18PM +0300, Cyrill Gorcunov wrote:
> Latest repo
> 
> [root at pcs criu]# ./crit decode --pretty < /vz/dump/Dump.10/netns-8.img 
> Traceback (most recent call last):
>   File "./crit", line 74, in <module>
>     main()
>   File "./crit", line 71, in main
>     opts["func"](opts)
>   File "./crit", line 23, in decode
>     img = pycriu.images.load(inf(opts), opts['pretty'])
>   File "/home/criu/pycriu/images/images.py", line 309, in load
>     raise Exception("No handler found for image with such magic "+m)
> Exception: No handler found for image with such magic NETNS
> [root at pcs criu]#
> 
> Ruslan, take a look please. Seems due to recent "magic" changes.

Actually I can live with

[root at pcs criu]# hexdump -C /vz/dump/Dump.10/netns-8.img 
00000000  19 43 56 54 52 37 93 55  60 00 00 00 08 00 08 01  |.CVTR7.U`.......|
00000010  08 00 08 00 08 00 08 00  08 00 08 00 08 00 08 00  |................|
00000020  08 00 08 00 08 01 08 00  08 00 08 00 08 01 08 00  |................|
00000030  08 00 08 01 08 01 08 01  08 01 08 00 10 00 10 00  |................|
00000040  10 00 10 00 10 00 10 00  10 00 10 00 10 00 10 00  |................|
00000050  10 00 10 00 10 01 10 00  10 00 10 00 10 01 10 00  |................|
00000060  10 00 10 01 10 01 10 01  10 01 10 00              |............|
0000006c

it simply not that convenient ;)


More information about the CRIU mailing list