[Devel] vz-rst: temove spfs scripts from criu restore parameters

Submitted by Stanislav Kinsburskiy on Aug. 3, 2016, 11:14 a.m.

Details

Message ID 20160803111419.376464.76462.stgit@skinsbursky-vz7-gold.qa.sw.ru
State New
Series "vz-rst: temove spfs scripts from criu restore parameters"
Headers show

Commit Message

Stanislav Kinsburskiy Aug. 3, 2016, 11:14 a.m.
These scripts are obsolete, and their logic is integrated to the source code
starting from version 2.4.0.3.
This means, that libvzctl wtih this patch applied has to depend on criu
2.4.0.3

Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
---
 scripts/vz-rst.in |    8 --------
 1 file changed, 8 deletions(-)

Patch hide | download patch | download mbox

diff --git a/scripts/vz-rst.in b/scripts/vz-rst.in
index e467624..5795acc 100755
--- a/scripts/vz-rst.in
+++ b/scripts/vz-rst.in
@@ -98,13 +98,6 @@  if [ -f "$autofs_actions_path" ]; then
 	autofs_actions="--action-script $autofs_actions_path"
 fi
 
-# SPFS actions
-spfs_scripts="/usr/libexec/criu/scripts/spfs-change-mode.sh		\
-		/usr/libexec/criu/scripts/spfs-release-replace.sh"
-for script in $spfs_scripts; do
-	[ -f "$script" ] && spfs_actions=$spfs_actions"--action-script $script "
-done
-
 CRIU_LOGLEVEL=4
 criu restore -v$CRIU_LOGLEVEL				\
 		--file-locks				\
@@ -122,7 +115,6 @@  criu restore -v$CRIU_LOGLEVEL				\
 		$cgroup_root				\
 		$ext_mount_map				\
 		$autofs_actions				\
-		$spfs_actions				\
 		$veth_args				\
 		$external
 

Comments

Kirill Gorkunov Aug. 3, 2016, 11:24 a.m.
On Wed, Aug 03, 2016 at 02:14:21PM +0300, Stanislav Kinsburskiy wrote:
> These scripts are obsolete, and their logic is integrated to the source code
> starting from version 2.4.0.3.
> This means, that libvzctl wtih this patch applied has to depend on criu
> 2.4.0.3
> 
> Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>

And I have to mention than 2.4.0.3 is not built yet. This gonna be
the release we will yield today.