Към съдържанието

Fedora 45 излезе: Stratis в инсталатора и край на два стари VPN плъгина

На 3 ноември излезе Fedora Linux 45, за всички издания наведнъж: Workstation, KDE Plasma Desktop, Server, Cloud, CoreOS и IoT, плюс Atomic Desktops и вариантите (Cinnamon, Xfce, MATE, COSMIC). Нищо не гори и няма драма, но има две неща, които си струва да прочетеш, преди да натиснеш „обнови“.

Какво е новото

  • Stratis в инсталатора. Anaconda вече умее да инсталира системата върху Stratis. Stratis събира няколко диска в общ пул и дава тънко разпределяне на място, снимки (snapshots) и шифроване с LUKS, без ръчно да редиш device-mapper и XFS. При ръчно разпределяне на дисковете можеш да отвориш модула за дискове на Cockpit направо от инсталатора. За автоматични инсталации има --type=stratis към autopart, както и командите stratispool и stratisfs в Kickstart.
  • GNOME 51 във Workstation. Според Fedora Magazine Mutter има преработено подреждане на кадрите, за да е анимацията равна и при натоварен процесор, Files показва брой на влачените файлове и не замръзва при бавно презареждане на папки, а паролите и токените се пазят в нова услуга oo7, написана от нулата.
  • Обновени инструменти за разработчици и по-нови версии на работните среди, както пише в обявата.
  • Край на два стари VPN плъгина. Това е частта, която може да те спре.

VPN плъгините: провери, преди да обновиш

NetworkManager-vpnc и NetworkManager-fortisslvpn са неподдържани и във Fedora 45 са обявени за излезли от употреба. Fedora Magazine обяснява причината: за тях има публикувани проблеми, които позволяват повишаване на правата чрез злонамерен VPN профил. Ако се връзваш към фирмена мрежа с някой от тях, подготви замяната:

| Стар плъгин | За какво е | Какво да ползваш |
|---|---|---|
| NetworkManager-fortisslvpn | Fortinet SSLVPN | NetworkManager-openconnect |
| NetworkManager-vpnc | Cisco IPsec (IKEv1) | NetworkManager-libreswan |

Накратко за Fortinet: sudo dnf install NetworkManager-openconnect, после добавяш нова връзка „Multi-protocol VPN client (openconnect)“ и избираш протокол „Fortinet SSL VPN“. За Cisco: sudo dnf install NetworkManager-libreswan и нова IPsec връзка с тип IKEv1. Там ще трябва да включиш IKEv1 в /etc/ipsec.d/ikev1.conf и да върви ipsec.service, иначе връзката не тръгва. Точните стъпки са в статията на Fedora Magazine, линк по-долу.

Как да обновиш

  1. Първо резервно копие и още веднъж за всичко, което не искаш да губиш. Обновяване на цяла система е рутина, но „рутина“ не е „гаранция“.
  2. Обнови текущата система: sudo dnf upgrade --refresh, после рестарт.
  3. Свали новата версия: sudo dnf system-upgrade download --releasever=45.
  4. Пусни обновяването: sudo dnf system-upgrade reboot. Компютърът ще се рестартира и ще го приложи.

Ако ползваш Silverblue, Fedora Magazine има отделно ръководство за rebase към 45. Сверявай командите с официалното ръководство преди да ги пуснеш, защото инструментът на dnf се променя между версиите.

Моето мнение

Аз държа Ubuntu на сървъра Mammon, защото сървърът ми трябва скучен, а не интересен. Fedora е от другата страна на скалата: по-нови пакети, по-бързо движение, и затова е добър избор за лаптоп или работна станция, където искаш новото рано. Stratis в инсталатора е най-интересното за мен. За домашна лаборатория, където често разширяваш пул от дискове, това е по-малко ръчна работа. Но нова файлова система в инсталатора не е причина да мигрираш работещ сървър. Пробвай я първо във виртуална машина.

А VPN плъгините са добър урок: нещо, което „винаги е работило“, може тихо да изчезне от следващата версия. Провери го в понеделник сутрин, а не когато си на път с лаптопа.

Източници / Sources: Fedora Magazine: Announcing Fedora Linux 45, LWN: Fedora Linux 45 released, Fedora Magazine: What's New in Fedora Workstation 45, Fedora Magazine: миграция от vpnc и fortisslvpn.

Fedora Linux 45 was released on 3 November, for all editions at once: Workstation, KDE Plasma Desktop, Server, Cloud, CoreOS and IoT, plus the Atomic Desktops and the spins (Cinnamon, Xfce, MATE, COSMIC). Nothing is on fire, but there are two things worth reading before you press "upgrade".

What is new

  • Stratis in the installer. Anaconda can now install the system on Stratis. Stratis pools several drives and offers thin provisioning, snapshots and LUKS encryption without you wiring up device-mapper and XFS by hand. With custom partitioning you can open Cockpit's storage module straight from the installer. For automated installs, Kickstart gets --type=stratis for autopart, plus the stratispool and stratisfs commands.
  • GNOME 51 on Workstation. According to Fedora Magazine, Mutter has reworked frame scheduling to keep animation steady under heavy CPU load, Files shows a count badge while dragging and no longer freezes on slow folder reloads, and passwords and tokens now live in a new service called oo7, written from scratch.
  • Updated developer toolchains and desktop stacks, as the announcement says.
  • Two old VPN plugins are gone. This is the part that can bite you.

The VPN plugins: check before you upgrade

NetworkManager-vpnc and NetworkManager-fortisslvpn are unmaintained and are retired in Fedora 45. Fedora Magazine gives the reason: published issues allow privilege escalation through a malicious VPN profile. If you connect to a company network with either of them, prepare the replacement:

| Old plugin | What it is for | What to use |
|---|---|---|
| NetworkManager-fortisslvpn | Fortinet SSLVPN | NetworkManager-openconnect |
| NetworkManager-vpnc | Cisco IPsec (IKEv1) | NetworkManager-libreswan |

In short for Fortinet: sudo dnf install NetworkManager-openconnect, then add a new "Multi-protocol VPN client (openconnect)" connection and choose the "Fortinet SSL VPN" protocol. For Cisco: sudo dnf install NetworkManager-libreswan and a new IPsec connection of type IKEv1. There you need to enable IKEv1 in /etc/ipsec.d/ikev1.conf and have ipsec.service running, or the connection will not come up. The exact steps are in the Fedora Magazine article linked below.

How to upgrade

  1. Back up first, and then once more for anything you cannot lose. Upgrading a whole system is routine, but routine is not a guarantee.
  2. Update the current system: sudo dnf upgrade --refresh, then reboot.
  3. Download the new release: sudo dnf system-upgrade download --releasever=45.
  4. Start the upgrade: sudo dnf system-upgrade reboot. The machine restarts and applies it.

If you run Silverblue, Fedora Magazine has a separate rebase guide for 45. Check the commands against the official guide before running them, because the dnf tooling changes between versions.

My take

I keep Ubuntu on my Mammon server, because a server should be boring, not interesting. Fedora is the other end of the scale: newer packages, faster movement, which makes it a good fit for a laptop or workstation where you want new things early. Stratis in the installer is the most interesting part for me. For a home lab where you often grow a pool of disks, it means less manual work. But a new filesystem option in the installer is no reason to migrate a working server. Try it in a virtual machine first.

And the VPN plugins are a good lesson: something that "always worked" can quietly vanish in the next release. Check it on a Monday morning, not when you are on the road with your laptop.

Sources: Fedora Magazine: Announcing Fedora Linux 45, LWN: Fedora Linux 45 released, Fedora Magazine: What's New in Fedora Workstation 45, Fedora Magazine: migrating away from vpnc and fortisslvpn.

Built to create. Not to obey.

// more

Още от „Технологии“

Всички публикации →