gsed fails with "Bad address"

book

Article ID: 100048937

calendar_today

Updated On:

Description

Error Message

gsed: '/testvol/testfile': Bad address

 

Cause

VxFS does not have support for ACE. The error is generated when VxFS receives an ACE_GETACLCNT flag while performing gsed operation.

 

Resolution

This is fixed in hotfix 6.2.1.8501. As of publishing, a patch for 7.4.1 is planned.

Contact Veritas for the appropriate patch.

Issue/Introduction

gsed on Solaris 11.4 fails with "Bad address" Example: cat testfile fff bbb aaa bbb aaa bbb aaa ccc vvvaaa -bash-4.4# gsed -i 's/aaa/fff/' /testvol/testfile
gsed: '/testvol/testfile': Bad address