admin:bullseye
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
admin:bullseye [2021-05-04 16:07] – [Wichtige Änderungen] Lars Beckers | admin:bullseye [2023-08-07 17:00] (aktuell) – [Das Update] Postgres pgBackRest Thomas Schneider | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Bullseye Upgrade ====== | ||
+ | |||
+ | Aktueller Stand der Hosts: | ||
+ | [[https:// | ||
+ | |||
+ | Aktueller Stand des Ansible: | ||
+ | [[https:// | ||
+ | |||
+ | Clients werden einfach wieder neu aufgesetzt. Beim Rest sollte ein Update möglich sein. | ||
+ | |||
+ | //Hard Freeze// seit 12. März, //Full Freeze// seit 17. Juli und //Release// am 14.08. | ||
+ | |||
+ | ===== Wichtige Änderungen ===== | ||
+ | |||
+ | * New VA-API default driver for Intel GPUs | ||
+ | * The XFS file system no longer supports '' | ||
+ | * Noteworthy obsolete package: '' | ||
+ | * Deprecated components: '' | ||
+ | * security suite is now named '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * Password hashing uses '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | Bis zum Release können sich weitere Änderungen ergeben. Siehe auch [[https:// | ||
+ | |||
+ | ==== Weitere Beobachtungen ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | ===== Beschränkungen im Security Support ===== | ||
+ | |||
+ | Noch nicht final. | ||
+ | |||
+ | **non-mainstream Webbrowser** | ||
+ | > Debian 11 includes several browser engines which are affected by a steady stream of security vulnerabilities. The high rate of vulnerabilities and partial lack of upstream support in the form of long term branches make it very difficult to support these browsers and engines with backported security fixes. Additionally, | ||
+ | > | ||
+ | > For general web browser use we recommend Firefox or Chromium. They will be kept up-to-date by rebuilding the current ESR releases for stable. The same strategy will be applied for Thunderbird. | ||
+ | |||
+ | **OpenJDK 17** | ||
+ | > Debian bullseye comes with an early access version of OpenJDK 17 (the next expected OpenJDK LTS version after OpenJDK 11), to avoid the rather tedious bootstrap process. The plan is for OpenJDK 17 to receive an update in bullseye to the final upstream release announced for October 2021, followed by security updates on a best effort basis, but users should not expect to see updates for every quarterly upstream security update. | ||
+ | |||
+ | **Python 2** | ||
+ | > Python 2 is not supported for running applications and there won't be any security updates for Python 2 in Bullseye. | ||
+ | |||
+ | Nach wie vor gilt für '' | ||
+ | ===== Anleitung ===== | ||
+ | |||
+ | ==== Vor dem Update ==== | ||
+ | === Backup und Restore === | ||
+ | Vor dem Update sicherstellen, | ||
+ | |||
+ | === Distanzminimierung === | ||
+ | Bei älteren Systemen diese erst auf [[admin: | ||
+ | |||
+ | === Recording the session === | ||
+ | |||
+ | > It is strongly recommended that you use the ''/ | ||
+ | |||
+ | < | ||
+ | script -t 2> | ||
+ | </ | ||
+ | |||
+ | > or similar. If you have to rerun the typescript (e.g. if you have to reboot the system) use different '' | ||
+ | > | ||
+ | > The typescript will also allow you to review information that has scrolled off-screen. If you are at the system' | ||
+ | > | ||
+ | > After you have completed the upgrade, you can stop '' | ||
+ | > | ||
+ | > '' | ||
+ | > | ||
+ | > If you have used the '' | ||
+ | |||
+ | < | ||
+ | scriptreplay ~/ | ||
+ | </ | ||
+ | |||
+ | ==== Das Update ==== | ||
+ | |||
+ | === Ganeti 3.0 aus den Backports === | ||
+ | |||
+ | Sofern anwendbar, zuerst Ganeti auf 3.0 updaten. Details: | ||
+ | |||
+ | >> during a test with piuparts I noticed your package fails to upgrade from | ||
+ | >> ' | ||
+ | >> It installed fine in ' | ||
+ | >> | ||
+ | >> In order to run ' | ||
+ | >> need to be installed, but the package from buster needs to be removed | ||
+ | >> due to the removal of unversioned python and the Python 2 modules | ||
+ | >> (python-*) before the local admin could run ' | ||
+ | >> | ||
+ | >> I'm not sure how a clean upgrade is intended to be performed in this | ||
+ | >> case. This may also be an interesting question for DSA. | ||
+ | > | ||
+ | > Yes, the removal of unversioned python makes things more complicated. I | ||
+ | > was hoping that ganeti-2.16' | ||
+ | > Python 2 modules around until gnt-cluster upgrade could run. | ||
+ | > | ||
+ | > That said, I think the best way forward is to upgrade buster clusters | ||
+ | > to 3.0 using the packages from buster-backports, | ||
+ | > dist-upgrade to bullseye. This should probably be documented in the | ||
+ | > release notes. | ||
+ | > | ||
+ | > Since there' | ||
+ | > downgrading to important and tagging it as wontfix. Please let me know | ||
+ | > what you think. | ||
+ | > | ||
+ | > Regards, | ||
+ | > Apollon | ||
+ | |||
+ | === Obsolete und fremde Pakete entfernen === | ||
+ | |||
+ | Auffinden mit: | ||
+ | < | ||
+ | aptitude search ' | ||
+ | aptitude search ' | ||
+ | aptitude search '? | ||
+ | </ | ||
+ | |||
+ | Entfernen mit: | ||
+ | < | ||
+ | apt autoremove --purge < | ||
+ | </ | ||
+ | |||
+ | Pakete, die von uns selbst eingebracht wurden, sollten konfiguriert belassen werden: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | == Persistentes Journal == | ||
+ | |||
+ | Es scheint als würde Debian den Schritt vollziehen. Wir müssen also ggf. anpassen und das Paket zum richtigen Zeitpunkt deinstallieren ohne den Ordner zu verlieren. | ||
+ | |||
+ | Siehe auch [[https:// | ||
+ | |||
+ | === Klebung === | ||
+ | |||
+ | Es wird empfohlen sämtliches Pinning zu entfernen. Wir sollten aber nur auf '' | ||
+ | |||
+ | === Konfigurationsdateien === | ||
+ | |||
+ | Es wird empfohlen sich vorher um // | ||
+ | |||
+ | < | ||
+ | find /etc -name ' | ||
+ | </ | ||
+ | |||
+ | === Paketmanager prüfen === | ||
+ | |||
+ | < | ||
+ | dpkg --audit | ||
+ | </ | ||
+ | |||
+ | === Quellen vorbereiten === | ||
+ | |||
+ | Alle nicht-offiziellen Quellen (temporär) rausschmeissen. Die verbleibenden Quellen auf '' | ||
+ | |||
+ | < | ||
+ | sed -i -e s, | ||
+ | </ | ||
+ | |||
+ | == Anpassung der Security-Quellen == | ||
+ | |||
+ | > For '' | ||
+ | |||
+ | Zum Beispiel: | ||
+ | < | ||
+ | deb http:// | ||
+ | </ | ||
+ | |||
+ | Siehe auch [[https:// | ||
+ | |||
+ | === Update === | ||
+ | |||
+ | Update im Mehrschrittprozess durchführen: | ||
+ | < | ||
+ | apt update | ||
+ | apt upgrade | ||
+ | apt full-upgrade | ||
+ | </ | ||
+ | |||
+ | Zwischendurch auf Enter hauen. Beobachten, ob wir wie üblich immer den Default wollen. | ||
+ | Falls Probleme auftauchen, prüfen, [[https:// | ||
+ | |||
+ | === Reboot === | ||
+ | |||
+ | === Postgres === | ||
+ | |||
+ | Achtung mit pgBackRest: Siehe [[admin: | ||
+ | ==== Nach dem Update ==== | ||
+ | |||
+ | === Aufräumen === | ||
+ | |||
+ | < | ||
+ | aptitude search ' | ||
+ | aptitude search ' | ||
+ | # purge applicable packages of both of these lists | ||
+ | apt autoremove --purge | ||
+ | apt clean # remove cached package downloads | ||
+ | find /etc -name ' | ||
+ | </ | ||
+ | |||
+ | === usrmerge === | ||
+ | |||
+ | In Vorbereitung auf '' | ||
+ | < | ||
+ | apt install usrmerge | ||
+ | </ | ||
+ | |||
+ | Siehe auch [[https:// | ||
+ | |||
+ | === Externe Quellen wieder einbinden === | ||
+ | Externe Quellen wieder einbinden und mit dem üblichen Prozedere updaten und upgraden. | ||
+ | |||
+ | === Ansible === | ||
+ | Ansible auf dem Host vollständig laufen lassen. | ||
+ | |||
+ | === Reboot === | ||
+ | |||
+ | === Test des Systems === | ||
+ | |||
+ | Manuelle Prüfung des Systems. Auch schauen, ob das Monitoring zufrieden ist. | ||
+ | |||
+ | ===== Längerfristige Umstellungen ===== | ||
+ | |||
+ | Bisher nichts. | ||