From 812b163aa3171eed512aac75e20ffebe1f984f01 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 29 Feb 2024 16:32:45 -0800 Subject: [PATCH 1/2] add logging to job script --- samples/worker/run_worker_1.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/samples/worker/run_worker_1.sh b/samples/worker/run_worker_1.sh index 2577d34c8f6..b7c2283e60c 100755 --- a/samples/worker/run_worker_1.sh +++ b/samples/worker/run_worker_1.sh @@ -1,10 +1,14 @@ #! /bin/sh # script for running worker in a VM, with shared slot and project dirs -mkdir /root/project -mount -t vboxsf project /root/project -execpath=`./boinc_resolve worker` -inpath=`./boinc_resolve in` -outpath=`./boinc_resolve out` +mkdir /root/project >>log 2>&1 +mount -t vboxsf project /root/project >>log 2>&1 +execpath=`./boinc_resolve worker` >>log 2>&1 +inpath=`./boinc_resolve in` >>log 2>&1 +outpath=`./boinc_resolve out` >>log 2>&1 -$execpath $inpath $outpath +echo $execpath >>log +echo $inpath >>log +echo $outpath >>log + +$execpath $inpath $outpath >>log 2>&1 From 3f70040b3ae8eb124cd064e8251a7205e0678d4f Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 29 Feb 2024 16:45:27 -0800 Subject: [PATCH 2/2] client: enforce config option to not check file size --- client/cs_files.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cs_files.cpp b/client/cs_files.cpp index e3330ba43af..8d95d308576 100644 --- a/client/cs_files.cpp +++ b/client/cs_files.cpp @@ -507,6 +507,7 @@ int FILE_INFO::check_size() { if (gstate.global_prefs.dont_verify_images && is_image_file(path)) { return 0; } + if (cc_config.dont_check_file_sizes) return 0; if (nbytes && (size != nbytes)) { delete_project_owned_file(path, true); status = FILE_NOT_PRESENT;