Blob Blame Raw
--- criu-1.6.1/crtools.c	2015-08-12 10:30:50.000000000 +0200
+++ crtools.c	2015-08-28 15:22:08.231877095 +0200
@@ -42,6 +42,8 @@
 
 #include "setproctitle.h"
 
+#include<syslog.h>
+
 struct cr_options opts;
 
 void init_opts(void)
@@ -524,6 +526,17 @@
 	if (log_init(opts.output))
 		return 1;
 
+	/*
+	 * Mark criu as tech preview for RHEL7.2
+	 */
+	pr_msg("TECH PREVIEW: criu may not be fully supported.\n");
+	pr_msg("Please review provided documentation for limitations.\n\n");
+
+	openlog("criu", LOG_PID, LOG_USER);
+	syslog(LOG_NOTICE, "TECH PREVIEW: criu may not be fully supported.");
+	syslog(LOG_NOTICE, "Please review provided documentation for limitations.");
+	closelog();
+
 	if (!list_empty(&opts.inherit_fds)) {
 		if (strcmp(argv[optind], "restore")) {
 			pr_err("--inherit-fd is restore-only option\n");