[CRIU] Problem with CRIU
Krishan Berwal
krishanberwal1988 at gmail.com
Tue Apr 29 01:04:55 PDT 2014
Yes, You are right. my application is running under apparmor only.
I tried that when i remove this security level then my application is not
working.
so can suggestion me for a mid way which leads to both?
criu under apparmor security level ? or can i avoid such security for while
when i dumping the process then again make active?
*Thanks & Regards*:
Krishan Berwal
krishanberwal1988 at gmail.com
On Mon, Apr 28, 2014 at 5:34 PM, Cyrill Gorcunov <gorcunov at gmail.com> wrote:
> On Mon, Apr 28, 2014 at 02:53:23PM +0530, Krishan Berwal wrote:
> > Dear sir/mam,
> >
> > i am showing what is actual output after follow the procedure:
> >
> > root at 3451eead64b2:~/kk#A setsid ./abc.shA < /dev/null &> abc.log &
> > [2] 119
> > root at 3451eead64b2:~/kk# ps -C abc.sh
> > A PID TTYA A A A A A A A A TIME CMD
> > A A 42 pts/0A A A 00:00:00 abc.sh
> > [2]-A DoneA A A A A A A A A A A A A A A A A A A setsid ./abc.sh <
> > /dev/null &>abc.log
> > root at 3451eead64b2:~/kk# criu dump -vvvv -o dump.log -t 42
> --shell-job &&
> > echo OK
> > root at 3451eead64b2:~/kk#A criu restore -vvvv -o restore.log -t 42
> > --shell-job
> > root at 3451eead64b2:~/kk# ls
> > abc.logA abc.shA dump.logA restore.log
> > root at 3451eead64b2:~/kk# cat dump.log
> > (00.000090) ========================================
> > (00.000150) Dumping processes (pid: 42)
> > (00.000157) ========================================
> > (00.000312) Error (kerndat.c:45): Can't stat self map_files:
> Operation not
> > permitted
>
> If you're running under root user and get EPERM, it looks like you've some
> kind of additional layer of restriction, maybe selinux/apparmor or someone
> else is blocking criu from execution.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140429/c9916912/attachment.html>
More information about the CRIU
mailing list