1 Reply Latest reply on Jun 3, 2016 1:44 PM by Bill Robinson

    BSA package deployment will duplicate configuration file directives if they have commented text after the directive on the same line.

    Seppo Peisala

      We have encountered a problem when deploying settings to Linux (at least, have not tested on other OS).

       

      Creating a simple BLpackage, that adds a new line to a configuration file. In this case to Linux sshd config is added a line taken from another server:

      value to live server object blpackage from etc/ssh/sshd_config

      denyusers    oracle

       

      target server file before package deployment

       

      # no default banner path

      #Banner /some/path

      test line    #comment

       

      target server file after package deployment

       

      # no default banner path

      #Banner /some/path

      test line

      test line    #comment

      denyusers    oracle

       

      If the job is run again against this same server, it will again and again duplicate the commented line.It seems, that the line is duplicated only, if there is a space in the test line.

       

      Is this a know error, and does somebody know, how to avoid this?