]>
git.proxmox.com Git - systemd.git/log
Michael Biebl [Sun, 7 Aug 2022 13:21:32 +0000 (15:21 +0200)]
virt: detect OpenStack instance as KVM on arm
Closes: #1016157
Michael Biebl [Sun, 7 Aug 2022 13:17:00 +0000 (15:17 +0200)]
virt: support detection for ARM64 Hyper-V guests
Closes: #1013342
Michael Biebl [Sun, 7 Aug 2022 13:15:10 +0000 (15:15 +0200)]
Drop bundled copy of linux/if_arp.h
Fixes build failures with newer kernel headers.
Michael Biebl [Sun, 20 Mar 2022 19:56:57 +0000 (20:56 +0100)]
Release version 247.3-7 to bullseye
Michael Biebl [Sun, 20 Mar 2022 18:49:28 +0000 (19:49 +0100)]
machine: enter target PID namespace when adding a live mount
Fixes failure to bind mount a directory into a container using
machinectl.
Closes: #993248
Michael Biebl [Wed, 29 Sep 2021 00:55:06 +0000 (02:55 +0200)]
autopktest: Fix timedated test dependencies
Add an explicit systemd-timesyncd dependency as it is required by the
timedated test.
(cherry picked from commit
98e96f771a4c0482b980b5771d0e72c3bcb4d5d9 )
Michael Biebl [Wed, 22 Sep 2021 18:50:26 +0000 (20:50 +0200)]
Demote systemd-timesyncd from Depends to Recommends
This avoids a dependency cycle between systemd and systemd-timesyncd and
thus makes dist upgrades more predictable and robust.
It also allows minimal, systemd based containers where no NTP client is
strictly necessary.
To ensure that systemd-timesyncd is installed in a default installation
created by d-i, bump its priority to standard.
Closes: #986651
Closes: #993947
(cherry picked from commit
287ced37e2f0f4de2a0e44f850105a1a17ffb815 )
Michael Biebl [Tue, 18 Jan 2022 12:49:47 +0000 (13:49 +0100)]
shared/rm-rf: loop over nested directories instead of recursing
Fixes uncontrolled recursion in systemd-tmpfiles.
CVE-2021-3997
Closes: #1003467
Michael Biebl [Sat, 25 Sep 2021 19:13:59 +0000 (21:13 +0200)]
Revert multipath symlink race fix
Revert upstream commits which caused a regression in udev resulting in
long delays when processing partitions with the same label.
Closes: #993738
(cherry picked from commit
2669f27b2ec5edd85b3d78dfef424d6950e06389 )
Michael Biebl [Tue, 18 Jan 2022 12:08:57 +0000 (13:08 +0100)]
udevadm-trigger: do not return immediately on EACCES
Fixes a regression when using systemd-networkd in an unprivileged LXD
container.
Closes: #997006
Michael Biebl [Tue, 18 Jan 2022 11:42:57 +0000 (12:42 +0100)]
Replace with upstream cherry-picks (from v247-stable)
No actual code changes.
Gbp-Dch: Ignore
Michael Biebl [Tue, 18 Jan 2022 11:31:42 +0000 (12:31 +0100)]
Switch debian-branch to debian/bullseye
Salvatore Bonaccorso [Thu, 8 Jul 2021 12:56:31 +0000 (14:56 +0200)]
Prepare changelog for release
Gbp-Dch: Ignore
Salvatore Bonaccorso [Thu, 8 Jul 2021 12:36:50 +0000 (14:36 +0200)]
basic/unit-name: adjust comments
Salvatore Bonaccorso [Thu, 8 Jul 2021 12:34:13 +0000 (14:34 +0200)]
basic/unit-name: do not use strdupa() on a path (CVE-2021-33910)
Salvatore Bonaccorso [Thu, 8 Jul 2021 12:47:40 +0000 (14:47 +0200)]
unit-name: generate a clear error code when converting an overly long fs path to a unit name
Michael Biebl [Mon, 12 Apr 2021 18:21:55 +0000 (20:21 +0200)]
Release version 247.3-5 to unstable
Michael Biebl [Sun, 11 Apr 2021 16:11:58 +0000 (18:11 +0200)]
udev-udeb: setup /dev/fd, /dev/std{in,out,err} symlinks
As systemd-udevd no longer sets them up itself, we create them manually
after mounting devtmpfs. This avoids breaking applications which expect
those symlinks.
Closes: #975018
Michael Biebl [Sun, 11 Apr 2021 14:10:38 +0000 (16:10 +0200)]
Release version 247.3-4 to unstable
Michael Biebl [Sun, 11 Apr 2021 14:03:24 +0000 (16:03 +0200)]
network: Delay addition of IPv6 Proxy NDP addresses
Fixes "IPv6 Proxy NDP addresses are being lost from interfaces after
networkd adds them".
Closes: #985510
Michael Biebl [Sun, 11 Apr 2021 14:02:37 +0000 (16:02 +0200)]
Fix patch metadata to be gbp dch compliant
Gbp-Dch: Ignore
Luca Boccassi [Thu, 1 Apr 2021 21:40:56 +0000 (22:40 +0100)]
Backport patch to fix assert with invalid LoadCredentials=
Regression introduced in v247, fixed in v249, see:
https://github.com/systemd/systemd/issues/19178
Michael Biebl [Thu, 11 Mar 2021 17:10:28 +0000 (18:10 +0100)]
Release version 247.3-3 to unstable
Michael Biebl [Thu, 11 Mar 2021 17:00:47 +0000 (18:00 +0100)]
Revert "units: turn off DNSSEC validation when timesyncd resolves hostnames"
This reverts commit
c3f7ac43a0878975ae7e38c179bb864eb19e91c5 .
Support for SYSTEMD_NSS_RESOLVE_VALIDATE=0 requires the changes from
https://github.com/systemd/systemd/pull/17823 for the dnssec bypass
logic. Those are rather invasive changes and not suitable for a stable
backport.
Michael Biebl [Thu, 11 Mar 2021 16:40:25 +0000 (17:40 +0100)]
pkg-config: make prefix overridable again
Closes: #984763
Michael Biebl [Sat, 6 Mar 2021 21:33:35 +0000 (22:33 +0100)]
Release version 247.3-2 to unstable
Michael Biebl [Sat, 6 Mar 2021 21:00:09 +0000 (22:00 +0100)]
table: drop trailing white spaces of the last cell in row
Closes: #980820
Michael Biebl [Sat, 6 Mar 2021 20:58:23 +0000 (21:58 +0100)]
units: turn off DNSSEC validation when timesyncd resolves hostnames
Closes: #898530
Michael Biebl [Sat, 6 Mar 2021 20:55:57 +0000 (21:55 +0100)]
rules: move ID_SMARTCARD_READER definition to a <70 configuration
Closes: #978011
Michael Biebl [Sat, 6 Mar 2021 20:53:40 +0000 (21:53 +0100)]
analyze: slightly reword PrivateTmp= message
Closes: #931753
Michael Biebl [Sat, 6 Mar 2021 20:47:42 +0000 (21:47 +0100)]
core: fix mtime calculation of dropin files
Closes: #975289
Michael Biebl [Mon, 15 Feb 2021 23:19:21 +0000 (00:19 +0100)]
Downgrade a couple of warnings to debug
If a package still ships only a SysV init script or if a service file or
tmpfile uses /var/run, downgrade those messages to debug. We can use
lintian to detect those issues.
For service files and tmpfiles in /etc, keep the warning, as those files
are typically added locally and aren't checked by lintian.
Closes: #981407
Michael Biebl [Wed, 3 Feb 2021 16:12:10 +0000 (17:12 +0100)]
Release version 247.3-1 to unstable
Ioanna Alifieraki [Mon, 25 Jan 2021 20:24:55 +0000 (20:24 +0000)]
systemctl: return error code when scheduled shutdown fails
This patch modifies (debian) commit
ce31df6711a8 (systemctl: do not
shutdown immediately on scheduled shutdown) to return the error code
when scheduled shutdown fails.
Gbp-Dch: Short
Michael Biebl [Tue, 2 Feb 2021 23:15:09 +0000 (00:15 +0100)]
Rebase patches
Michael Biebl [Tue, 2 Feb 2021 23:13:25 +0000 (00:13 +0100)]
New upstream version 247.3
Michael Biebl [Tue, 2 Feb 2021 23:12:56 +0000 (00:12 +0100)]
Update upstream source from tag 'upstream/247.3'
Update to upstream version '247.3'
with Debian dir
70038e378626f8200a0f0d264c8104840f3ddd92
Michael Biebl [Tue, 2 Feb 2021 23:12:14 +0000 (00:12 +0100)]
New upstream version 247.3
Michael Biebl [Mon, 18 Jan 2021 12:46:27 +0000 (13:46 +0100)]
Release version 247.2-5 to unstable
Michael Biebl [Mon, 18 Jan 2021 12:44:42 +0000 (13:44 +0100)]
Set upstream metadata fields: Bug-Submit, Bug-Database, Repository, Repository-Browse
Michael Biebl [Mon, 18 Jan 2021 12:41:37 +0000 (13:41 +0100)]
Bump Standards-Version to 4.5.1
Michael Biebl [Mon, 18 Jan 2021 12:40:42 +0000 (13:40 +0100)]
test: disable DnsmasqClientTest.test_resolved_etc_hosts in networkd-test.py
This test appears to be flaky.
See #979716
Michael Biebl [Mon, 11 Jan 2021 17:49:11 +0000 (18:49 +0100)]
systemctl: do not shutdown immediately on scheduled shutdown
When, for whatever reason, a scheduled shutdown fails to be set, systemd
will proceed with immediate shutdown without allowing the user to react.
This is counterintuitive because when a scheduled shutdown is issued,
it means the user wants to shutdown at a specified time in the future,
not immediately.
Closes: #931235
Matthias Klumpp [Sat, 16 Jan 2021 19:11:49 +0000 (20:11 +0100)]
Configure localed to run locale-gen to generate missing locale
This applies an (upstreamed) patch to permit systemd-localed to run
locale-gen to generate missing locale when requested to switch the
system locale.
This makes localectl usable on Debian for changing locale without
breaking system localization or even prevent certain applications from
running at all after switching to a non-generated locale.
Michael Biebl [Sat, 2 Jan 2021 16:06:23 +0000 (17:06 +0100)]
Release version 247.2-4 to unstable
Michael Biebl [Sun, 10 Nov 2019 17:55:33 +0000 (18:55 +0100)]
Move libraries and NSS modules from /lib to /usr/lib
Keep libpam_systemd.so installed in /lib, as PAM doesn't support
loading PAM modules from /usr/lib on a split-usr system.
Michael Biebl [Sat, 26 Dec 2020 12:35:53 +0000 (13:35 +0100)]
Release version 247.2-3 to unstable
Michael Biebl [Sat, 26 Dec 2020 12:33:06 +0000 (13:33 +0100)]
getty-static.service: Skip if dbus-broker is installed
Check for the binary in /usr/bin as this makes it easier to move the
service files from /lib/systemd to /usr/lib/systemd.
Michael Biebl [Sat, 26 Dec 2020 12:24:58 +0000 (13:24 +0100)]
init-functions, getty-static.service: Don't hard-code path to systemctl binary
This should simplify an eventual move of systemctl from /bin to
/usr/bin.
Michael Biebl [Fri, 25 Dec 2020 22:47:57 +0000 (23:47 +0100)]
Increase timeout when running unit tests
The default timeout for individual unit tests is 30s. On slower
architectures and environments like reproducible-builds, this sometimes
is not enough.
Instead of fine-tuning the timeout for each individual test, we instead
increase the timeouts by a factor of 10.
Michael Biebl [Wed, 23 Dec 2020 11:06:26 +0000 (12:06 +0100)]
test: use modern qemu numa arguments
Michael Biebl [Mon, 21 Dec 2020 19:07:31 +0000 (20:07 +0100)]
Release version 247.2-2 to unstable
Michael Biebl [Mon, 21 Dec 2020 18:37:17 +0000 (19:37 +0100)]
Switch to "unified" cgroup hierarchy (i.e. cgroupv2)
Closes: #943981
Michael Biebl [Sun, 20 Dec 2020 19:45:18 +0000 (20:45 +0100)]
Release version 247.2-1 to unstable
Michael Biebl [Sun, 20 Dec 2020 19:43:08 +0000 (20:43 +0100)]
test: fix fd_is_mount_point() check
Michael Biebl [Sun, 20 Dec 2020 19:42:24 +0000 (20:42 +0100)]
Rebase patches
Michael Biebl [Sun, 20 Dec 2020 19:41:49 +0000 (20:41 +0100)]
Update upstream source from tag 'upstream/247.2'
Update to upstream version '247.2'
with Debian dir
2802dcba31b14a14dadc411218b232e6cf58c0fc
Michael Biebl [Sun, 20 Dec 2020 19:41:14 +0000 (20:41 +0100)]
New upstream version 247.2
Michael Biebl [Sun, 20 Dec 2020 19:36:40 +0000 (20:36 +0100)]
Move udev NEWS entry to systemd
This is a workaround for
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977422
Most users will have installed systemd, so while strictly speaking this
NEWS entry is for udev, having it shown on upgrades is more important.
Gbp-Dch: Ignore
Balint Reczey [Fri, 11 Dec 2020 19:35:00 +0000 (20:35 +0100)]
debian/udev.NEWS: Mention udev rules changes in 247
Michael Biebl [Fri, 11 Dec 2020 19:27:10 +0000 (20:27 +0100)]
Release version 247.1-4 to unstable
Michael Biebl [Wed, 9 Dec 2020 23:56:18 +0000 (00:56 +0100)]
sd-device: keep escaped strings in DEVLINK= property
Closes: #976699
наб [Sun, 13 Sep 2020 02:44:15 +0000 (04:44 +0200)]
debian/extra/kernel-install.d/85-initrd.install: match initrd installation messages and uninstallation to 90-loaderentry.install
наб [Sun, 13 Sep 2020 02:18:17 +0000 (04:18 +0200)]
debian/extra/kernel-install.d/85-initrd.install: Don't install initrd when an explicit path was passed
Michael Biebl [Thu, 3 Dec 2020 22:54:07 +0000 (23:54 +0100)]
Release version 247.1-3 to unstable
Michael Biebl [Thu, 3 Dec 2020 21:00:15 +0000 (22:00 +0100)]
d/t/timedated: Ignore return code of dbus-monitor in wait_mon()
We are not really interested in the return code and error messages from
dbus-monitor after killing it, so ignore them to avoid undesired
autopkgtest failures.
Follow-up for commit
3de342799cde2e29cd0de04b44a3c9d989c2ccd7 .
Michael Biebl [Wed, 2 Dec 2020 22:26:34 +0000 (23:26 +0100)]
Release version 247.1-2 to unstable
Balint Reczey [Mon, 16 Nov 2020 12:35:09 +0000 (13:35 +0100)]
debian/tests/timedated: Wait for the killed child only
There may be other children of the script due to autopkgtest machinery
and they exit after the script exited.
LP: #
1904406
Michael Biebl [Wed, 2 Dec 2020 22:19:26 +0000 (23:19 +0100)]
Switch debian-branch to debian/master
Gbp-Dch: Ignore
Michael Biebl [Wed, 2 Dec 2020 22:18:37 +0000 (23:18 +0100)]
Merge branch 'debian/experimental' into debian/master
Michael Biebl [Tue, 1 Dec 2020 18:45:17 +0000 (19:45 +0100)]
Revert "d/t/timedated: use /bin/bash to work around job handling issue in dash"
This reverts commit
e437da1e4fa0bcda592526fa26465bc9a79b3afb .
Michael Biebl [Tue, 1 Dec 2020 16:17:45 +0000 (17:17 +0100)]
Release version 247.1-1 to experimental
Michael Biebl [Tue, 1 Dec 2020 13:32:45 +0000 (14:32 +0100)]
New upstream version 247.1
Michael Biebl [Tue, 1 Dec 2020 13:32:20 +0000 (14:32 +0100)]
Update upstream source from tag 'upstream/247.1'
Update to upstream version '247.1'
with Debian dir
54b86878db05554a76b9986cdfb0119e38253ca7
Michael Biebl [Tue, 1 Dec 2020 13:31:44 +0000 (14:31 +0100)]
New upstream version 247.1
Michael Biebl [Tue, 1 Dec 2020 13:30:14 +0000 (14:30 +0100)]
Switch debian/watch back to systemd-stable repo now that v247 is released
Gbp-Dch: Ignore
Michael Biebl [Thu, 26 Nov 2020 20:00:53 +0000 (21:00 +0100)]
Release version 247-1 to experimental
Michael Biebl [Thu, 26 Nov 2020 18:16:01 +0000 (19:16 +0100)]
Update symbol versions for the v247 release
Michael Biebl [Thu, 26 Nov 2020 18:14:13 +0000 (19:14 +0100)]
Rebase patches
Michael Biebl [Thu, 26 Nov 2020 18:13:03 +0000 (19:13 +0100)]
New upstream version 247
Michael Biebl [Thu, 26 Nov 2020 18:12:46 +0000 (19:12 +0100)]
Update upstream source from tag 'upstream/247'
Update to upstream version '247'
with Debian dir
f6e9b0ccf3104c1776aad4ed2957e631d9bda8d5
Michael Biebl [Thu, 26 Nov 2020 18:12:12 +0000 (19:12 +0100)]
New upstream version 247
Michael Biebl [Thu, 26 Nov 2020 17:19:53 +0000 (18:19 +0100)]
Release version 247~rc2-3 to unstable
Michael Biebl [Thu, 26 Nov 2020 17:13:06 +0000 (18:13 +0100)]
Add Breaks: udev (<< 247~) to systemd
This ensures that udev is upgraded alongside systemd and both support
the new udev tags concept introduced in v247.
Closes: #975554
Michael Biebl [Thu, 26 Nov 2020 17:07:14 +0000 (18:07 +0100)]
sd-device: make sd_device_has_current_tag() compatible with udev database generated by older udevd
Closes: #974730
Michael Biebl [Thu, 26 Nov 2020 16:58:00 +0000 (17:58 +0100)]
Merge tag 'debian/246.6-5' into debian/experimental
systemd Debian release 246.6-5
Michael Biebl [Tue, 24 Nov 2020 20:53:45 +0000 (21:53 +0100)]
Release version 246.6-5 to unstable
Michael Biebl [Tue, 24 Nov 2020 20:47:24 +0000 (21:47 +0100)]
test/test-functions: copy /usr/lib/pam.d into $initdir
The systemd-user file has been moved from /etc/pam.d into /usr/lib/pam.d,
so test-functions needs to copy it from /usr/lib/pam.d instead.
Follow-up for
6b159adba6470ba390a57d752c765330a6f279b2 .
Michael Biebl [Tue, 24 Nov 2020 17:07:46 +0000 (18:07 +0100)]
test-seccomp: accept ENOSYS from sysctl(2) too
It seems that kernel 5.9 started returning that.
Michael Biebl [Fri, 20 Nov 2020 21:28:34 +0000 (22:28 +0100)]
Drop non-functional DefaultTasksMax patch
This patch was supposed to remove the DefaultTasksMax limit, but lost
its actual logic over 4 years ago, when the patches were rebased for the
v231 release. Since nobody has complained so far, we can assume it is
safe to drop this patch.
Closes: #975335
Michael Biebl [Thu, 19 Nov 2020 21:36:34 +0000 (22:36 +0100)]
Release version 246.6-4 to unstable
Michael Biebl [Thu, 19 Nov 2020 21:29:41 +0000 (22:29 +0100)]
Revert "Trigger a systemctl daemon-reload when init scripts are installed or removed"
Remove the dpkg file trigger which called systemctl daemon-reload whenever
a SysV init script was installed. We have proper support in debhelper
nowadays which makes this superfluous and we want to avoid unnecessary
systemctl daemon-reload calls.
Michael Biebl [Tue, 17 Nov 2020 22:34:53 +0000 (23:34 +0100)]
Release version 246.6-3 to unstable
Michael Biebl [Tue, 17 Nov 2020 22:31:58 +0000 (23:31 +0100)]
d/t/timedated: use /bin/bash to work around job handling issue in dash
See: #975010
Michael Biebl [Tue, 17 Nov 2020 22:01:07 +0000 (23:01 +0100)]
init-functions: update LSB hook to not use ignore-dependencies
job-mode=ignore-dependencies, as currently used in the LSB hook during
bootup and shutdown, can have undesired side-effects, like changing the
ordering of services and ultimately causing them to fail, due to unmet
dependencies.
So simplify that, and only apply --no-block on reload requests during
bootup and shutdown.
Closes: #960594
Michael Biebl [Tue, 17 Nov 2020 20:40:01 +0000 (21:40 +0100)]
pam: move systemd-user PAM config from /etc/pam.d to /usr/lib/pam.d
This is supported since PAM 1.2 and we want as little files in /etc as
possible.
Michael Biebl [Tue, 17 Nov 2020 20:35:00 +0000 (21:35 +0100)]
pam: include pam_keyinit session module in systemd-user
We want that systemd --user gets its own keyring, not the basic keyring
set up by systemd --system.
Michael Biebl [Fri, 13 Nov 2020 18:23:01 +0000 (19:23 +0100)]
Release version 247~rc2-2 to experimental
Michael Biebl [Fri, 13 Nov 2020 18:21:30 +0000 (19:21 +0100)]
missing: define several syscall numbers for MIPS arch
Closes: #974619
Michael Biebl [Thu, 12 Nov 2020 20:24:54 +0000 (21:24 +0100)]
Release version 247~rc2-1 to experimental