Commit Graph

566 Commits

Author SHA1 Message Date
Will Fancher
f592a7ea77
Merge pull request #293720 from vkleen/fix/systemd-boot-random-seed
nixos/systemd: Only include systemd-boot-random-seed if the unit exists
2024-03-09 21:01:35 -05:00
Viktor Kleen
0aed32b9dd
nixos/systemd: Only include systemd-boot-random-seed if the unit exists
The unit file is only present if systemd was built with bootloader support.
2024-03-08 08:52:11 +00:00
Robert Scott
12970b96ed systemd: disable trivialautovarinit hardening flag
to avoid a reported performance regression
2024-02-24 12:00:11 +00:00
github-actions[bot]
229c36bdcb
Merge staging-next into staging 2024-01-28 18:01:42 +00:00
Yureka
feca0eecd1
systemd: update musl patches for v255 (#284136) 2024-01-28 14:12:00 +01:00
Anderson Torres
67643f8ec8 systemd: break too long lines of Nix code
To improve readability.
2024-01-23 22:49:26 -03:00
Anderson Torres
92dfeb7b3d systemd: rewrite comments
In order to be more readable and fit the the 80-column limit.
2024-01-23 22:49:26 -03:00
Anderson Torres
1a3a5407a0 systemd: update licensing info 2024-01-23 22:49:26 -03:00
Anderson Torres
2812d1202f systemd: add meta.longDescription
Also, get rid of nested with in meta.
2024-01-23 22:49:26 -03:00
github-actions[bot]
4dea63e421
Merge master into staging-next 2024-01-20 18:01:02 +00:00
Alyssa Ross
68b63c306a systemd: fix build for riscv32 2024-01-20 13:21:24 +01:00
nikstur
748378a3ec systemd: 254.6 -> 255.2
Removed patches:

- 0007-Fix-hwdb-paths.patch

  The directory we want seems to already be included in the list. Is there
  a reason why we want to restrict it further?

- 0010-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch

  This patch has little to do with how the meson.build file looks now. The
  new patch 0017 is the successor to this one.

- 0015-pkg-config-derive-prefix-from-prefix.patch

  This is fixed upstream. We don't need this anymore.
2024-01-17 14:13:46 +01:00
nikstur
329de0f51e systemd: remove unused bindings 2024-01-17 14:12:41 +01:00
superherointj
7ec605930b
pkgsMusl.systemd: fix build (#281323)
PR #239201 broke systemd for musl.

To make the build actually work, #278994 [not available in master yet] is also required.

Fixes: https://github.com/NixOS/nixpkgs/issues/280738

Co-authored-by: @nesteroff @yu-re-ka
2024-01-17 08:55:31 +01:00
github-actions[bot]
b877be17ac
Merge staging-next into staging 2023-12-22 12:01:42 +00:00
github-actions[bot]
6859dda947
Merge master into staging-next 2023-12-22 12:01:16 +00:00
Jared Baur
5d14747fdc
systemd: Add withBootloader to ukify assertion
Systemd fails to build with `withUkify` set to true unless
`withBootloader` is also set to true. Amend the existing assertion to
also ensure `withBootloader` is true.
2023-12-21 17:36:30 -08:00
Florian Klink
011e924109
Merge pull request #239201 from nesteroff/fix-timesync
systemd: disable NSCD when DNSSEC validation is disabled in timesyncd
2023-12-20 22:22:52 +02:00
Yuri Nesterov
6008246790 systemd: disable NSCD when DNSSEC validation is disabled in timesyncd
When a system has a wrong date and time timesyncd is unable to synchronize it
because DNSSEC doesn't work. In order to break this chicken and egg problem
systemd-timesync disables DNSSEC validation by setting
SYSTEMD_NSS_RESOLVE_VALIDATE=0 in the unit file. However, it doesn't work in
NixOS because it uses NSCD. This patch disables NSCD in systemd-timesyncd when
SYSTEMD_NSS_RESOLVE_VALIDATE is set to 0 so that it uses NSS libraries
directly. In order for it to be able to find the libnss_resolve.so.2 library
this patch adds the systemd directory in the nix store to the LD_LIBRARY_PATH.
2023-12-20 13:21:43 +02:00
github-actions[bot]
ecc5467899
Merge staging-next into staging 2023-12-19 18:01:20 +00:00
Alyssa Ross
2b76501a4b systemd: disable bpf on powerpc64le 2023-12-19 14:31:33 +01:00
github-actions[bot]
1065f5a68a
Merge staging-next into staging 2023-12-12 18:01:44 +00:00
Linus Heckemann
fecc1aadc5
Merge pull request #273535 from lheckemann/ukify-stub-path-fix
systemd: fix path to stubs in ukify
2023-12-12 17:56:06 +01:00
Linus Heckemann
9e7e41c43d systemd: fix path to stubs in ukify 2023-12-11 14:01:24 +01:00
Ryan Lahfa
9faaff804f
Merge pull request #189277 from minijackson/systemd-journal-upload 2023-12-10 19:27:17 +01:00
Minijackson
7112490cb7 systemd: add journal tests to passthru.tests 2023-12-09 01:54:44 +01:00
Minijackson
f9a1ba6987 systemd: add GnuTLS when remote is enabled 2023-12-09 01:50:22 +01:00
Florian Klink
22b52d9c97 Revert "systemd: enable debug info"
This reverts commit 4f92bea34a.

It breaks the systemd build on 32 bit architectures, as written in
https://github.com/NixOS/nixpkgs/pull/272009#issuecomment-1846205807.

Let's quickly revert this until we can work on a more fine-grained
introduction, or fix separateDebugInfo for all platforms.
2023-12-08 18:28:03 +02:00
Alyssa Ross
4f92bea34a systemd: enable debug info 2023-12-05 11:03:41 +01:00
github-actions[bot]
ad369759ce
Merge staging-next into staging 2023-11-28 00:02:41 +00:00
Will Fancher
927a9655a2
Merge pull request #262952 from JulienMalka/systemd-options
systemd: add withLogTrace option
2023-11-27 17:19:03 -05:00
Artturin
40eff710af Revert "Systemd package rewrite"
Reverts NixOS/nixpkgs#269620

- eab0837b68 caused a mass-rebuild on master

- self-merge on a critical package without review and not waiting for the active owner team

Below are the reverts of the commits from that PR

Revert "systemd: migrate to by-name"

This reverts commit 33d2a40d67.

Revert "systemd: add meta.longDescription"

This reverts commit 7c588d141d.

Revert "systemd: cosmetic rewording of code"

This reverts commit d91b8d9fcb.

Revert "systemd: cosmetic rewording of comments"

This reverts commit bc563998c0.

Revert "systemd: remove some redundancy on mesonFlags"

This reverts commit eab0837b68.

Revert "systemd: use  lib.meson* functions"

This reverts commit 1129756b1a.
2023-11-26 03:12:04 +02:00
Anderson Torres
33d2a40d67 systemd: migrate to by-name 2023-11-25 20:11:32 -03:00
Anderson Torres
7c588d141d systemd: add meta.longDescription 2023-11-25 20:11:32 -03:00
Anderson Torres
d91b8d9fcb systemd: cosmetic rewording of code 2023-11-25 20:11:32 -03:00
Anderson Torres
bc563998c0 systemd: cosmetic rewording of comments 2023-11-25 20:11:32 -03:00
Anderson Torres
eab0837b68 systemd: remove some redundancy on mesonFlags 2023-11-25 20:11:32 -03:00
Anderson Torres
1129756b1a systemd: use lib.meson* functions 2023-11-25 20:11:32 -03:00
Lily Foster
f4b833961b
systemd: 254.3 -> 254.6 2023-11-16 07:21:26 -05:00
Weijia Wang
8012034692 Merge branch 'staging-next' into staging 2023-11-07 03:41:49 +01:00
github-actions[bot]
da4d99e016
Merge master into staging-next 2023-11-05 06:00:55 +00:00
Jörg Thalheim
4af510c7ae treewide: drop myself from packages that I don't activily maintain 2023-11-05 05:43:35 +01:00
nikstur
3b92f76b54 systemd: enable sysusers by default 2023-11-01 20:45:19 +01:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Florian Klink
90727298f2
Merge pull request #262598 from vikanezrimaya/systemd-properly-wrap-ukify
systemd: properly wrap ukify by prefixing instead of overwriting PATH
2023-10-25 18:07:29 +03:00
Julien Malka
258d76f551
systemd: add withLogTrace option 2023-10-23 16:46:12 +02:00
Julian Stecklina
79f6045006 systemd: allow building only the libraries
systemdMinimal is used to break the dependency cycle of libraries
required by systemd on itself. The problem is that this means that
every system closure will have two sets of systemd binaries in the
closure. This wastes around 10 MiB in every system closure.

Add the option to systemd to only ship libudev and libsystemd instead
of a whole systemd installation.
2023-10-23 01:46:26 +02:00
Vika
afe9745edb systemd: properly wrap ukify by prefixing instead of overwriting PATH 2023-10-21 21:58:14 +03:00
github-actions[bot]
e1565d6a86
Merge staging-next into staging 2023-10-09 18:01:36 +00:00
github-actions[bot]
75d4639be3
Merge master into staging-next 2023-10-09 18:00:59 +00:00