-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell commands like ls
do not work on the first line of the Console.
#1412
Comments
ls
do not work on the first line of the Console.ls
do not work on the first line of the Console.
I've seen this issue as well, with many different containers. It seems a control character is sent in the input, which invalidates the first line. |
Right, but I can't reproduce it. What browser do you use and what containers can you reproduce it with? |
Hmm, it happens in Firefox, with any container I've tried iirc. Try postgres 14? I may look into this at some point this week. |
Interesting, under Firefox I indeed spotted ^L with our cockpit-website container but that starts So if I create a container with that image and then change the Command to So looking a bit further into it, ^L is a Form Feed. And I can reproduce this under Chromium as well so it's not a browser specific issue. |
Yes I am using the upstream Jellyfin container, but this also happens on the upstream Nextcloud container and the linuxserver SWAG container. |
I can reproduce it now with the steps above, so when I can find time I'll look into it. |
same issue here |
Explain what happens
I was trying to run a few commands within a podman container and I noticed that the first command always breaks, even on really basic commands. Here's a screenshot of what I mean:
The shell works fine afterwards. It's just the first line that is broken. I've tested this with Jellyfin and Nextcloud
Version of Cockpit
cockpit 300.1-1, cockpit-podman 76-1
Where is the problem in Cockpit?
Navigation & Shell
Server operating system
Arch Linux
Server operating system version
up to date as of 9/18/2023
What browsers are you using?
Firefox
System log
No logs appear in journalctl when triggering the bug.
The text was updated successfully, but these errors were encountered: