Commit Graph
79040 Commits
Author SHA1 Message Date
Silvio Knizek 6731769320 docs: fix markup (#35995) 2025-01-14 15:19:56 +01:00
Sea-Eun Lee 015a3b8cb1 oomd: support reloading configuration at runtime 2025-01-14 14:42:23 +01:00
Lennart Poettering 857ddc2e55 core: serialize API bus id and validate before deserializing bus tracks, plus several other bus util cleanups (#35970)
Follow-up for #35406
2025-01-14 14:39:58 +01:00
Lennart Poettering 4ba24c46b3 sysusers: some tweaks, mostly around chase() use (#35976) 2025-01-14 14:38:32 +01:00
Lennart Poettering 255468d7f2 update TODO 2025-01-14 13:59:54 +01:00
Daan De Meyer 603a3a8f22 Update packaging specs (#35980) 2025-01-14 12:24:49 +01:00
Daan De Meyer 3c2fa8e050 fmf: Only move logs if corresponding directory exists
Otherwise find fails with an error.
2025-01-14 12:07:53 +01:00
Daan De Meyer 6309efbf31 dissect: Use COPY_MERGE
When copying a directory from or to an image, let's always merge
with existing directories instead of failing with "File Exists".

Fixes https://github.com/systemd/mkosi/issues/3342.
2025-01-14 11:13:25 +01:00
Daan De Meyer 9876c27390 mkosi: update fedora commit reference
* fd36e4c562 Rebuilt for the bin-sbin merge (2nd attempt)
* cddeca136f Rebuilt for the bin-sbin merge (2nd attempt)
* 20cc578e59 Enable signing systemd-boot on OBS builds
* b1bd57ecce Revert use of PrivateTmp=disconnected
* 30f50b1870 Drop patch numbers
* 1814bfe794 remove STI test
* 3a9c32b8a9 Version 257.2
* 4df2711a9f Add bcond for OBS-specific quirks
* e570cd53df spec: drop trailing whitespace
* c7379c9460 Replace 'udevadm hwdb' with systemd-hwdb
* 3386f5d704 Rename source .abignore file
* fd860fd12d Drop a build dependency on a linter package: pytest-flakes
* 133ae30e33 Drop patches based on %upstream macro instead of patch number
* e157552c6c Always build in release mode
* fc47a92e4a Re-enable upstream behaviour of systemd-tmpfiles --purge
* 62abb21906 Version 257.1
* 35e6814ef4 Add patch for test-time-util
* bd8339bf00 sysusers: support new ! line flag for creating fully locked accounts
* c2f5f4a68a Version 257
* 31aaef8e17 Enable slow tests during build
2025-01-14 11:05:02 +01:00
Daan De Meyer 55455280da mkosi: update arch commit reference
* 8160e63e52 Limit logic required for building locally
* 3a62443e41 OBS build: add support for xz and zst compression formats
* 9667464ad7 Get rid of _tag variable
* 73dc492b5e upgpkg: 257.2-2: rebuild with changes for service restart
* 6b7355b5bb do not restart any templated units
* 332718f955 exclude vmspawn units from restart as well
* 5a749a6716 exclude systemd-nspawn@* services from restart
* 8a10796f8b upgpkg: 257.2-1: new upstream release
* 16294a0b44 Add support for building from git in OBS
* 38b664eed4 upgpkg: 257.1-1: new upstream release
* e26158dda9 upgpkg: 257-1: new upstream release
* c984b75c3f restart services after upgrade...
* 27fae2c192 upgpkg: 256.9-1: new upstream release
* 1afdd08a60 upgpkg: 256.8-2: apply: shutdown: close DM block device before issuing DM_DEV_REMOVE ioctl
2025-01-14 11:05:02 +01:00
Daan De Meyer 6e5fb09d1c ci: Skip coverage workflow on forks
Fixes #35964
2025-01-14 11:04:05 +01:00
Lennart Poettering 5e35b6a5f7 lsm: improve logging about absence of lsm-bpf
In containers securityfs is typically not mounted. Our lsm-bpf code
so far detected this situation and claimed the kernel was lacking
lsm-bpf support. Which isn't quite true though, it might very well
support it. This made boots of systemd in systemd-nspawn a bit ugly,
because of the misleading log message at boot.

Let's improve things, and make clearer what is going on.
2025-01-14 09:53:56 +00:00
Daan De Meyer 1d77ac19cf test: Only move journal file if we didn't just unlink it 2025-01-14 10:21:45 +01:00
Mike Yuan 34f4b817f6 core/manager: restore bus track deserialization cleanup in manager_reload()
There's zero explanation why it got (spuriously) removed in
8402ca04d1a063c3d8a9e3d5c16df8bb8778ae98...
2025-01-13 23:08:35 +01:00
Aman Verma 9b10bc107f update-done: remove spurious trailing whitespace from MESSAGE. 2025-01-13 22:54:42 +01:00
Mike Yuan 1446e3c392 core: serialize API bus id and validate before deserializing bus tracks 2025-01-13 21:52:19 +01:00
Mike Yuan a9a8d2e12f bus-util: introduce bus_get_instance_id() 2025-01-13 21:52:19 +01:00
Mike Yuan af0e10354e core/manager: drop duplicate bus track deserialization
bus_init_api() now does this internally
(after 8402ca04d1).
2025-01-13 21:52:19 +01:00
Mike Yuan a7516260b3 core/manager: use FOREACH_ARRAY at one more place 2025-01-13 21:52:19 +01:00
Mike Yuan 33eeea4128 bus-util: do not reset the count returned by sd_bus_track_count_name()
Follow-up for 8402ca04d1

While at it, turn the retval check for sd_bus_track_count_name()
into assertion, given we're working with already established tracks
(service_name_is_valid() should never yield false in this case).

Addresses https://github.com/systemd/systemd/pull/35406#discussion_r1912066774
2025-01-13 21:52:18 +01:00
Mike Yuan 38a2c2bf6a shared/serialize: introduce serialize_id128() 2025-01-13 21:52:13 +01:00
Mike Yuan 3f03d39ca3 shared/serialize: make input params const 2025-01-13 16:56:08 +01:00
Mike Yuan 91080bc973 shared/bus-util: move string set append/get funcs to bus-message-util and bus-get-properties, respectively 2025-01-13 16:55:42 +01:00
Mike Yuan e3d37628aa shared/bus-util: move bus_message_hash_ops to bus-message-util 2025-01-13 16:24:44 +01:00
Mike Yuan ab33edb05b shared/bus-util: move bus_message_read_id128() to bus-message-util 2025-01-13 16:24:44 +01:00
Lennart Poettering 3d6f14d327 tmpfiles: move two commands to the right --help sections 2025-01-13 15:05:41 +01:00
Lennart Poettering 0fd2c1fa59 sysusers: use chase_and_stat() where appropriate 2025-01-13 11:46:56 +01:00
Lennart Poettering 48b176cb2d sysusers: add missing assert() 2025-01-13 11:46:56 +01:00
Lennart Poettering ca7d68f7f0 sysusers: modernize loading of user/group databases
Let's use chase(), and let's allocate sets/hashmaps on-the-fly.
2025-01-13 11:46:56 +01:00
Lennart Poettering 1696bc55f9 sysusers: rework --help to do sections, and ANSI highlighting 2025-01-13 11:46:56 +01:00
Daan De Meyer 79ac78e368 test: Fix bug in integration test wrapper 2025-01-13 11:06:37 +01:00
Mike Yuan e755cde735 process-util: depend on CLONE_PIDFD 2025-01-12 00:17:20 +01:00
Mike Yuan 6e14c46bac tree-wide: drop support for kernels without pidfd_open() and pidfd_send_signal()
Our baseline is v5.4 now.
2025-01-12 00:01:07 +01:00
Mike Yuan a342c71d36 sd-event: assign pid to event source at last also in sd_event_add_child_pidfd()
I.e. apply 54988a27b9 to
sd_event_add_child_pidfd() too.
2025-01-11 23:47:52 +01:00
Mike Yuan 1ca04eaf96 missing_syscall: require a bunch of syscalls below baseline
pidfd-related ones are left out and will be dealt with later.
2025-01-11 23:47:51 +01:00
Lennart Poettering 361327e929 convert more code to PidRef (#35895) 2025-01-11 23:14:33 +01:00
Mike Yuan 95a5c658a3 namespace-util: use pidref_namespace_open_by_type() where appropriate
Several logs are dropped, since all callers log loudly already.
2025-01-11 16:06:38 +01:00
Mike Yuan a0e3dbdef5 uid-range: make uid_map_search_root() take UIDRangeUsernsMode 2025-01-11 15:53:15 +01:00
Mike Yuan 8c2c8235a6 namespace-util: introduce userns_enter_and_pin() helper
which generalizes forking a process into userns and freeze()

Addresses https://github.com/systemd/systemd/pull/35833/files#r1905508153
2025-01-11 15:53:14 +01:00
Mike Yuan c7704ecd04 namespace-util: group userns functions together 2025-01-11 15:53:14 +01:00
Mike Yuan 1a669ea7e1 README: document kernel version for idmapped mounts 2025-01-11 15:53:14 +01:00
Mike Yuan 407ebf29cc basic: move nsfs ioctls from missing_fs to missing_namespace
Addresses https://github.com/systemd/systemd/pull/35833#discussion_r1905333757
2025-01-11 15:53:14 +01:00
Mike Yuan dfef02c675 process-util: drop duplicate assertions 2025-01-11 15:53:13 +01:00
Zbigniew Jędrzejewski-Szmek ad7e0fdbf9 Extend elf package metadata to pe/coff files (#35681) 2025-01-11 13:12:39 +01:00
Luca Boccassi 81a62d9eaf README: add OBS status icon and link to instructions to add bleeding edge repo 2025-01-11 14:19:02 +09:00
Eaterminer 6cffdcd590 homectl: fix minor spelling mistake (#35963) 2025-01-11 14:17:05 +09:00
Luca Boccassi 8c5b359579 stub: drop PE sections parsing cap
This was added originally as it was thought that Windows applied
the same cap. Nowadays the specs do not mention it, and it is
believed Windows no longer applies it either, so drop it in order
to allow an arbitrary number of DTBs to be included

Fixes https://github.com/systemd/systemd/issues/35943
2025-01-10 22:51:46 +00:00
Lennart Poettering 97ac59f18d machine: follow ups for varlink PRs recently merged (#35940)
Follow ups for:
- https://github.com/systemd/systemd/pull/35880
- https://github.com/systemd/systemd/pull/35066
2025-01-10 22:12:22 +01:00
Daan De Meyer beca4655dd Test improvements (#35955) 2025-01-10 21:30:58 +01:00
Daan De Meyer e0c2fd6a33 fmf: Skip TEST-21-DFUZZER
Similar to Github Actions, since we don't build with sanitizers in
the packit job, let's skip TEST-21-DFUZZER.
2025-01-10 16:14:01 +01:00