Zum Inhalt springen

Benutzer:MathiasMahnke/Debian Trixie 2025: Unterschied zwischen den Versionen

Aus Opennet
Inhalt gelöscht Inhalt hinzugefügt
MathiasMahnke (Diskussion | Beiträge)
MathiasMahnke (Diskussion | Beiträge)
Zeile 100: Zeile 100:


Gedanken zum Debian Release:
Gedanken zum Debian Release:
* /boot mindestens 786 MB Speicher
* systemd-timesyncd für NTP Client Timesync - Umstellung via Ansible
* /tmp wird zum In-Memory tmpfs, daher ggf. vorher bereinigen / Dateien sichern
* GRUB ohne OS-Prober via /etc/default/grub: "GRUB_DISABLE_OS_PROBER=true" - keine Anpassung notwendig
* OpenSSH ohne DSA-Schlüsselunterstützung, ggf. ssh1 verwenden
* isc-dhcp geht EoL, alternativen DHCP (Client) verwenden - Umstellung manuell
* systemd-cryptsetup für verschlüsselte Dateisysteme
* OpenSSH scp deaktiviert, sftp zu verwenden - keine Anpassung notwendig
* MariaDB zur Sicherheit vorher herunterfahren: service mariadb stop
* SSH Keys vollständig auf ED25519 umstellen?
* systemd-sysctl liesst nicht mehr /etc/sysctl.conf, Paket linux-sysctl-defaults mit /etc/sysctl.d/*.conf verwenden
* "Dienste, die NSS verwenden", weiter notwendig?
* dovecot hat ein neues Konfigurationsformat
* libvirt-daemon überarbeitet,mehr unter /usr/share/doc/libvirt-common/NEWS.Debian.gz
* isc-dhcp wird deprecated, Umstellung auf systemd-networkd
* deborphan wird entfernt


Hinweise Changelog:
Hinweise Changelog:


https://www.debian.org/releases/trixie/release-notes/index.de.html
bridge-utils (1.7-2) unstable; urgency=medium
We have changed the way we deal with disabling IPv6 on the interfaces, now
we don't disable IPv6 but instead we disable creation of link-local
addresses on them.
We also added a new setting in etc/default/bridge-utils named
BRIDGE_DISABLE_LINKLOCAL_IPV6_ALSO_PHYS so that you can avoid disabling
creation of link-local addresses on the physical interfaces on which we
create vlan ports. The default setting is "yes" so that we preserve the
old behaviour, but if you set it to no, the physical interface will
receive its link-local address.

isc-dhcp-client (4.4.3-1) unstable; urgency=medium
ISC has decided to stop maintaining the client and relay parts of isc-dhcp,
and they will be removed after the 4.4.3 release, keeping only the server
component. Please, consider using an alternative for isc-dhcp-client
(dhclient).
More information can be found in the ISC official announcement:
https://www.isc.org/blogs/dhcp-client-relay-eom/

shadow (1:4.11.1+dfsg1-0exp1) experimental; urgency=medium
Login now prevents an empty password field to be interpreted as
"no authentication required" for UID 0 (root account).
The historical default of letting all users with empty password field
in without authentication can be restored in /etc/login.defs setting
PREVENT_NO_AUTH to "no".

systemd (251.3-2) unstable; urgency=medium
systemd-resolved has been split into a separate package.
This new systemd-resolved package will not be installed automatically on
upgrades. If you are using systemd-resolved, please install this new
package manually.

openssh (1:9.2p1-1) unstable; urgency=medium
OpenSSH 9.2 includes a number of changes that may affect existing
configurations:
* ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that
controls whether the client-side ~C escape sequence that provides a
command-line is available. Among other things, the ~C command-line
could be used to add additional port-forwards at runtime.
This option defaults to "no", disabling the ~C command-line that was
previously enabled by default. Turning off the command-line allows
platforms that support sandboxing of the ssh(1) client (currently only
OpenBSD) to use a stricter default sandbox policy.

openssh (1:9.1p1-1) unstable; urgency=medium
OpenSSH 9.1 includes a number of changes that may affect existing
configurations:
* ssh(1), sshd(8): SetEnv directives in ssh_config and sshd_config are
now first-match-wins to match other directives. Previously if an
environment variable was multiply specified the last set value would
have been used.
* ssh-keygen(8): ssh-keygen -A (generate all default host key types) will
no longer generate DSA keys, as these are insecure and have not been
used by default for some years.

openssh (1:9.0p1-1) unstable; urgency=medium
OpenSSH 9.0 includes a number of changes that may affect existing
configurations:
* This release switches scp(1) from using the legacy scp/rcp protocol to
using the SFTP protocol by default.
Legacy scp/rcp performs wildcard expansion of remote filenames (e.g.
"scp host:* .") through the remote shell. This has the side effect of
requiring double quoting of shell meta-characters in file names
included on scp(1) command-lines, otherwise they could be interpreted
as shell commands on the remote side.
This creates one area of potential incompatibility: scp(1) when using
the SFTP protocol no longer requires this finicky and brittle quoting,
and attempts to use it may cause transfers to fail. We consider the
removal of the need for double-quoting shell characters in file names
to be a benefit and do not intend to introduce bug-compatibility for
legacy scp/rcp in scp(1) when using the SFTP protocol.
Another area of potential incompatibility relates to the use of remote
paths relative to other user's home directories, for example - "scp
host:~user/file /tmp". The SFTP protocol has no native way to expand a
~user path. However, sftp-server(8) in OpenSSH 8.7 and later support a
protocol extension "expand-path@openssh.com" to support this.
In case of incompatibility, the scp(1) client may be instructed to use
the legacy scp/rcp using the -O flag.

openssh (1:8.8p1-1) unstable; urgency=medium
OpenSSH 8.8 includes a number of changes that may affect existing
configurations:
* This release disables RSA signatures using the SHA-1 hash algorithm by
default. This change has been made as the SHA-1 hash algorithm is
cryptographically broken, and it is possible to create chosen-prefix
hash collisions for <USD$50K.
For most users, this change should be invisible and there is no need to
replace ssh-rsa keys. OpenSSH has supported RFC8332 RSA/SHA-256/512
signatures since release 7.2 and existing ssh-rsa keys will
automatically use the stronger algorithm where possible.
Incompatibility is more likely when connecting to older SSH
implementations that have not been upgraded or have not closely tracked
improvements in the SSH protocol. For these cases, it may be necessary
to selectively re-enable RSA/SHA1 to allow connection and/or user
authentication via the HostkeyAlgorithms and PubkeyAcceptedAlgorithms
options. For example, the following stanza in ~/.ssh/config will enable
RSA/SHA1 for host and user authentication for a single destination
host:
Host old-host
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
We recommend enabling RSA/SHA1 only as a stopgap measure until legacy
implementations can be upgraded or reconfigured with another key type
(such as ECDSA or Ed25519).

openssh (1:8.7p1-1) unstable; urgency=medium
OpenSSH 8.7 includes a number of changes that may affect existing
configurations:
* scp(1): this release changes the behaviour of remote to remote copies
(e.g. "scp host-a:/path host-b:") to transfer through the local host by
default. This was previously available via the -3 flag. This mode
avoids the need to expose credentials on the origin hop, avoids
triplicate interpretation of filenames by the shell (by the local
system, the copy origin and the destination) and, in conjunction with
the SFTP support for scp(1) mentioned below, allows use of all
authentication methods to the remote hosts (previously, only
non-interactive methods could be used). A -R flag has been added to
select the old behaviour.
* ssh(1)/sshd(8): both the client and server are now using a stricter
configuration file parser. The new parser uses more shell-like rules
for quotes, space and escape characters. It is also more strict in
rejecting configurations that include options lacking arguments.
Previously some options (e.g. DenyUsers) could appear on a line with no
subsequent arguments. This release will reject such configurations. The
new parser will also reject configurations with unterminated quotes and
multiple '=' characters after the option name.
* ssh(1): when using SSHFP DNS records for host key verification, ssh(1)
will verify all matching records instead of just those with the
specific signature type requested. This may cause host key verification
problems if stale SSHFP records of a different or legacy signature type
exist alongside other records for a particular host. bz#3322
* ssh-keygen(1): when generating a FIDO key and specifying an explicit
attestation challenge (using -Ochallenge), the challenge will now be
hashed by the builtin security key middleware. This removes the
(undocumented) requirement that challenges be exactly 32 bytes in
length and matches the expectations of libfido2.
* sshd(8): environment="..." directives in authorized_keys files are now
first-match-wins and limited to 1024 discrete environment variable
names.
OpenSSH 8.5 includes a number of changes that may affect existing
configurations:
* ssh(1), sshd(8): this release changes the first-preference signature
algorithm from ECDSA to ED25519.
* ssh(1), sshd(8): set the TOS/DSCP specified in the configuration for
interactive use prior to TCP connect. The connection phase of the SSH
session is time-sensitive and often explicitly interactive. The
ultimate interactive/bulk TOS/DSCP will be set after authentication
completes.
* ssh(1), sshd(8): remove the pre-standardization cipher
rijndael-cbc@lysator.liu.se. It is an alias for aes256-cbc before it
was standardized in RFC4253 (2006), has been deprecated and disabled by
default since OpenSSH 7.2 (2016) and was only briefly documented in
ssh.1 in 2001.
* ssh(1), sshd(8): update/replace the experimental post-quantum hybrid
key exchange method based on Streamlined NTRU Prime coupled with
X25519.
The previous sntrup4591761x25519-sha512@tinyssh.org method is replaced
with sntrup761x25519-sha512@openssh.com. Per its designers, the
sntrup4591761 algorithm was superseded almost two years ago by
sntrup761.
(note this both the updated method and the one that it replaced are
disabled by default)
* ssh(1): disable CheckHostIP by default. It provides insignificant
benefits while making key rotation significantly more difficult,
especially for hosts behind IP-based load-balancers.

rsync (3.2.3-5) unstable; urgency=medium
The --copy-devices option has been reintroduced, it was previously removed in
favor of the new one --write-devices, but it turns out they are not equivalent
enough and upstream is providing the copy-devices patch on rsync-patches.
Please beware that although the --copy-devices option is provided by
upstream, it is not part of the official rsync package and it could be
dropped or changed in ways that are not backwards compatible, though this would
only happen between Debian releases.
That being said, we will not drop this option from the Debian packaging as
long as upstream keeps providing the patch under rsync-patches.

pyjwt (2.1.0-1) unstable; urgency=medium
Commandline script was removed upstream and there is not an alternative.
Who needs it should write something to cover the features they were using.

https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.de.html

Version vom 3. November 2025, 03:43 Uhr

Status: In Arbeit

Debian Trixie Update Status der Opennet Server - Debian Release von 08/2025.

Status

Virtualisierungsserver:

Gateway-Server:

Dienste-Server:

Sonstige Server

Aktualisierung

Vorab: Ansible Ausführung.

Ablauf:

screen
cat /etc/debian_version
apt update && apt upgrade
apt autoremove
apt list '?narrow(?installed, ?not(?origin(Debian)))'
find /etc -name '*.dpkg-*' -o -name '*.ucf-*' -o -name '*.merge-error'
## HIER: Ggf. alte Konfigurationsdateien entfernen.
# rm /etc/cron.daily/bsdmainutils.dpkg-remove /etc/ca-certificates.conf.dpkg-old
# rm /etc/ssh/sshd_config.ucf-old /etc/olsrd/olsrd.conf.dpkg-dist
cat /etc/apt/preferences
ls /etc/apt/preferences.d/
dpkg --audit
apt-mark showhold
apt list '~c'
## HIER: ehem. installierte Pakete & Konfigurationen final entfernen
# apt purge '~c'
apt clean
df -h
## HIER: apt sources list anpassen + Ansible host_vars
apt update && apt upgrade --without-new-pkgs
apt full-upgrade
## *** ...
## HIER: ggf. Ansible Lauf
reboot
apt autoremove
apt list '~o'
## HIER: veraltete Pakete entfernen (sehr genau prüfen!; i.d.R. nicht alles entfernen)
# apt #CHECKTWICE# purge '~o'
# apt remove ...
apt autoremove
apt list '~c'
## HIER: entfernte Pakete bereinigen
# apt purge '~c'
## HIER: Nachkontrolle von Diensten, ggf. manuelle Neustarts
echo /nhdpinfo neighbor | nc localhost 2009
systemctl --type=service
systemctl status <name.service>
journalctl -u <name.service>
systemctl restart <name.service>
ip -6 addr show
ip -6 route show
ping -6 jun.opennet-initiative.de -c 3
ping -6 jun.on -c 3

Anschließend: Ansible Ausführung

Vorbereitungen

Gedanken zum Debian Release:

  • /boot mindestens 786 MB Speicher
  • /tmp wird zum In-Memory tmpfs, daher ggf. vorher bereinigen / Dateien sichern
  • OpenSSH ohne DSA-Schlüsselunterstützung, ggf. ssh1 verwenden
  • systemd-cryptsetup für verschlüsselte Dateisysteme
  • MariaDB zur Sicherheit vorher herunterfahren: service mariadb stop
  • systemd-sysctl liesst nicht mehr /etc/sysctl.conf, Paket linux-sysctl-defaults mit /etc/sysctl.d/*.conf verwenden
  • dovecot hat ein neues Konfigurationsformat
  • libvirt-daemon überarbeitet,mehr unter /usr/share/doc/libvirt-common/NEWS.Debian.gz
  • isc-dhcp wird deprecated, Umstellung auf systemd-networkd
  • deborphan wird entfernt

Hinweise Changelog:

https://www.debian.org/releases/trixie/release-notes/index.de.html