[CRIU] Cannot restore from regular user when RPC service running as root

Pavel Emelyanov xemul at parallels.com
Tue Jan 13 05:14:12 PST 2015


On 01/12/2015 11:26 PM, Ruslan Kuprieiev wrote:
> Hi Jason,
> 
> That's probably an old log left from running as root.
> Could you show us your log path and ls -la logfile.log ?
> Btw, providing full logs is a good idea too =)
> 
> Thanks,
> Ruslan
> 
> On 01/12/2015 10:09 PM, Jason L. Turner wrote:
>> Hello,
>>
>> I’m currently working on a project where a program is needed to be
>> dumped and restored by a regular user, not as root.
>>
>> On the webpage it mentions running a CRIU service as root will allow it
>> to work on behalf of a regular.  The program I have written has been
>> using the CRIU C API and while the program is dumping and restoring
>> successfully when run from the root user, it is not the case when
>> running as a regular user as upon trying to restore the programs state
>> it fails.
>>
>> The error that I have been receiving in the restore log file is
>>
>>                  Error (include/util.h :51): Can’t write to img file:

There's no such log message in 1.4 sources. What version of
CRIU do you use?

>> Operation Not Permitted
>>
>> Any help would be greatly appreciated.
>>
>> Thank you

Thanks,
Pavel



More information about the CRIU mailing list