Using CTE with PowerTech Antivirus
When Powertech Antivirus is configured to use on-access scanning,
CipherTrust Transparent Encryption Data Transformation may find files within the Data Transformation GuardPoint that are busy. These files are not processed by Data Transformation and are left unencrypted.
Note
This problem only occurs if Powertech is configured to use on-access scanning.
This problem does not occur when using on-demand scanning.
Issue
When Powertech uses on-access scanning,
it opens a file and keeps it open. Before the Data Transformation program encrypts a file, it checks to see if the file is in use by another process. If the file is in use, Data Transformation does not encrypt the file but rather appends the path to the file in the dataxform_status_error-<guardpoint>
file located in /var/log/vormetric/.
This prevents any retry of Data Transformation from succeeding.
Resolving PowerTech/Data Transformation "in-use" Errors
For the following scenario, Powertech is configured with on_access scanning
and both Powertech and the Thales CTE agent have been installed at default locations. The example assumes the Data Transformation GuardPoint is /test-dataxform
.
Running Data Transformation with Powertech Antivirus code deactivated
-
Type the following to prevent the Powerteck package from starting on system boot.
-
Reboot the system.
-
After the system restarts, verify that Powertech is not running, type:
Response
-
Perform a Data Transformation conversion on the Data Transformation GuardPoints.
Example
-
Enable Powertech to start after system boot, type:
-
Start Powertech, type:
Response
-
Verify the status, type:
Response
Recovering from Data Transformation/Powertech Antivirus code errors
A Data Transformation rekey performed while Powertech is active can result in failed file conversion due to "busy" faults. The following section describes how to recover from this type of error.
Note
There are many reasons that a data transformation may fail. This topic only considers the failure due to the interaction of Powertech with CTE. For other error recovery procedures, refer to the Data Transformation guide
The following section illustrates the process using an example data transformation and describes the steps needed to recover. The Data Transformation GuardPoint /test-dataxform.
-
Run Data Transformation.
Response
-
Inspect the error file (
dataxform_status_error-_test-dataxform
) for/test-dataxform.
The file is located in/var/log/vormetric
. The contents for the file contain the error messages generated by Data Transformation.Example
Note
Other Data Transformation errors may be present besides those caused by the Powertech antivirus code.
-
Create a "todo" file. Using Data Transformation, extract the names of the files that need to be retried for conversion.
This generates two files in the local directory
The
my-output_todo
file contains the list of files to retry applying Data Transformation:Note
The
my-output_todo
file may need to be edited to remove entries not caused by theSkipped, file is busy
error. -
Turn off Powertech on boot, type:
-
Reboot the system.
-
Verify the status.
Response
-
Re-issue Data Transformation to transform files listed in the
my-output_todo
file.Response
-
Re-enable Powertech on boot.
-
Start Powertech.
There is a delay before Powertech is completely loaded and active. The Powertech status may be found by the following command:
The Powertech avsvc subsystem should be `active' and the device driver loaded:
Response