App Control: Upgrade failure on B9Notifier dependency for Linux agent
search cancel

App Control: Upgrade failure on B9Notifier dependency for Linux agent

book

Article ID: 291772

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

Symptoms include:
  1. When trying to upgrade the Linux App Control agent using the relevant .bsx file, the -n switch to disable the b9Notifier from being installed, is not being honored 
  2. Upgrade fails on a file dependency for the b9Notifier
  3. Using the -n switch is not working 

Environment

  • App Control Linux Agent: All Supported Versions
  • Linux OS: All Supported Versions

Cause

The -n switch is not compatible with the .bsx file during upgrade

Resolution

The upgrade .bsx file can be modified via the steps below:
  1. Open the .bsx file you are going to use to upgrade the Linux agent in a text editor (nano, vi, vim, etc.)
  2. In the file, look for a line that says "sh ./b9install.sh ${UninstallScriptOptions} -x "$TMPDIR"
  3. The -n switch is ONLY compatible with the b9install.sh script, so the above line will need to be modified like:
  4. "sh ./b9install.sh ${UninstallScriptOptions} -n -x "$TMPDIR" (minus quote marks)
  5. Run the .bsx file again and the b9notifier will be skipped for install