• Mike Rapoport's avatar
    criu: fix 'criu --version' · b65c7919
    Mike Rapoport authored
    Currently kerndat_init() runs before command line parsing and running
    simple 'criu --version' command may produce something like:
    
    Warn  (criu/kerndat.c:847): Can't load /run/criu.kdat
    Error (criu/util.c:842): exited, status=3
    Error (criu/util.c:842): exited, status=3
    Write 4294967295 to /proc/self/loginuid failed: Operation not permittedWarn
    (criu/net.c:2732): Unable to get socket network namespace
    Warn  (criu/net.c:2732): Unable to get tun network namespace
    Warn  (criu/sk-unix.c:213): sk unix: Unable to open a socket file:
    Operation not permitted
    Error (criu/net.c:3023): Unable create a network namespace: Operation not
    permitted
    Warn  (criu/net.c:3069): NSID isn't reported for network links
    Version: 3.6
    GitID: v3.6-611-g0b27d0a
    
    Group early calls to kerndat_* and init_service_fd calls into a function
    and call this function after the command line parsing is finished.
    Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    b65c7919
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...