summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Luca Boccassi [Fri, 26 Jan 2024 00:22:38 +0000 (00:22 +0000)]
test: unset TZ before timezone-sensitive unit tests are run
Some tests have hard-coded results that need to match, and change if
the caller has a timezone set via the TZ= environment variable, as it
is the case during reproducible build tests. Unset it.
Gbp-Pq: Name test-unset-TZ-before-timezone-sensitive-unit-tests-are-ru.patch
Zbigniew Jędrzejewski-Szmek [Thu, 25 Jan 2024 12:26:21 +0000 (13:26 +0100)]
meson: drop arch filtering in syscall list
I added the filtering in
752fedbea7c02c82287c7ff2a4139f528b3f7ba8 as a way
to reduce the number of items in the tables. I thought it's "obvious", but
it might not be so.
One immediate problem is that the filter is broken, because on arm64,
os.uname().machine returns "aarch64", so we incorrectly filter out the arm
syscalls (there is just one: arm_fadvise64_64). Of course we could fix the
filter, but I think it's better to nuke it altogether. The filter on applies to
1 arm syscall and 5 s390 syscalls, and we have 500+ other syscalls, so this
"optimization" doesn't really matter. OTOH, if we get the filter wrong,
the result is bad. And also, the existence of the filter at all creates
problems for cross-builds.
I wanted to get rid of 'generate-syscall-list.py', but we need to generate a
backslash in the output. https://github.com/mesonbuild/meson/issues/1564 makes
this very very hard, since any attempt to put a backslash an inline argument
results in the backslash being replaces by a forward slash, which doesn't quite
have the same meaning. So let's use a standalone script until
https://github.com/mesonbuild/meson/issues/1564 is resolved.
Gbp-Pq: Name meson-drop-arch-filtering-in-syscall-list.patch
Bernhard M. Wiedemann [Thu, 25 Jan 2024 04:48:35 +0000 (05:48 +0100)]
Sort input file list
so that /usr/lib/systemd/tests/unit-tests/test-libsystemd-sym
builds in a reproducible way
in spite of non-deterministic filesystem readdir order
See https://reproducible-builds.org/ for why this is good.
This patch was done while working on reproducible builds for openSUSE.
Gbp-Pq: Name Sort-input-file-list.patch
Frantisek Sumsal [Thu, 14 Dec 2023 15:59:21 +0000 (16:59 +0100)]
test: tell delv to load anchors from /etc/bind.keys explicitly
Since [0] delv no longer does that automagically, so we have to that
explicitly with each delv invocation.
Resolves: #30477
[0] https://github.com/isc-projects/bind9/commit/
c144fd2871206d209ccdb916f5959a3ceab1d44c
(cherry picked from commit
438c7cb20e83a3b88f6accc3e78d3da5e21f6db2)
Gbp-Pq: Name test-tell-delv-to-load-anchors-from-etc-bind.keys-explici.patch
Frantisek Sumsal [Thu, 14 Dec 2023 14:06:46 +0000 (15:06 +0100)]
test: don't check for -Dinstall-tests=true with NO_BUILD=1
(cherry picked from commit
58bcbad86cc910e007fae3c66c3a5cfc17046801)
Gbp-Pq: Name test-don-t-check-for-Dinstall-tests-true-with-NO_BUILD-1.patch
Frantisek Sumsal [Thu, 14 Dec 2023 14:06:12 +0000 (15:06 +0100)]
test: install empty directories with NO_BUILD=1
Resolves: #30478
(cherry picked from commit
fdd380dde2ec2cbcecbd20b91cf6b819ef3dc0db)
Gbp-Pq: Name test-install-empty-directories-with-NO_BUILD-1.patch
Frantisek Sumsal [Fri, 15 Dec 2023 10:04:39 +0000 (11:04 +0100)]
test: skip TEST-08-INITRD if systemd didn't run in the initrd
This test requires systemd in the initrd, which is not the case in
mkinitrd-based initrds (Ubuntu/Debian).
Resolves: #30481
(cherry picked from commit
57d61ff319ec217294d9e0c4646010322b8be5e5)
Gbp-Pq: Name test-skip-TEST-08-INITRD-if-systemd-didn-t-run-in-the-ini.patch
Luca Boccassi [Wed, 8 Feb 2023 20:34:38 +0000 (20:34 +0000)]
localectl-disable-keymap-support
We no longer support old debianisms such as /etc/default/keyboard,
so disable the keymap interface in localectl until a definitive
solution is found.
Update the test suite to skip tests for unsupported localectl features.
Gbp-Pq: Topic debian
Gbp-Pq: Name localectl-disable-keymap-support.patch
Michael Biebl [Mon, 12 Dec 2022 23:32:17 +0000 (00:32 +0100)]
Skip flaky test_resolved_domain_restricted_dns in networkd-test.py
This test is part of DnsmasqClientTest and does not work reliably under
LXC/debci, so skip it for the time being.
Closes: #1025908
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch
Michael Biebl [Mon, 15 Feb 2021 23:18:50 +0000 (00:18 +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
Gbp-Pq: Topic debian
Gbp-Pq: Name Downgrade-a-couple-of-warnings-to-debug.patch
Ioanna Alifieraki [Thu, 17 Dec 2020 14:52:07 +0000 (14:52 +0000)]
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. This patch prevents the immediate shutdown and informs
the user that no action will be taken.
Fixes: #17575
Gbp-Pq: Topic debian
Gbp-Pq: Name systemctl-do-not-shutdown-immediately-on-scheduled-shutdo.patch
Martin Pitt [Sat, 27 Feb 2016 11:27:06 +0000 (12:27 +0100)]
Revert "core: set RLIMIT_CORE to unlimited by default"
Partially revert commit
15a900327ab as this completely breaks core dumps
without systemd-coredump. It's also contradicting core(8), and it's not
systemd's place to redefine the kernel definitions of core files.
Commit
bdfd7b2c now honours the process' RLIMIT_CORE for systemd-coredump. This
isn't what RLIMIT_CORE is supposed to do (it limits the size of the core
*file*, but the kernel deliberately ignores it for piping), so set a static
2^63 core size limit for systemd-coredump to go back to the previous behaviour
(otherwise the change above would break systemd-coredump).
Bug-Debian: https://bugs.debian.org/815020
Gbp-Pq: Topic debian
Gbp-Pq: Name Revert-core-set-RLIMIT_CORE-to-unlimited-by-default.patch
Nis Martensen [Tue, 19 Jan 2016 21:01:43 +0000 (22:01 +0100)]
Skip filesystem check if already done by the initramfs
Newer versions of initramfs-tools already fsck and mount / and /usr in
the initramfs. Skip the filesystem check in this case.
Based on a previous patch by Michael Biebl <biebl@debian.org>.
Closes: #782522
Closes: #810748
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-filesystem-check-if-already-done-by-the-initram.patch
Didier Roche [Fri, 22 May 2015 11:04:38 +0000 (13:04 +0200)]
fsckd daemon for inter-fsckd communication
Global logic:
Add systemd-fsckd multiplexer which accepts multiple (via systemd-fsck's
/run/systemd/fsck.progress socket) fsck instances to connect to it and sends
progress report. systemd-fsckd then computes and writes to /dev/console the
number of devices currently being checked and the minimum fsck progress.
Plymouth and user interaction:
Forward the progress to plymouth and support canellation of in progress fsck.
Try to connect and send to plymouth (if running) some checked report progress,
using direct plymouth protocole.
Update message is the following:
fsckd:<num_devices>:<progress>:<string>
* num_devices corresponds to the current number of devices being checked (int)
* progress corresponds to the current minimum percentage of all devices being
checked (float, from 0 to 100)
* string is a translated message ready to be displayed by the plymouth theme
displaying the information above. It can be overridden by plymouth themes
supporting i18n.
Grab in fsckd plymouth watch key Control+C, and propagate this cancel request
to systemd-fsck which will terminate fsck.
Send a message to signal to user what key we are grabbing for fsck cancel.
Message is: fsckd-cancel-msg:<string>
Where string is a translated string ready to be displayed by the plymouth theme
indicating that Control+C can be used to cancel current checks. It can be
overridden (matching only fsckd-cancel-msg prefix) for themes supporting i18n.
Misc:
systemd-fsckd stops on idle when no fsck is connected.
Add man page explaining the plymouth theme protocol, usage of the daemon
as well as the socket activation part. Adapt existing fsck man page.
Note that fsckd had lived in the upstream tree for a while, but was removed.
More information at
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html
-
Gbp-Pq: Topic debian
Gbp-Pq: Name fsckd-daemon-for-inter-fsckd-communication.patch
Michael Biebl [Thu, 4 Sep 2014 23:15:16 +0000 (01:15 +0200)]
Make /run/lock tmpfs an API fs
The /run/lock directory is world-writable in Debian due to historic
reasons. To avoid user processes filling up /run, we mount a separate
tmpfs for /run/lock. As this directory needs to be available during
early boot, we make it an API fs.
Drop it from tmpfiles.d/legacy.conf to not clobber the permissions.
Closes: #751392
Gbp-Pq: Topic debian
Gbp-Pq: Name Make-run-lock-tmpfs-an-API-fs.patch
Tollef Fog Heen [Tue, 5 Jun 2012 18:59:36 +0000 (20:59 +0200)]
Bring tmpfiles.d/tmp.conf in line with Debian defaults
Closes: #675422
Gbp-Pq: Topic debian
Gbp-Pq: Name Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch
Luca Boccassi [Mon, 29 Jan 2024 10:46:19 +0000 (10:46 +0000)]
systemd (255.3-2) sid; urgency=medium
* Backport patches to fix reproducibility issues
* Salsa: re-enable reprotest
[dgit import unpatched systemd 255.3-2]
Luca Boccassi [Mon, 29 Jan 2024 10:46:19 +0000 (10:46 +0000)]
Import systemd_255.3-2.debian.tar.xz
[dgit import tarball systemd 255.3-2 systemd_255.3-2.debian.tar.xz]
Luca Boccassi [Wed, 24 Jan 2024 20:03:15 +0000 (20:03 +0000)]
Import systemd_255.3.orig.tar.gz
[dgit import orig systemd_255.3.orig.tar.gz]