Cockpit 277

Cockpit is the modern Linux admin interface. We release regularly.

Here are the release notes from Cockpit 277, cockpit-machines 275, and cockpit-podman 54:

Login: Improve password manager compatibility

The HTML of the login page has been adjusted to be more compatible with password managers in popular browsers. Usernames and passwords are more likely to be prefilled or selectable, depending on the password manager and browser.

Thanks to Jacek Tomasiak for pointing this out and providing a fix!

Login: Fix “This web browser is too old” error with upcoming browsers

Newer, upcoming browser versions have improved next-level support for :is() and :where() selectors. Cockpit was checking for support an empty usage which passed on browsers in the earlier (current as of writing) implementation. However, browsers have recently updated their parsing support for “Forgiving Selector Parsing”, which caused the newer development versions of Firefox, Chrome, and WebKit to fail this check, preventing the browsers from logging into Cockpit.

The check has now been adjusted so current and upcoming browser versions all pass.

Additionally, hotfixes for older versions of Cockpit have been published for various distributions. If you have an error while trying to log in with a new browser on an older Cockpit version, please upgrade your version of Cockpit.

Updates have been issued for the following distributions and versions:

  • CentOS Stream 8 & 9: Fixed.
  • Fedora: Fixed in ≥ 36.
  • RHEL 8.6 & 9.0 are affected, fixes are not yet published.
  • RHEL versions older than 8.6 are not affected.
  • Debian: Fixed in testing and backports. Stable (11 and earlier) are not affected.
  • Ubuntu Kinetic (current devel series) and the backport for 22.04 LTS got fixed.
  • Ubuntu 22.04 LTS is still affected, but will be fixed soon.

Huge thanks to Emilio Cobos Álvarez for bringing this to our attention and sending a PR with a fix!

Machines: RHEL offline token management improvements

Downloading Red Hat Enterprise Linux directly from within Cockpit’s Machines page requires an offline token. It’s now validated on entry.

demo1

Valid tokens are saved in browser LocalStorage and re-validated and re-used the next time a machine image is downloaded.

demo2

Podman: Show all containers by default

Cockpit-podman now shows all containers by default. This is especially useful for seeing containers that are stopped or restarting.

Try it out

Cockpit 277, cockpit-machines 275, and cockpit-podman 54 are available now:

About Garrett LeSage

Garrett has been a designer in the FOSS (free and open source software) world since the late 90s and works at Red Hat in the Cockpit team.