NetWorker 19.10 and 19.11: Growing file /tmp/cryptolib.log

Summary: On systems with NetWorker 19.10.x and 19.11.x is installed, we write a log file named /tmp/cryptolib.log. It increases over the time and might fill up the /tmp volume.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Each time we start NetWorker components (processes), it loads and initializes the OpenSSL library and is adding a message into the log file.
The file /tmp/cryptolib.log is increasing over time.

nwserver:/tmp # ls -l /tmp/cryptolib.log
-rw-r--r-- 1 root root 3819297 Aug  9 13:33 /tmp/cryptolib.log 
nwserver:/tmp #

 

Cause

This issue is related to the OpenSSL library used in NetWorker 19.10 and 19.11. It is not allowing the FIPS mode and reporting it to the file.

 

Resolution

Workaround:

The file can be disregarded. Periodically delete the /tmp/cryptolib.log file to prevent space consumption issues.

Alternatively, you can use logrotate to rotate the log file daily, retain X number of copies, and delete the oldest.

NOTE: The below changes must be done by the NetWorker server's Operating System Administrator.
  1. Confirm if the logrotate package is installed:

    logrotate --version
    NOTE: logrotate is a Linux operating system package not provided by NetWorker. If logrotate is not installed, see OS vendor-specific documentation for installing the logrotate package.
  2. Edit the /etc/logrotate.conf to include specifications for rotating /tmp/cryptolib.log. For example, append the following lines to the end of the file:

    /tmp/cryptolib.log {
            daily
            rotate 7
            compress
            missingok
            create 0644 root root
            su root root
    }
    • daily: rotate the log daily.
    • rotate 7: Keep seven rotated log files before deleting the oldest one. This can be changed depending on the wanted number of copies and available space on the system.
    • compress: compress the rotated log files to save space.
    • missingok: If the log file is missing, move on to the next one without issue.
    • create 0644 root root: Create a new log file with permissions 0644 and ownership root:root after rotation. This matches the default permissions and ownership of the original /tmp/cryptolib.log file.
    • su root root: Switch to user root and group root for creating new log files.
  3. Test the logrotate settings:

    sudo logrotate -d /etc/logrotate.conf
 

Solution:

The problem will be resolved with NetWorker 19.12.

 

Products

NetWorker Family, NetWorker, NetWorker Series
Article Properties
Article Number: 000227783
Article Type: Solution
Last Modified: 13 Sep 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.