[CRIU] Configuration directory /etc/criu.d

Adrian Reber areber at redhat.com
Fri Aug 5 09:02:49 PDT 2016


Having added the skip in-flight TCP connections option to TCP I thought
something else is needed to influence CRIU's behavior. Every tool using
CRIU (docker, lxc, runc, ...) hardcodes the required options into the
source code and every change to CRIU requires a change in all tools.

Therefore I thought it would be nice to have something like

/etc/criu.d/ or ~/.criu.d/

where CRIU would look for .conf files which can enable or disable
options for all CRIU invocations.

Staying at my skip in-flight TCP connections example I could just add a
file to /etc/criu.d which always enables --skip-in-flight for CRIU
invocations on that system. There should then also be a way to disable
options from hardcoded CRIU invocations in higher tools like docker and
lxc. I would also expect an option to ignore files in /etc/criu.d.

https://github.com/xemul/criu/issues/194 is good example where it could
also help.

Is this something which would be useful to CRIU? Any other opinions?

		Adrian


More information about the CRIU mailing list