[Bug 2047975] Autopkgtest regression report (systemd/255.4-1ubuntu8.1)
Ubuntu SRU Bot
2047975 at bugs.launchpad.net
Thu May 23 01:07:09 UTC 2024
All autopkgtests for the newly accepted systemd (255.4-1ubuntu8.1) for noble have finished running.
The following regressions have been reported in tests triggered by the package:
389-ds-base/unknown (armhf, s390x)
aide/unknown (s390x)
amavisd-new/unknown (s390x)
apport/2.28.1-0ubuntu3 (arm64)
apport/unknown (s390x)
appstream/unknown (s390x)
apt/2.7.14build2 (armhf)
apt/unknown (s390x)
asterisk/unknown (s390x)
at-spi2-core/unknown (s390x)
ayatana-indicator-session/unknown (s390x)
bind9/unknown (amd64, armhf, i386, s390x)
bolt/unknown (amd64, s390x)
casper/unknown (s390x)
casync/unknown (s390x)
ceph/unknown (s390x)
clamav/unknown (amd64)
clevis/unknown (s390x)
cloudflare-ddns/unknown (s390x)
clutter-1.0/unknown (amd64)
cockpit/unknown (s390x)
collectd/unknown (s390x)
colord/unknown (s390x)
comitup/unknown (amd64, s390x)
conntrack-tools/unknown (amd64)
corosync/3.1.7-1ubuntu3 (arm64)
corosync/unknown (s390x)
corosync-qdevice/unknown (amd64, s390x)
coturn/unknown (armhf, s390x)
cron/unknown (ppc64el, s390x)
crun/unknown (amd64, s390x)
cryptsetup/2:2.7.0-1ubuntu4 (arm64)
csync2/unknown (amd64, s390x)
cups/unknown (amd64, s390x)
dbus/1.14.10-4ubuntu4 (i386)
dbus/unknown (amd64, armhf, s390x)
dbus-broker/unknown (amd64, s390x)
debos/unknown (amd64)
dhcpcd/unknown (armhf, s390x)
dlm/unknown (amd64)
dovecot/unknown (amd64)
dpdk/23.11-1build3 (amd64)
dq/20240101-1 (amd64)
exim4/unknown (amd64, armhf)
expeyes/unknown (amd64)
fcgiwrap/unknown (amd64)
fluidsynth/unknown (amd64, i386)
freedom-maker/unknown (amd64, armhf, i386)
freedombox/unknown (amd64)
freeradius/unknown (amd64)
fwupd/unknown (amd64)
gamemode/unknown (i386)
gdm3/unknown (amd64)
golang-github-coreos-go-systemd/unknown (amd64)
gpsd/unknown (amd64)
gvfs/unknown (s390x)
haproxy/unknown (amd64)
hddemux/unknown (amd64)
hwloc/unknown (amd64, s390x)
incus/unknown (amd64)
init-system-helpers/unknown (amd64)
initramfs-tools/unknown (amd64)
interception-tools/unknown (amd64)
janus/unknown (amd64)
keyman/unknown (amd64)
knot/unknown (amd64)
knot-resolver/unknown (amd64)
libcamera/0.2.0-3fakesync1build6 (amd64, armhf)
libei/1.2.1-1 (amd64)
libinput/unknown (amd64)
liblinux-systemd-perl/unknown (amd64)
libreswan/unknown (amd64)
libsdl2/unknown (amd64)
libsfml/2.6.1+dfsg-2build2 (armhf)
libsfml/unknown (amd64)
libsoup2.4/2.74.3-6ubuntu1 (ppc64el)
libsoup2.4/unknown (amd64)
libsoup3/unknown (amd64)
libusbauth-configparser/unknown (amd64)
libvirt/unknown (amd64)
lighttpd/unknown (amd64)
linux-ibm/unknown (amd64)
logiops/unknown (amd64)
logrotate/unknown (amd64)
mariadb/unknown (amd64)
mediawiki/unknown (amd64)
mir/unknown (amd64)
mkosi/unknown (amd64)
monitoring-plugins-systemd/unknown (amd64)
mosquitto/unknown (amd64)
multipath-tools/unknown (amd64)
munin/unknown (amd64)
mutter/unknown (amd64)
nagios-tang/unknown (amd64, s390x)
ndctl/unknown (armhf, s390x)
network-manager/unknown (amd64, s390x)
nextepc/unknown (amd64)
nix/unknown (amd64, armhf)
nut/unknown (amd64, armhf, s390x)
open-build-service/unknown (amd64)
openssh/unknown (amd64)
openvpn/unknown (amd64)
openzwave/unknown (amd64)
ovn/unknown (amd64)
pam/unknown (amd64, i386)
pdns-recursor/unknown (amd64)
pgagroal/unknown (amd64)
pgbouncer/unknown (amd64)
pglistener/unknown (amd64)
php8.3/unknown (amd64)
pipewire/unknown (amd64)
policykit-1/unknown (amd64)
polkit-qt-1/unknown (amd64)
postgresql-16/unknown (amd64, s390x)
procps/unknown (armhf)
prometheus-homeplug-exporter/unknown (armhf)
prometheus-postfix-exporter/0.3.0-4build1 (armhf)
pulseaudio/unknown (amd64)
puppet-agent/unknown (armhf)
pystemd/0.13.2-1build2 (armhf)
pystemd/unknown (amd64, s390x)
python-dbusmock/unknown (s390x)
python-sdbus/unknown (s390x)
python-systemd/unknown (s390x)
pyudev/unknown (amd64, s390x)
qlcplus/unknown (amd64, armhf, s390x)
rbldnsd/unknown (amd64, armhf, s390x)
redis/unknown (amd64)
remctl/unknown (amd64, s390x)
rsyslog/8.2312.0-3ubuntu9 (amd64)
rtkit/unknown (s390x)
rust-whoami/unknown (amd64)
samba/2:4.19.5+dfsg-4ubuntu9 (arm64)
samba/unknown (s390x)
seatd/unknown (i386)
shibboleth-sp/unknown (s390x)
sks/unknown (s390x)
smcroute/unknown (amd64, s390x)
snapd/unknown (s390x)
squid/unknown (s390x)
sssd/unknown (amd64)
stayrtr/unknown (s390x)
strongswan/unknown (amd64, arm64)
stunnel4/unknown (amd64)
tgt/unknown (amd64, s390x)
tinyssh/20240101-2 (arm64, s390x)
tinyssh/unknown (amd64)
tmux/unknown (s390x)
tpm2-abrmd/unknown (amd64, s390x)
udisks2/unknown (amd64)
umockdev/unknown (amd64, s390x)
upower/1.90.3-1 (armhf)
upower/unknown (s390x)
usbauth/unknown (amd64, s390x)
util-linux/unknown (amd64)
vlc/3.0.20-3build6 (arm64)
vlc/unknown (i386)
weston/unknown (amd64)
yder/unknown (s390x)
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].
https://people.canonical.com/~ubuntu-archive/proposed-
migration/noble/update_excuses.html#systemd
[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions
Thank you!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2047975
Title:
package systemd-resolved 253.5-1ubuntu7 failed to install/upgrade:
installed systemd-resolved package post-installation script subprocess
returned error exit status 1 [cp: '/etc/resolv.conf' and
'/run/systemd/resolve/stub-resolv.conf' are the same file]
Status in systemd package in Ubuntu:
Fix Committed
Status in systemd source package in Noble:
Fix Committed
Bug description:
[Impact]
For users that disabled the stub-resolver, and in doing so also
created a symlink /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
(note this is not the correct way to disable the stub-resolver),
upgrading from Jammy to Noble will fail with:
cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are
the same file
This logic in systemd-resolved.postinst is guarded by a version check,
and is only run on upgrades from systemd versions before 251.4-2
(which in practice means only upgrades from Jammy), and on new
installs.
[Test Plan]
Start a VM or container running Jammy. Disable the stub-resolver, and
create the symlink /etc/resolv.conf ->
/run/systemd/resolve/resolv.conf:
$ mkdir -p /etc/systemd/resolved.conf.d/
$ cat > /etc/systemd/resolved.conf.d/no-stub-resolver.conf << EOF
[Resolve]
DNSStubListener=no
EOF
$ ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
$ systemctl restart systemd-resolved
Then, run an upgrade to Noble:
$ do-release-upgrade --devel
NB that currently, even devel upgrades are disabled to from Jammy to
Noble, so the upgrade would need to be run as:
$ wget http://archive.ubuntu.com/ubuntu/dists/noble-proposed/main/dist-upgrader-all/24.04.18/noble.tar.gz
$ tar xf noble.tar.gz
$ ./noble
Inspect the relevant output and logs to ensure that systemd-resolved
was upgraded successfully during the upgrade.
[Where problems could occur]
The fix is to make such a failure non-fatal. This is safe because
although manually creating this symlink is not necessary, it will not
impact the operation of systemd-resolved. Hence, failing to make this
cp will not impact the user. Later in the postinst, we force the new
symlink anyways.
If something was wrong with the change, it would likely cause the
systemd-resolved.postinst to fail a different way.
[Original Description]
upgraded from 22.04 -> 24.04
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: systemd-resolved 253.5-1ubuntu7
ProcVersionSignature: Ubuntu 6.2.0-39.40~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-39-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Wed Jan 3 21:06:55 2024
ErrorMessage: installed systemd-resolved package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-02-27 (311 days ago)
InstallationMedia: Ubuntu-Server 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809)
Python3Details: /usr/bin/python3.11, Python 3.11.7, python3-minimal, 3.11.4-5
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.22.1ubuntu5
apt 2.7.6
SourcePackage: systemd
Title: package systemd-resolved 253.5-1ubuntu7 failed to install/upgrade: installed systemd-resolved package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to noble on 2024-01-03 (0 days ago)
mtime.conffile..etc.systemd.resolved.conf: 2023-02-27T21:16:55.869158
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2047975/+subscriptions
More information about the foundations-bugs
mailing list