systemd.git
21 months agoSkip flaky test_resolved_domain_restricted_dns in networkd-test.py
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

21 months agoDowngrade a couple of warnings to debug
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

21 months agosystemctl: do not shutdown immediately on scheduled shutdown
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

21 months agoRevert "core: set RLIMIT_CORE to unlimited by default"
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

21 months agoSkip filesystem check if already done by the initramfs
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

21 months agofsckd daemon for inter-fsckd communication
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

21 months agoMake /run/lock tmpfs an API fs
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

21 months agoBring tmpfiles.d/tmp.conf in line with Debian defaults
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

21 months agosystemd (255.4-1) sid; urgency=medium
Luca Boccassi [Tue, 27 Feb 2024 17:43:55 +0000 (17:43 +0000)]
systemd (255.4-1) sid; urgency=medium

  [ Luca Boccassi ]
  * Drop override for deprecated package-supports-alternative-init-but-no-
    init.d-script warning
  * Build-depend on pkgconf pkg-config is deprecated
  * Move kernel-install initrd script to slightly later prefix
    afea8e1a35e15382977d459241e8c56c180c862d moved it from 85 to 50, but
    this conflicts with the upstream mkosi job, which also runs at 50 and
    needs to run first. Move it back up slightly to 55 to fix the mkosi
    builds, eg: https://github.com/systemd/systemd-
    stable/actions/runs/7863691120/job/21454589626?pr=366
  * Mark python3-pefile build dependency as native. As suggested in
    #1063393
  * Skip python3-pefile build dependency only if both nocheck and
    noinsttests are set (Closes: #1063393)
  * Build with -Dtests=false if nocheck and noinsttest profiles are set.
    The required build dependencies will not be installed, so the tests
    won't build.
  * systemd-binfmt: use restart instead of try-restart on upgrade. It's
    not a long-running service so it doesn't matter, and it fixes
    installing a new binfmt provider (Closes: #1061960)
  * d/e/checkout-upstream: do not rebase when building on systemd-stable
    repo. We do rebase only pulls in the stable repo, and it's too much
    hassle to figure out the right parent branch, given the webhook is
    configured per repository rather than per branch, so just skip it
  * d/e/checkout-upstream: build with default-timeout-sec=180. Helps with
    slow daemon-reload on some CI runs. As requested by:
    https://github.com/systemd/systemd/pull/27182
  * d/e/checkout-upstream: enable log-trace by default. Its abscence
    appears to cause TEST-10-ISSUE-2467 to reliably fail. Enable it while
    we figure it out. Also probably it is helpful to have it always turned
    on for the CI, to get more info out of test runs. See:
    https://github.com/systemd/systemd/issues/19154
  * d/e/checkout-upstream: do not install userdbd sshd config drop-in.
    Breaks booting testbed in Jammy. Can be dropped after rebasing to
    Noble.
  * d/t/upstream: add dependencies on openssh, gnutls-bin, opensc and
    softhsm2. Required for https://github.com/systemd/systemd/pull/28658
    and https://github.com/systemd/systemd/pull/30777
  * d/t/upstream: fix shellcheck warning. SC2086 (info): Double quote to
    prevent globbing and word splitting.
  * Add dependency on libkmod2 on udev, and suggestion on systemd dlopen()
    dependency since https://github.com/systemd/systemd/pull/31131 but the
    system can't boot without it, so add it as a dependency on udev which
    is also needed outside of containers
  * Update tzdata build dependency constraint to 2024a-1
  * Drop libarchive-dev build dependency. Not useful for now, we'll re-add
    it after the next release
  * New upstream version 255.4
  * Drop patches merged upstream

  [ Daan De Meyer ]
  * Fix libtss2-mu dependency. This package recently changed name so let's
    update the Suggests to account for that.
  * Add Suggests for libtss2-tcti-device systemd wants to use this library
    when tpm2 support is enabled so let's make sure we list it in
    Suggests. (https://github.com/systemd/systemd/blob/db11bab38ccf1ed257f
    310d29070843d4c58ea01/meson.build#L1341)
  * Make sure awk only matches PROJECT|PACKAGE_VERSION
  * Use DEB_BUILD_MAINT_OPTIONS instead of meson options.
  * Don't put debian revision in version tag when building for upstream.
  * Allow users to configure DH_MISSING.

  [ Frantisek Sumsal ]
  * d/t/storage: ignore credential mounts when checking /proc/mounts.

  [ Daniel P. BerrangĂ© ]
  * debian/rules: don't override default telinit-path. The 'telinit-path'
    meson option is to be used to point to a non-systemd telinit binary
    path. When systemctl is invoked as 'telinit', it will exec this binary
    when it detects the current environment is not running under systemd.
    If 'telinit-path' points back to 'systemctl', that would result in an
    infinite re-execve() loop. (Closes: #1063147)

[dgit import unpatched systemd 255.4-1]

21 months agoImport systemd_255.4.orig.tar.gz
Luca Boccassi [Tue, 27 Feb 2024 17:43:55 +0000 (17:43 +0000)]
Import systemd_255.4.orig.tar.gz

[dgit import orig systemd_255.4.orig.tar.gz]

21 months agoImport systemd_255.4-1.debian.tar.xz
Luca Boccassi [Tue, 27 Feb 2024 17:43:55 +0000 (17:43 +0000)]
Import systemd_255.4-1.debian.tar.xz

[dgit import tarball systemd 255.4-1 systemd_255.4-1.debian.tar.xz]