systemd.git
16 months agoMerge systemd (256.5-1) import into refs/heads/workingbranch
Luca Boccassi [Thu, 15 Aug 2024 21:00:36 +0000 (22:00 +0100)]
Merge systemd (256.5-1) import into refs/heads/workingbranch

16 months agosystemd (256.5-1) unstable; urgency=medium
Luca Boccassi [Thu, 15 Aug 2024 21:00:36 +0000 (22:00 +0100)]
systemd (256.5-1) unstable; urgency=medium

  * New upstream version 256.5
  * Drop patch merged upstream
  * autopkgtest: skip TEST-64-UDEV-STORAGE due to qemu crash. This tests
    randomly causes qemu to crash, making it very flaky, skip it
    downstream

[dgit import unpatched systemd 256.5-1]

16 months agoImport systemd_256.5.orig.tar.gz
Luca Boccassi [Thu, 15 Aug 2024 21:00:36 +0000 (22:00 +0100)]
Import systemd_256.5.orig.tar.gz

[dgit import orig systemd_256.5.orig.tar.gz]

16 months agoImport systemd_256.5-1.debian.tar.xz
Luca Boccassi [Thu, 15 Aug 2024 21:00:36 +0000 (22:00 +0100)]
Import systemd_256.5-1.debian.tar.xz

[dgit import tarball systemd 256.5-1 systemd_256.5-1.debian.tar.xz]

16 months agoMerge systemd (256.4-3) import into refs/heads/workingbranch
Luca Boccassi [Sun, 11 Aug 2024 10:53:32 +0000 (11:53 +0100)]
Merge systemd (256.4-3) import into refs/heads/workingbranch

16 months agotest: fix D-Bus policy override for TEST-73-LOCALE
Luca Boccassi [Sun, 11 Aug 2024 10:53:32 +0000 (11:53 +0100)]
test: fix D-Bus policy override for TEST-73-LOCALE

Forwarded: yes

We don't need to allow non-root, and the policy needs to specify destination
and interface too, to narrow it down

Gbp-Pq: Name test-fix-D-Bus-policy-override-for-TEST-73-LOCALE.patch

16 months agosystemd (256.4-3) unstable; urgency=medium
Luca Boccassi [Sun, 11 Aug 2024 10:53:32 +0000 (11:53 +0100)]
systemd (256.4-3) unstable; urgency=medium

  * Drop redundant pot build. This was added many years ago, when
    apparently the upstream pot generation wasn't run or wasn't working.
    This is not the case anymore, pot files are regenerated upstream and
    checked in on every release, so this manual step just updates the
    timestamp in the existing template and nothing else. Drop it.
  * Use debian/clean instead of override in d/rules
  * Stop shipping empty /etc/init.d directory. We do not have any need for
    it, and will soon stop supporting legacy init files, so stop shipping
    it
  * Use d/not-installed instead of manual removals. We no longer install
    in the main package with a wildcard so we do not need to manually
    delete files, listing them in d/not-installed is sufficient. The only
    exceptions are files picked up by directory/wildcard entries in
    dh_install that have to be deleted.
  * autopkgtest: run upstream test last. It is the most complex and thus
    the most likely to show temporary failures, so move it last so that
    it's easier to read the logs
  * autopkgtest: use hint-testsuite-triggers to ensure other packages
    changes trigger our testsuite
  * Depend on new linux-bpf-dev package where available

[dgit import unpatched systemd 256.4-3]

16 months agoImport systemd_256.4-3.debian.tar.xz
Luca Boccassi [Sun, 11 Aug 2024 10:53:32 +0000 (11:53 +0100)]
Import systemd_256.4-3.debian.tar.xz

[dgit import tarball systemd 256.4-3 systemd_256.4-3.debian.tar.xz]

16 months agoMerge systemd (256.4-2) import into refs/heads/workingbranch
Luca Boccassi [Thu, 25 Jul 2024 12:18:09 +0000 (13:18 +0100)]
Merge systemd (256.4-2) import into refs/heads/workingbranch

16 months agotest: fix D-Bus policy override for TEST-73-LOCALE
Luca Boccassi [Thu, 25 Jul 2024 12:18:09 +0000 (13:18 +0100)]
test: fix D-Bus policy override for TEST-73-LOCALE

Forwarded: yes

We don't need to allow non-root, and the policy needs to specify destination
and interface too, to narrow it down

Gbp-Pq: Name test-fix-D-Bus-policy-override-for-TEST-73-LOCALE.patch

16 months agosystemd (256.4-2) unstable; urgency=medium
Luca Boccassi [Thu, 25 Jul 2024 12:18:09 +0000 (13:18 +0100)]
systemd (256.4-2) unstable; urgency=medium

  * autopkgtest: allow localectl in localed tests.

[dgit import unpatched systemd 256.4-2]

16 months agoImport systemd_256.4-2.debian.tar.xz
Luca Boccassi [Thu, 25 Jul 2024 12:18:09 +0000 (13:18 +0100)]
Import systemd_256.4-2.debian.tar.xz

[dgit import tarball systemd 256.4-2 systemd_256.4-2.debian.tar.xz]

16 months agoImport systemd_256.4.orig.tar.gz
Luca Boccassi [Wed, 24 Jul 2024 13:23:56 +0000 (14:23 +0100)]
Import systemd_256.4.orig.tar.gz

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

17 months agoMerge systemd (256.2-1) import into refs/heads/workingbranch
Luca Boccassi [Fri, 5 Jul 2024 18:15:59 +0000 (19:15 +0100)]
Merge systemd (256.2-1) import into refs/heads/workingbranch

17 months agolocalectl-disable-keymap-support
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

17 months agosystemd (256.2-1) unstable; urgency=medium
Luca Boccassi [Fri, 5 Jul 2024 18:15:59 +0000 (19:15 +0100)]
systemd (256.2-1) unstable; urgency=medium

  * d/not-installed: fix shutdown.standalone path
  * autopkgtest: skip qemu tests on arm64
  * Add recommends on linux-sysctl-defaults. This package contains the
    default sysctl settings, and is maintained by the kernel team. This is
    not available in Ubuntu so keep it as a recommends for now, to avoid
    breaking the upstream CI.
    (Closes: #1027773)
  * initramfs-tools: copy network drop-ins too (Closes: #1074564)
  * d/e/checkout-upstream: fix shellcheck warnings
  * d/e/checkout-upstream: do not fail if rebase fails
  * d/e/checkout-upstream: switch packaging branch on upstream stable PRs.
  * New upstream version 256.2 (Closes: #1074789)
  * Install run0 zsh completion file

[dgit import unpatched systemd 256.2-1]

17 months agoImport systemd_256.2.orig.tar.gz
Luca Boccassi [Fri, 5 Jul 2024 18:15:59 +0000 (19:15 +0100)]
Import systemd_256.2.orig.tar.gz

[dgit import orig systemd_256.2.orig.tar.gz]

17 months agoImport systemd_256.2-1.debian.tar.xz
Luca Boccassi [Fri, 5 Jul 2024 18:15:59 +0000 (19:15 +0100)]
Import systemd_256.2-1.debian.tar.xz

[dgit import tarball systemd 256.2-1 systemd_256.2-1.debian.tar.xz]

17 months agoMerge systemd (256.1-2) import into refs/heads/workingbranch
Luca Boccassi [Sun, 23 Jun 2024 12:33:33 +0000 (13:33 +0100)]
Merge systemd (256.1-2) import into refs/heads/workingbranch

17 months agolocalectl-disable-keymap-support
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

17 months agosystemd (256.1-2) unstable; urgency=medium
Luca Boccassi [Sun, 23 Jun 2024 12:33:33 +0000 (13:33 +0100)]
systemd (256.1-2) unstable; urgency=medium

  * Bump breaks/replaces to conflicts for DEP17. Breaks/replaces are not
    enough when moving files between packages and between locations as per
    DEP17, so bump to Conflicts. (Closes: #1073922)
  * autopkgtest: add dependency on libcryptsetup-dev in unit-tests suite

[dgit import unpatched systemd 256.1-2]

17 months agoImport systemd_256.1-2.debian.tar.xz
Luca Boccassi [Sun, 23 Jun 2024 12:33:33 +0000 (13:33 +0100)]
Import systemd_256.1-2.debian.tar.xz

[dgit import tarball systemd 256.1-2 systemd_256.1-2.debian.tar.xz]

17 months agoMerge systemd (256.1-1) import into refs/heads/workingbranch
Luca Boccassi [Tue, 18 Jun 2024 22:19:16 +0000 (23:19 +0100)]
Merge systemd (256.1-1) import into refs/heads/workingbranch

17 months agoImport systemd_256.1.orig.tar.gz
Luca Boccassi [Tue, 18 Jun 2024 22:19:16 +0000 (23:19 +0100)]
Import systemd_256.1.orig.tar.gz

[dgit import orig systemd_256.1.orig.tar.gz]

17 months agolocalectl-disable-keymap-support
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

17 months agosystemd (256.1-1) unstable; urgency=medium
Luca Boccassi [Tue, 18 Jun 2024 22:19:16 +0000 (23:19 +0100)]
systemd (256.1-1) unstable; urgency=medium

  * Bump versioned breaks against dracut to 102-2 (Closes: #1073290)
  * autopkgtest: switch upstream suite to mkosi-based builds
  * Add conflict against sysv-rc, insserv and startpar in systemd-sysv.
    They are not needed, and having them installed causes problems.
    (Closes: #1072562)
  * New upstream version 256.1
  * Drop section from binary packages where it matches the source package
  * Override Lintian false positives about spare manpages
  * Deduplicate template packages descriptions
  * Add Lintian override for template package false positives
  * Rename EFI architecture variable to avoid dpkg clash. Fixes Lintian
    warning: debian-rules-sets-dpkg-architecture-variable
  * Upload to unstable.

[dgit import unpatched systemd 256.1-1]

17 months agoImport systemd_256.1-1.debian.tar.xz
Luca Boccassi [Tue, 18 Jun 2024 22:19:16 +0000 (23:19 +0100)]
Import systemd_256.1-1.debian.tar.xz

[dgit import tarball systemd 256.1-1 systemd_256.1-1.debian.tar.xz]

18 months agoMerge systemd (256-1) import into refs/heads/workingbranch
Luca Boccassi [Tue, 11 Jun 2024 21:59:12 +0000 (22:59 +0100)]
Merge systemd (256-1) import into refs/heads/workingbranch

18 months agolocalectl-disable-keymap-support
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

18 months agosystemd (256-1) unstable; urgency=medium
Luca Boccassi [Tue, 11 Jun 2024 21:59:12 +0000 (22:59 +0100)]
systemd (256-1) unstable; urgency=medium

  [ Kevin Fleming ]
  * Additional workaround for links to legacy /usr/share/systemd/tmp.mount
    placeholder

  [ Yu Watanabe ]
  * debian/extra/network: use NamePolicy=mac only when ID_NET_NAME_MAC is
    set.

  [ Luca Boccassi ]
  * New upstream version 256. For a full list of changes, see:
    https://github.com/systemd/systemd/releases/tag/v256

[dgit import unpatched systemd 256-1]

18 months agoImport systemd_256.orig.tar.gz
Luca Boccassi [Tue, 11 Jun 2024 21:59:12 +0000 (22:59 +0100)]
Import systemd_256.orig.tar.gz

[dgit import orig systemd_256.orig.tar.gz]

18 months agoImport systemd_256-1.debian.tar.xz
Luca Boccassi [Tue, 11 Jun 2024 21:59:12 +0000 (22:59 +0100)]
Import systemd_256-1.debian.tar.xz

[dgit import tarball systemd 256-1 systemd_256-1.debian.tar.xz]

18 months agoMerge systemd (256~rc4-1) import into refs/heads/workingbranch
Luca Boccassi [Thu, 6 Jun 2024 19:49:17 +0000 (20:49 +0100)]
Merge systemd (256~rc4-1) import into refs/heads/workingbranch

18 months agolocalectl-disable-keymap-support
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

18 months agosystemd (256~rc4-1) unstable; urgency=high
Luca Boccassi [Thu, 6 Jun 2024 19:49:17 +0000 (20:49 +0100)]
systemd (256~rc4-1) unstable; urgency=high

  [ Luca Boccassi ]
  * Restart managers on libc-upgrade dpkg trigger (Closes: #1072373)
  * LimitCORE: restore default hard limit to infinity. The intention was
    to change the soft limit, but by default it applies to both unless
    specified, so fix it.
  * New upstream version 256~rc4
  * Drop patches merged upstream

  [ Nick Rosbrook ]
  * debian/extra: set ManagedOOMSwap=auto on -.slice. This has the effect
    of disabling swap kill by default, so cgroups will only be monitored
    for memory pressure, and not swap usage.
  * debian/extra: use a drop-in resolved.conf to configure Cache=no-
    negative. Only ship this on Ubuntu.
  * debian/extra: use a dropin to configure Nice=-1 on systemd-
    journald.service. Only ship this on Ubuntu.

  [ Dan Streetman ]
  * debian/tests/storage: without scsi_debug, skip test

[dgit import unpatched systemd 256~rc4-1]

18 months agoImport systemd_256~rc4.orig.tar.gz
Luca Boccassi [Thu, 6 Jun 2024 19:49:17 +0000 (20:49 +0100)]
Import systemd_256~rc4.orig.tar.gz

[dgit import orig systemd_256~rc4.orig.tar.gz]

18 months agoImport systemd_256~rc4-1.debian.tar.xz
Luca Boccassi [Thu, 6 Jun 2024 19:49:17 +0000 (20:49 +0100)]
Import systemd_256~rc4-1.debian.tar.xz

[dgit import tarball systemd 256~rc4-1 systemd_256~rc4-1.debian.tar.xz]

18 months agoMerge systemd (256~rc3-7) import into refs/heads/workingbranch
Luca Boccassi [Sat, 1 Jun 2024 11:30:39 +0000 (12:30 +0100)]
Merge systemd (256~rc3-7) import into refs/heads/workingbranch

18 months agolocalectl-disable-keymap-support
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

18 months agotest: fix iscsi TEST-64-UDEV-STORAGE on Debian
Chris Hofstaedtler [Mon, 27 May 2024 02:33:39 +0000 (03:33 +0100)]
test: fix iscsi TEST-64-UDEV-STORAGE on Debian

Gbp-Pq: Name test-fix-iscsi-TEST-64-UDEV-STORAGE-on-Debian.patch

18 months agosystemd (256~rc3-7) unstable; urgency=medium
Luca Boccassi [Sat, 1 Jun 2024 11:30:39 +0000 (12:30 +0100)]
systemd (256~rc3-7) unstable; urgency=medium

  * NEWS: note that any leftover file in /tmp/ will be invisible due to
    the tmpfs and other clarifications (Closes: #1072249)
  * Add pkg.systemd.noukify profile. Will be useful for i386 reduced
    builds
  * d/rules: be more robust against non-existing dirs when deleting files
  * Allow setting GENSYMBOLS_LEVEL from the environment. Needed when
    building with llvm to work around #986746

[dgit import unpatched systemd 256~rc3-7]

18 months agoImport systemd_256~rc3-7.debian.tar.xz
Luca Boccassi [Sat, 1 Jun 2024 11:30:39 +0000 (12:30 +0100)]
Import systemd_256~rc3-7.debian.tar.xz

[dgit import tarball systemd 256~rc3-7 systemd_256~rc3-7.debian.tar.xz]

18 months agoMerge systemd (256~rc3-2) import into refs/heads/workingbranch
Luca Boccassi [Thu, 23 May 2024 15:31:42 +0000 (16:31 +0100)]
Merge systemd (256~rc3-2) import into refs/heads/workingbranch

18 months agolocalectl-disable-keymap-support
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

18 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

18 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

18 months agosystemd (256~rc3-2) unstable; urgency=medium
Luca Boccassi [Thu, 23 May 2024 15:31:42 +0000 (16:31 +0100)]
systemd (256~rc3-2) unstable; urgency=medium

  * autopkgtest: do not install gdm3 on riscv64 tests. gnome-shell hasn't
    built since last year for riscv64 due to #1058687 so the test fails as
    it cannot be installed, skip it like on s390x.

[dgit import unpatched systemd 256~rc3-2]

18 months agoImport systemd_256~rc3-2.debian.tar.xz
Luca Boccassi [Thu, 23 May 2024 15:31:42 +0000 (16:31 +0100)]
Import systemd_256~rc3-2.debian.tar.xz

[dgit import tarball systemd 256~rc3-2 systemd_256~rc3-2.debian.tar.xz]

18 months agoImport systemd_256~rc3.orig.tar.gz
Luca Boccassi [Wed, 22 May 2024 22:24:02 +0000 (23:24 +0100)]
Import systemd_256~rc3.orig.tar.gz

[dgit import orig systemd_256~rc3.orig.tar.gz]

19 months agoMerge systemd (255.5-1) import into refs/heads/workingbranch
Luca Boccassi [Wed, 24 Apr 2024 15:34:40 +0000 (16:34 +0100)]
Merge systemd (255.5-1) import into refs/heads/workingbranch

19 months agolocalectl-disable-keymap-support
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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 months agosystemd (255.5-1) sid; urgency=medium
Luca Boccassi [Wed, 24 Apr 2024 15:34:40 +0000 (16:34 +0100)]
systemd (255.5-1) sid; urgency=medium

  [ Michael Biebl ]
  * autopkgtest: depend on pkgconf rather than pkg-config
  * Stop setting default-hierarchy to unified explicitly. It is already
    the default and the meson option has been deprecated and is expected
    to be removed in a future release. See https://github.com/systemd/syst
    emd/commit/31323f21bb0ae7c712f43500c42997c91a6d20bf
  * Replace Skip-flaky-test_resolved_domain_restricted_dns-in-
    network.patch with a proper upstream fix.
  * Remove myself from Uploaders

  [ Luca Boccassi ]
  * autopkgtest: add dhcpcd5 as alternative dependency to dhcpcd-base
    dhcpcd-base is not available in Jammy
  * d/e/checkout-upstream: stop overriding sshconfdir. It actually works
    after some upstream test fixes, and it is necessary for TEST-46-HOMED
    to work
  * autopkgtest: install systemd-resolved for all suites. Necessary to
    avoid breaking the network on Ubuntu, in the upstream jammy-based CI
    jobs. Can be dropped once jammy is no longer tested.
  * autopkgtest: add breaks-testbed to more tests. Given resolved is
    installed, the testbed needs to be reset to switch back to the default
    network stack, otherwise installing packages in the salsa-ci
    autopkgtest job fails
  * autopkgtest: restrict systemd-boot-efi to architectures where it's
    built
  * Enable libpwquality support. Suggest it from systemd (used by
    firstboot and cryptenroll) and depend on it from homed (user creation
    is a core part of it). It's a dlopen() dependency. (Closes: #1063391)
  * d/e/checkout-upstream: do not initialize submodules. They are used by
    mkosi, not needed for CI builds
  * Autopkgtest: add dependency on libkmod-dev to upstream suite.
  * Switch build-depend form liblz4-tool to lz4. The former is deprecated
    and now dropped, the latter is available since buster. (Closes: #1068730)
  * initramfs hooks: pull in libkmod manually udev now opens it with
    dlopen, so the ldd-based resolver will not see it, pull it in the
    initramfs manually
  * New upstream version 255.5
  * Drop resolve-skip-IP_UNICAST_IF-for-local-sockets.patch, merged
    upstream
  * Refresh patches for v255.5
  * Bump Standards-Version to 4.7.0, no changes

  [ Daan De Meyer ]
  * Build in developer mode when building for upstream. Developer mode
    enables some helpful debugging options and enables various
    experimental components such as systemd-vmspawn which we want to be
    enabled when testing upstream.

[dgit import unpatched systemd 255.5-1]

19 months agoImport systemd_255.5.orig.tar.gz
Luca Boccassi [Wed, 24 Apr 2024 15:34:40 +0000 (16:34 +0100)]
Import systemd_255.5.orig.tar.gz

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

19 months agoImport systemd_255.5-1.debian.tar.xz
Luca Boccassi [Wed, 24 Apr 2024 15:34:40 +0000 (16:34 +0100)]
Import systemd_255.5-1.debian.tar.xz

[dgit import tarball systemd 255.5-1 systemd_255.5-1.debian.tar.xz]

21 months agoMerge systemd (255.4-1) import into refs/heads/workingbranch
Luca Boccassi [Tue, 27 Feb 2024 17:43:55 +0000 (17:43 +0000)]
Merge systemd (255.4-1) import into refs/heads/workingbranch

21 months agolocalectl-disable-keymap-support
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

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]

22 months agoMerge systemd (255.3-2) import into refs/heads/workingbranch
Luca Boccassi [Mon, 29 Jan 2024 10:46:19 +0000 (10:46 +0000)]
Merge systemd (255.3-2) import into refs/heads/workingbranch

22 months agotest: unset TZ before timezone-sensitive unit tests are run
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

22 months agomeson: drop arch filtering in syscall list
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

22 months agoSort input file list
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

22 months agotest: tell delv to load anchors from /etc/bind.keys explicitly
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

22 months agotest: don't check for -Dinstall-tests=true with NO_BUILD=1
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

22 months agotest: install empty directories with NO_BUILD=1
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

22 months agotest: skip TEST-08-INITRD if systemd didn't run in the initrd
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

22 months agolocalectl-disable-keymap-support
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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 months agosystemd (255.3-2) sid; urgency=medium
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]

22 months agoImport systemd_255.3-2.debian.tar.xz
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]

22 months agoMerge systemd (255.3-1) import into refs/heads/workingbranch
Luca Boccassi [Wed, 24 Jan 2024 20:03:15 +0000 (20:03 +0000)]
Merge systemd (255.3-1) import into refs/heads/workingbranch

22 months agoImport systemd_255.3.orig.tar.gz
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]

22 months agotest: tell delv to load anchors from /etc/bind.keys explicitly
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

22 months agotest: don't check for -Dinstall-tests=true with NO_BUILD=1
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

22 months agotest: install empty directories with NO_BUILD=1
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

22 months agotest: skip TEST-08-INITRD if systemd didn't run in the initrd
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

22 months agolocalectl-disable-keymap-support
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