You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I press Ctrl + U for the first time , it will create an ephemeral ubuntu-lts container.
But, the first time this command runs, it prints the following error:
/bin/sh: 2: /etc/profile.d/brew.sh: [[: not found
And drops to a /bin/sh prompt. When we close and press Ctrl+U again, it will open the terminal inside the ubuntu container as expected, now running bash, which means that the container was created, but the profile setup can be incomplete.
The problem here seems to be that /etc/profile.d/brew.sh is using "[[" , but ubuntu is trying to run that using its /bin/sh (which , if I do remember right, is dash and does not support [[ ).
What did you expect to happen?
The ubuntu container was sucessfuly created without errors and a terminal opened inside it.
Output of rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 59min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:stable
Digest: sha256:a0390ce9c85a06e83522d204c54dc4860b350b116934c511e929fd6ec7187feb
Version: 40.20240820.0 (2024-08-20T05:53:19Z)
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
Digest: sha256:9e08ff20deea7d2f8b07e62cfc206043e7535065110dad02f4e11a613ae6bf5d
Version: 39.20240824.0 (2024-08-25T05:52:38Z)
Output of groups
fdr wheel docker
Extra information or context
No response
The text was updated successfully, but these errors were encountered:
I've encountered this as well, and I noticed that running /bin/sh on the first run happens not only in the ubuntu-toolbox but also in the fedora-toolbox. The shell syntax error only happens in the ubuntu-toolbox because /bin/sh is a symlink to dash, but in the fedora-toolbox /bin/sh is a link to bash, so it supports the extended syntax. In both cases you end up in a /bin/sh terminal the first time, but it changes to bash in subsequent windows.
Describe the bug
When I press Ctrl + U for the first time , it will create an ephemeral ubuntu-lts container.
But, the first time this command runs, it prints the following error:
And drops to a /bin/sh prompt. When we close and press Ctrl+U again, it will open the terminal inside the ubuntu container as expected, now running bash, which means that the container was created, but the profile setup can be incomplete.
The problem here seems to be that /etc/profile.d/brew.sh is using "[[" , but ubuntu is trying to run that using its /bin/sh (which , if I do remember right, is dash and does not support [[ ).
What did you expect to happen?
The ubuntu container was sucessfuly created without errors and a terminal opened inside it.
Output of
rpm-ostree status
State: idle AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 59min ago Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:stable Digest: sha256:a0390ce9c85a06e83522d204c54dc4860b350b116934c511e929fd6ec7187feb Version: 40.20240820.0 (2024-08-20T05:53:19Z) ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts Digest: sha256:9e08ff20deea7d2f8b07e62cfc206043e7535065110dad02f4e11a613ae6bf5d Version: 39.20240824.0 (2024-08-25T05:52:38Z)
Output of
groups
Extra information or context
No response
The text was updated successfully, but these errors were encountered: