ARA Filesystem Action is not able to extract files with long file names from tar archive

Document ID : KB000098287
Last Modified Date : 03/07/2018
Show Technical Document Details
Issue:

Our customer are using FILESYSTEM package, however when they run the File Extract, They got the below error on both file-system-tool: Version: 1.2.1  and 1.2.4

The agent run on Red Hat Enterprise Linux Server release 7.4 (Maipo)

EXECUTION START **
file-system-tool: file-system-tool 
 file-system-tool: (c) Automic Software GmbH 
 file-system-tool: Version: 1.2.1 
 file-system-tool: Date: 2017-06-13 10:20
file-system-tool: PARAM: source_path = /tmp/operations0100108119 
 file-system-tool: PARAM: archive_file = /tmp/operations-0100108119.tar 
 file-system-tool: PARAM: archive_type = tar 
 Pack Command: 
 Pack <directory|filename> <archive name> <archive type> 
 file-system-tool: ERROR: file name 'ops-tools/ansible_scripts/inventories/BIC-P/host_vars/st0cvm3000447.vmaas.de1.xxxxx-iot.com/vars.yml' is too long ( > 100 bytes) 
 java.lang.RuntimeException: file name 'ops-tools/ansible_scripts/inventories/BIC-P/host_vars/st0cvm3000447.vmaas.de1.xxxxx-iot.com/vars.yml' is too long ( > 100 bytes) 
 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.handleLongName(TarArchiveOutputStream.java:687) 
 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.putArchiveEntry(TarArchiveOutputStream.java:280) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:136) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.tarFilesRecursively(Pack.java:156) 
 at com.uc4.ara.feature.file.Pack.run(Pack.java:53) 
 at com.uc4.ara.feature.AraFileCmd.main(AraFileCmd.java:115)
Environment:
  • Package.Filesystem 1.2.4,
  • Package.Filesystem 1.2.5 
Cause:
Pack action is not able to pack files with long file names in archive type of tar
Resolution:
The issue was found and fixed with Package.Filesystem 1.2.6 in PCK.AUTOMIC_FILESYSTEM.

The Package is available for download at the Automic-Support-Zone (https://support.automic.com).
Hotfix-Description: In Unix machine, pack action is not able to pack long name files with archive type of tar