Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19225

The shell script does not come back to initial terminal after execution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • fuse-7.10-GA
    • Fuse Standalone
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Hide

      Pre-requisite: 
      1. Have a VM with RHEL8.4 installed.
      2. Run Fuse on Karaf on this VM

      Step 1: Edit the attached esb_exit_testing.sh script. Update 

      hostName="<<VM address where Fuse7.10 is running>>"

      Update "scp -r" line in the script such that it can copy esb_exit_testing_remote.sh on the remote VM where Fuse is running.

      Step 2: Edit the attached esb_exit_testing_remote.sh script. 

      Update FUSE_HOME=<<Fuse installation location>>

      Update BACKUP_DIR=<<Any directory where logs can be stored>>

      Under jasypt function update the location for the fuse bin directory:
      cd <<Fuse home direcotry>>/bin

      Step 3: From the local machine execute the esb_exit_testing.sh script.
      This script will copy the esb_exit_testing_remote.sh to the fuse server 
      It will ssh to that server and execute the esb_exit_testing_remote.sh script there.

      While executing the jasyptTest function, the function will exit with the "Exit 1" code.

      But it stays on the fuse server and does not come back to the local machine.

      If this same script is executed on RHEL7.4 server, the cursor comes back to the local machine.

      Show
      Pre-requisite:  1. Have a VM with RHEL8.4 installed. 2. Run Fuse on Karaf on this VM Step 1: Edit the attached esb_exit_testing.sh script. Update  hostName="<<VM address where Fuse7.10 is running>>" Update "scp -r" line in the script such that it can copy esb_exit_testing_remote.sh on the remote VM where Fuse is running. Step 2: Edit the attached esb_exit_testing_remote.sh script.  Update FUSE_HOME=<<Fuse installation location>> Update BACKUP_DIR=<<Any directory where logs can be stored>> Under jasypt function update the location for the fuse bin directory: cd <<Fuse home direcotry>>/bin Step 3: From the local machine execute the esb_exit_testing.sh script. This script will copy the esb_exit_testing_remote.sh to the fuse server  It will ssh to that server and execute the esb_exit_testing_remote.sh script there. While executing the jasyptTest function, the function will exit with the "Exit 1" code. But it stays on the fuse server and does not come back to the local machine. If this same script is executed on RHEL7.4 server, the cursor comes back to the local machine.

    Description

      After executing the "client" commands, the shell script does not come back to the original terminal. The script is stuck on the machine where the commands were executed.

      This is happening with RHEL8.4. In RHEL7.4 the script exits as expected.

       

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-shchavan Shrikant Chavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: