Commit Graph

1142 Commits

Author SHA1 Message Date
Lennart Poettering
d03714e4e4 tree-wide: "human readable" → "human-readable"
Apparently, the spelling with a hyphen is better style in the English
language.

Suggested by: #36165
2025-07-07 11:21:25 +02:00
Yu Watanabe
878c373370 NEWS: fix typo 2025-07-03 06:57:23 +09:00
Lennart Poettering
2c8f502fc8 update NEWS with even more features for v258 2025-07-02 18:21:19 +02:00
Lennart Poettering
2be3a06bb2 core: when PrivateDevices= is enabled and we need to decrypt TPM2 credentials, go via IPC
Also, if a device ACL list is defined, also go via IPC (instead of
trying to patch it, as before).

The outcome is that the tighter rules continue to apply when configured.

Fixes: #35959
2025-06-24 22:16:01 +02:00
Luca Boccassi
078eeac8ea NEWS: add not about vendor import-pubring renaming 2025-06-24 00:15:06 +01:00
Yu Watanabe
27546b769c sd-lldp-tx: do not expose machine ID by default
Previously, systemd-networkd sent machine ID as chassis ID.
Let's use application specific machine ID.

This is a kind of backward compat breaking. Hence, this also introduces
the support of $SD_LLDP_SEND_MACHINE_ID environment variable.

Closes #37613.
2025-06-18 00:53:20 +09:00
Yu Watanabe
5509fa8450 NEWS: mention PersistLeases=runtime in [DHCPServer] 2025-06-14 03:53:10 +09:00
Mike Yuan
46b0844743 sd-daemon: add sd_pidfd_get_inode_id()
We nowadays expose pidfdid at various places, e.g. envvars
and dbus properties. Also the sd_notify() MAINPID= message
has been complemented with MAINPIDFDID=. But acquiring
pidfdid is actually non-trivial especially considering
the 32-bit case, hence let's introduce a public helper
in sd-daemon specifically for that purpose.
2025-06-05 01:35:08 +02:00
Yu Watanabe
0436240dd2 udevadm: allow to specify device by device ID (#37636) 2025-06-02 18:02:36 +09:00
Jörg Behrmann
5b5155dbf8 NEWS: fix typos 2025-05-30 06:26:57 +09:00
Allison Karlitskaya
1994426f90 NEWS: fix description of CopyFiles==::fsverity=copy
This doesn't enable fs-verity on every file, but preserves the fs-verity
status that was present to start with.
2025-05-29 18:54:05 +09:00
Lennart Poettering
a5b713630f update NEWS 2025-05-28 23:01:21 +02:00
Yu Watanabe
b90a47cb69 NEWS: mention that udevadm can take device IDs to specify devices 2025-05-29 04:04:22 +09:00
Yu Watanabe
f1b7b34cc7 NEWS: fix typo 2025-05-29 04:03:00 +09:00
Luca Boccassi
24ee70d4f5 NEWS: fix typos and formatting 2025-05-28 19:49:56 +01:00
Mike Yuan
46bcfe651f NEWS: fix typo, reorganize a few entries 2025-05-28 19:25:39 +02:00
Lennart Poettering
e08ee8fdd3 update NEWS in preparation for v258 2025-05-28 18:29:47 +02:00
Yu Watanabe
940441b44c network/tuntap: deny non-system users/groups from owning Tun/Tap interfaces
This is analogous to #36123, but for Tun/Tap interfaces created by
systemd-networkd.

If a regular user account want to control a Tun/Tap interface, then
assign the interface to a system group, e.g., vpn, and add the user
to the group.

Closes #37279.
2025-04-30 20:31:00 +09:00
Yu Watanabe
4db8663b81 tree-wide: fix typo 2025-04-27 10:36:12 +09:00
Beniamino Galvani
2451cd2512 networkd: reduce the IPv4 DAD timeout to 200ms
The original timeout of 7 seconds is very long for today's networks. Reduce it
to 200ms. Note that this change also affects IPv4 link-local addressing.
2025-04-26 14:44:52 +09:00
Yu Watanabe
87541e254f meson: use deprecated tag for dns-over-tls and cryptolib meson options
Follow-up for #36937.
2025-04-22 10:10:53 +02:00
Yu Watanabe
a0e078e785 NEWS: mention org.freedesktop.systemd1.StartAuxiliaryScope() has been removed 2025-04-22 09:02:48 +09:00
Yu Watanabe
e895a490b7 NEWS: mention that F20 and friends has been replaced with micmute and so on
Follow-up for #34325.
2025-04-19 05:30:32 +09:00
Mike Yuan
3180c4d461 logind: drop session fifo logic, rely solely on pidfd for exit notification
Traditionally, logind installed a fifo in the PAM session and
used EOF on the fd as signal for session close. With the addition of
pidfd (76f2191d8e) however,
logind tracks the leader process and the session is terminated
as soon as that exits. I think the new behavior generally makes
more sense, and the behavior got changed *in the mentioned commit
already* without anyone ever showing up to complain. It hence
feels safe to kill the concept now (also before the varlink interface
gets rolled out).

Note that the 'PID' field in CreateSession() Varlink method
is now marked as strict, i.e. failure to acquire pidfd
is immediately treated as fatal.
2025-04-19 04:43:04 +09:00
Daan De Meyer
3bb398c299 resolve,import: always use openssl (#36937) 2025-04-18 15:30:33 +02:00
Yu Watanabe
8e7ef6abb8 NEWS: mention integration-tests meson option is deprecated
Follow-up for 710653d3bc.
2025-04-18 09:36:29 +09:00
Yu Watanabe
7de438cdb5 NEWS,TODO: fix typo 2025-04-07 16:54:05 +09:00
Yu Watanabe
3d2391a004 meson: remove more deprecated meson options
- default-hierarchy meson option was deprecated by
  31323f21bb (v256).
- nscd meson option was deprecated by
  28f1f1a5e6 (v257).

Let's completely remove them now.
2025-04-05 22:54:42 +09:00
Mike Yuan
1b781af6ee NEWS: document kernel baseline bump
Follow-up for 16ac586e5a
2025-04-04 15:34:52 +02:00
Mike Yuan
44a8b3d30b NEWS: remark cgroup v1 removal 2025-04-04 15:34:52 +02:00
Yu Watanabe
99cc106670 Update NEWS 2025-04-02 05:49:00 +09:00
Yu Watanabe
11361e3293 meson: drop split-usr, rootlibdir, and rootprefix from meson_options.txt
These options were deprecated by b0d3095fd6 (v255).
Let's remove them completely.
2025-03-12 15:21:57 +01:00
Lennart Poettering
9e050b0458 repart: port to new factory reset state apis 2025-03-05 12:37:24 +01:00
Lennart Poettering
14871a6529 efivars: kill SystemdOptions efi var support
This has been depracted since v254 (2023). Let's kill it for
good now, it has been long enough with 2y. Noone has shown up who wants
to keep it. And given it doesn't work in SB world anyway, and is not
measured is quite problematic security wise.
2025-02-26 17:28:43 +01:00
Steve Ramage
a4750ae156 network: doc and code typo fixes (#36422)
This fixes some typos in the documentation, both grammar as well as
incorrect field names.
It also changes the casing of CheckSum to Checksum in L2TP to match
other casings.
2025-02-19 02:08:16 +09:00
Lennart Poettering
4b840414be cryptenroll/repart/creds: no longer default to binding against literal PCR 7
PCR 7 covers the SecureBoot policy, in particular "dbx", i.e. the
denylist of bad actors. That list is pretty much as frequently updated
as firmware these days (as fwupd took over automatic updating). This
means literal PCR 7 policies are problematic: they likely break soon,
and are as brittle as any other literal PCR policies.

hence, pick safer defaults, i.e. exclude PCR 7 from the default mask.
This means the mask is now empty.

Generally, people should really switch to signed PCR policies covering
PCR 11, in combination with systemd-pcrlock for the other PCRs.
2025-01-30 10:32:26 +01:00
Yu Watanabe
7e6786b7fb NEWS: mention OWNER=/GROUP= in udev rules now refuses non-system user/group 2025-01-24 02:33:18 +09:00
Lennart Poettering
cf8f6cd057 logind: introduce "user-light" session class
This new session class is to "user" what "background" is to
"background-light": it doesn't cause the per-user service manager to
start.

This new session class is now the default if no session class was
provided at session registration time and the following conditions hold:

1. The session is not graphical
2. The user is not a regular user (but not root)

Or in other words root and system users won't get a service manager
started automatically if they go through a PAM session as part of things
like cron or ftp. They will however still get one if they log in
graphically.

This changes behaviour a bit, but hopefully in OK was.

This also makes "background-light" for system users incl. root.

This addresses one of the ideas discussed in #34988.
2025-01-15 17:03:21 +01:00
Lennart Poettering
f54390de87 NEWS: mention mesg y/n 2025-01-14 15:38:39 +01:00
Yu Watanabe
a4d1891475 meson: allow to customize the access mode for tty/pts devices
Then, switch the default value to "0600", due to general security
concerns about terminals being written to by other users.

Closing #35599.
2024-12-16 21:36:07 +00:00
Mike Yuan
3ae314afdc Revert "run: disable --expand-environment by default for --scope"
This reverts commit 8167c56bfa.

We've announced the breaking change during v254-v257. Let's actually
apply it for v258.
2024-12-12 06:05:30 +09:00
Luca Boccassi
9df1ca63fb NEWS: add placeholder for v258 2024-12-10 19:31:07 +00:00
Luca Boccassi
70bae7648f Finalize NEWS and meson.version for v257 2024-12-10 19:23:45 +00:00
Luca Boccassi
9e5e1cf6ca NEWS: update list of contributors 2024-12-10 15:18:39 +00:00
Zbigniew Jędrzejewski-Szmek
d5df77b474 NEWS: adjust grammar
Follow-up for 1072618023.
2024-12-02 10:48:59 +01:00
Yu Watanabe
1072618023 NEWS: metion changes for networkd 2024-12-01 23:37:32 +09:00
Luca Boccassi
d08946c19c NEWS: update date 2024-11-27 21:11:33 +00:00
Luca Boccassi
a881ca663f NEWS: update contributors list 2024-11-27 15:17:23 +00:00
Vito Caputo
4f3df8c1bb NEWS: add blurb thanking Nick Owens
Nick's largely responsible for nerd-sniping me into fixing #34516
and did most of the testing.
2024-11-24 16:31:27 +09:00
Luca Boccassi
a66fd4ac9f NEWS: update date 2024-11-15 19:16:47 +00:00