Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3445

Starting a VS Code workspace: "/home/user/.bashrc: No such file or directory"

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      = No .bashrc in UDI tools container in {prod-short} 3.2

      To workaround this problem in {prod-short} 3.2, update CheCluster to pull this replacement image: quay.io/devspaces/udi-rhel8:3.2-28. In 3.3 this problem does not exist.
      Show
      = No .bashrc in UDI tools container in {prod-short} 3.2 To workaround this problem in {prod-short} 3.2, update CheCluster to pull this replacement image: quay.io/devspaces/udi-rhel8:3.2-28. In 3.3 this problem does not exist.
    • Known Issue
    • Rejected

      When a workspace that uses UDI and VS Code is started a user sees the following error message in the terminal:

      bash: /home/user/.bashrc: No such file or directory
      

      Although UDI entrypoint.sh should create the .bashrc, VS Code entrypoint-volume.sh is executed instead.

      Upstream bashrc is pre-created at image build and we should probably do that downstream too.

      Workspaces using IntelliJ and Theia are not affected.

        1. bashrc-error.jpg
          bashrc-error.jpg
          481 kB
        2. screenshot-1.png
          screenshot-1.png
          270 kB
        3. image-2022-10-26-02-22-04-069.png
          image-2022-10-26-02-22-04-069.png
          22 kB
        4. screenshot-2.png
          screenshot-2.png
          19 kB
        5. screenshot-3.png
          screenshot-3.png
          41 kB
        6. image-2022-10-26-02-43-52-497.png
          image-2022-10-26-02-43-52-497.png
          21 kB
        7. image-2022-10-26-02-45-44-896.png
          image-2022-10-26-02-45-44-896.png
          30 kB
        8. image-2022-10-26-06-47-55-116.png
          image-2022-10-26-06-47-55-116.png
          14 kB
        9. image-2022-10-26-06-48-37-782.png
          image-2022-10-26-06-48-37-782.png
          13 kB
        10. image-2022-10-26-06-48-53-650.png
          image-2022-10-26-06-48-53-650.png
          5 kB

              nickboldt Nick Boldt
              mloriedo Mario Loriedo
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: