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

            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: