1
0
mirror of https://github.com/systemd/systemd synced 2024-07-09 04:26:06 +00:00
Commit Graph

1040 Commits

Author SHA1 Message Date
Adrian Vovk
91448cf050
NEWS: Add note about freezing user session changes
These changes have the potential to break suspend on systems with
proprietary NVIDIA drivers, so we should make a big NEWS entry about it
2024-03-05 12:12:37 -05:00
Lennart Poettering
78266a54f1 tree-wide: use "_" rather than "-" as separator in kernel cmdline options
Most of our kernel cmdline options use underscores as word separators in
kernel cmdline options, but there were some exceptions. Let's fix those,
and also use underscores.

Since our /proc/cmdline parsers don't distinguish between the two
characters anyway this should not break anything, but makes sure our own
codebase (and in particular docs and log messages) are internally
consistent.
2024-02-28 15:33:51 +01:00
Mike Yuan
6b19d5f021
NEWS: announce cgroup v1 deprecation 2024-02-27 23:10:50 +08:00
Lennart Poettering
13fc754dc3 sd-stub: drop any support for TPM 1.2
TPM 1.2 is obsolete, and doesn't really provide much security guarantees
given it's build around SHA1 which is not up to today's standards.

The rest of systemd's TPM codebase never supported TPM 1.2 hence let's
drop this partial support in sd-stub too. It has created problems after
all (sd-stub reported the measuements and userspace assumed these were
for TPM2), without bringing any benefits (given that the measurements we
make are not consumed by us anyway, unlike those for TPM 2.0)

let's cut off this old support.
2024-02-23 10:56:54 +01:00
Mike Yuan
4d0b06d535
Merge pull request #31181 from fbuihuu/gpt-auto-more-defensive
gpt-auto-generator: be more defensive when checking the presence of E…
2024-02-12 19:12:17 +08:00
Franck Bui
76c883d34d NEWS: gpt-auto-generator will become more defensive with ESP and XBOOTLDR 2024-02-12 09:31:18 +01:00
Zbigniew Jędrzejewski-Szmek
d44934f378 NEWS: announce plan to drop support for nscd
This is in preparation for https://github.com/systemd/systemd/pull/30360 to be
merged in a future release. As described there:

  nscd is known to be racy [1] and it was already deprecated and later dropped
  in Fedora a while back [1,2]. We don't need to support obsolete stuff in
  systemd, and the cache in systemd-resolved provides a better solution anyway.

  [1] https://fedoraproject.org/wiki/Changes/DeprecateNSCD
  [2] https://fedoraproject.org/wiki/Changes/RemoveNSCD

Note that our "support" is only the signal to flush the cache that we send at
various points. Nscd itself may still exist, dropping it is a decision to be
made in glibc.
2024-02-06 18:34:56 +01:00
Raito Bezarius
b49595503d networkd: support proxy_arp_pvlan sysctl
The proxy ARP private VLAN sysctl is useful for VLAN aggregation, see
https://sysctl-explorer.net/net/ipv4/proxy_arp_pvlan/ for details.
2023-12-24 03:40:03 +09:00
Yu Watanabe
03a46b5eca man,NEWS: mention that all previously assigned VLAN IDs are cleared
Addresses https://github.com/systemd/systemd/pull/29987#issuecomment-1863934902.
2023-12-20 19:22:53 +09:00
Zbigniew Jędrzejewski-Szmek
28fd1ba375 NEWS: fix version 2023-12-15 16:22:24 +01:00
Florian Schmaus
7ba8260c46 NEWS: fix typo s/show/shown/ 2023-12-09 19:44:20 +08:00
Luca Boccassi
880eaa3a62 NEWS: open for v256 2023-12-06 21:07:16 +00:00
Luca Boccassi
db11bab38c NEWS: finalize for v255 2023-12-06 20:32:40 +00:00
Luca Boccassi
48696c2d37 NEWS: note that newly introduced tools are experimental
So that we can change interfaces for at least one release if needed
2023-12-06 10:00:25 +00:00
Luca Boccassi
e6e335b5d4 NEWS: update contributors list 2023-12-06 09:57:38 +00:00
Luca Boccassi
c7ce20f01f NEWS: finalize for v255-rc4 2023-12-02 02:05:30 +00:00
Luca Boccassi
9a848052e4 NEWS: update contributors list 2023-12-01 22:05:08 +00:00
Luca Boccassi
a935f3dd7e Finalize NEWS for v255-rc3 2023-11-22 20:41:04 +00:00
Luca Boccassi
054042f8e1 NEWS: note about reexec on update, for sd-executor 2023-11-22 18:04:21 +00:00
Luca Boccassi
60142662a4 NEWS: update contributors list 2023-11-22 18:04:21 +00:00
Christian Hesse
111df871ee NEWS: drop duplicate 'of' 2023-11-17 21:55:32 +09:00
Luca Boccassi
298b218fc8 NEWS: finalize for v255-rc2 2023-11-15 16:31:53 +00:00
Zbigniew Jędrzejewski-Szmek
7eff3e2cdb NEWS: adjust indentation
A non-breaking space is used between "PCR" and the number. I did
search&replace on the whole file, so that when people select&paste
later, they are more likely to use the same format.
2023-11-15 14:53:11 +01:00
Lennart Poettering
b0f965966b NEWS fixes 2023-11-15 11:52:27 +01:00
Luca Boccassi
6060271263 NEWS: update contributors list 2023-11-14 20:11:56 +00:00
Luca Boccassi
feed291094 NEWS: update for latest features 2023-11-14 20:11:01 +00:00
Florian Schmaus
aac3384e56 cgroup: add support for memory.swap.peak 2023-11-11 12:14:07 +01:00
Zbigniew Jędrzejewski-Szmek
837667a1b8 NEWS: fix strange line break 2023-11-07 18:18:58 +01:00
Mike Yuan
e592bf5d11
Merge pull request #29879 from Flowdalic/cgroup-memory-peak
cgroup: add support for memory.peak
2023-11-07 09:53:57 +08:00
Luca Boccassi
4a5bf4896f
Merge pull request #29882 from keszybz/documentation-cleanup
Documentation cleanup
2023-11-06 21:24:08 +00:00
Zbigniew Jędrzejewski-Szmek
55e40b0be8 tree-wide: s/life-cycle/lifecycle/g 2023-11-06 20:16:34 +01:00
Florian Schmaus
324ec6b5d2 run: include peak memory in output
Fixes #28542.

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
2023-11-06 18:10:06 +01:00
Florian Schmaus
6c71db763c cgroup: add support for memory.peak
Linux's Control Group v2 interfaces exposes memory.peak, which contains the
"max memory usage recorded for the cgroup and its descendants since the
creation of the cgroup."

This commit adds a new property "MemoryPeak" for units and makes "systemctl
show" display this value if it is available.

Fixes #29878.

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
2023-11-06 18:08:33 +01:00
Lennart Poettering
31a4796ee8 NEWS: drop left-over .md suffix 2023-11-06 15:18:40 +01:00
Luca Boccassi
a9d942aeb0 NEWS: fix typo 2023-11-06 12:25:58 +00:00
Luca Boccassi
0a917108d1 NEWS: finalize 2023-11-06 10:38:17 +00:00
Luca Boccassi
7fea5ea09b NEWS: update contributors list 2023-11-06 10:35:45 +00:00
Zbigniew Jędrzejewski-Szmek
a4a047c316 NEWS: mention new rpm macros 2023-11-05 18:44:49 +01:00
Zbigniew Jędrzejewski-Szmek
427ddaf60c NEWS: reword things, change ordering, remove one duplicate 2023-11-05 18:40:38 +01:00
Luca Boccassi
0e5f89b5ab Update NEWS
Note that vmspawn and pcrlock are new and the interface might change
2023-11-04 16:51:28 +00:00
Luca Boccassi
53db2e057d
Merge pull request #29858 from bluca/news
man/NEWS update for sleep.conf
2023-11-04 10:43:35 +00:00
Luca Boccassi
ce3eccd85f NEWS: update for deprecated sleep configs 2023-11-04 10:43:08 +00:00
Yu Watanabe
e423b40d35 tree-wide: fix typo 2023-11-04 11:58:12 +09:00
Luca Boccassi
d8e7e1b2c2 Update NEWS 2023-11-03 20:50:48 +00:00
Luca Boccassi
bf88d0411f NEWS: add entry for vmspawn 2023-11-03 16:43:01 +00:00
Luca Boccassi
28a8aac745 NEWS: fix typo and reword meson option entry 2023-11-03 16:42:42 +00:00
Lennart Poettering
c5c5f0fe9c update NEWS 2023-11-03 17:40:33 +01:00
Lennart Poettering
c2322b482a more additions to NEWS 2023-11-03 17:27:47 +01:00
Yu Watanabe
08752450c7 Update NEWS 2023-11-03 12:02:51 +09:00
Lennart Poettering
08b939a6a9 update NEWS 2023-11-02 14:19:32 +01:00
Yu Watanabe
c57ff6230e NEWS: several updates for networking 2023-11-02 15:36:29 +09:00
Joerg Behrmann
43fe529e0f NEWS: more typo fixes 2023-11-02 05:55:40 +09:00
Luca Boccassi
79e1f7091f
Merge pull request #29816 from bluca/rel
Busywork for RC1
2023-11-01 20:14:11 +00:00
Frantisek Sumsal
68a5300f79 NEWS: fix a couple of typos and inconsistencies
And drop one duplicated paragraph.
2023-11-01 20:08:37 +00:00
Luca Boccassi
68ef4c570c NEWS: add contributors list 2023-11-01 14:07:54 +00:00
Yu Watanabe
da79ae6fc5 NEWS: fix typo 2023-11-01 13:54:15 +09:00
Luca Boccassi
f456764cda Update NEWS 2023-11-01 00:43:55 +00:00
Lennart Poettering
c24a8c6bfe NEWS: mention that ip=off now means ip=off 2023-10-31 11:03:53 +01:00
Ronan Pigott
b90480c80d network: introduce SendHostname/Hostname DHCPv6 options
These options were previously reused by the DHCPv6 client from the
DHCPv4 client settings. Let's separate them for consistency.
2023-10-30 11:04:10 +00:00
Ronan Pigott
808b65a087 network: implement RFC4039 DHCP Rapid Commit
This implements the DHCPv4 equivalent of the DHCPv6 Rapid Commit option,
enabling a lease to be selected in an accelerated 2-message exchange
instead of the typical 4-message exchange.
2023-10-26 15:26:50 -07:00
Yu Watanabe
87a768b801 tree-wide: fix typo 2023-10-18 12:40:25 +09:00
Ronan Pigott
06960d1719 network: include SSID in ipv6 stable prefix address generation
The SSID fills the role of the optional Network_ID input parameter
suggested by RFC7217. Including the SSID allows networkd to generate a
different pseudorandom address for different wireless networks, which
should help to obscure the host's identity when roaming between multiple
networks.
2023-10-18 09:48:09 +09:00
Zbigniew Jędrzejewski-Szmek
64f2cf77d1 NEWS, man: move description of SR-IOV-R net naming to v255
https://github.com/systemd/systemd/pull/29582 adds the "v254" name. This also
changes what the default is and what "latest" refers to. Without the name, the
code could be enabled via runtime configuration. Nevertheless, it could be
enabled at compilation time. In other words:
  meson setup build -Ddefault-net-naming-scheme=v254
would work, but
  net.naming-scheme=v254
would fail.

It is possible that people were using the compile-time override, so I think
we should allow "v254" scheme to stay and clearly document that it wasn't the
default.

Unfortunately, unless people manually introduced the compile-time override, we
were never actually testing the new code too. So all the pull request testing
was not useful.
2023-10-16 21:21:54 +02:00
Zbigniew Jędrzejewski-Szmek
6ad3dc409b man: use consistent label for "Reboot Into Firmware Interface"
That is what sd-boot actually displays.
2023-10-12 12:13:56 +02:00
Luca Boccassi
723ce80602
Merge pull request #29391 from lf-/jade/analyze-plot-tooltips
analyze: add tooltips with dependency information to "plot"
2023-10-04 21:15:52 +01:00
Jade Lovelace
6f39211f41 NEWS: systemd-analyze plot tooltips 2023-10-03 22:50:25 -07:00
Yu Watanabe
fcdd21ec6a tree-wide: fix typo 2023-10-04 08:58:10 +09:00
Christian Hesse
75271582be fix typo in NEWS
Looks like `-a change` is a typo and should have been `-c change` to
match on the action.
2023-09-27 17:24:39 +09:00
Joerg Behrmann
7c52d5236a treewide: split commandline into command line 2023-09-20 16:37:23 +01:00
Mike Yuan
4da159bc53
core,systemctl: refuse switching root if we're not in initrd 2023-09-02 15:56:24 +08:00
Milton D. Miller II
c23b07df3a NEWS: Typo
Let's not encourage the lawyers.
2023-08-30 20:50:47 +01:00
Yu Watanabe
7a05926fbe udev: re-introduce symlinks for loopback block device
But the directories are changed from /dev/loop/by-ref/ -> /dev/disk/by-loop-ref/
and /dev/loop/by-inode/ -> /dev/disk/by-loop-inode/.
As /dev/loop/ is used by losetup command for other purpose.
See issue #28475.

This effectively reverts commits 9915cc6086,
5022fab15f, and
c0d998248e.
2023-08-10 07:05:47 +09:00
Zbigniew Jędrzejewski-Szmek
b77ff21ade NEWS: adjust grammar 2023-08-04 15:45:26 +01:00
Zbigniew Jędrzejewski-Szmek
e9ae4187bb NEWS: expand list of new Startup* settings
This way users can grep/search the NEWS file for when a given setting was
added.
2023-08-04 15:45:26 +01:00
Etienne Dechamps
6b2d576f2b NEWS: PrivateNetwork implies PrivateMounts
This is clearly a change that can break existing units, and broke my
system in at least two different ways. For this reason this should have
been added to NEWS in #26458, specifically c2da3bf, but wasn't.
2023-08-03 03:00:21 +09:00
Luca Boccassi
b173b8186f
Merge pull request #28596 from keszybz/doc-updates
Two documentation updates
2023-07-31 11:11:11 +01:00
Zbigniew Jędrzejewski-Szmek
ffe7ddb9bc NEWS: fix misstatement
We don't have type 'ready'.
2023-07-31 09:15:35 +02:00
Yu Watanabe
dc3f9b5e10 NEWS: mention about the removal of duid-only option 2023-07-29 18:51:40 +09:00
Luca Boccassi
c405b91ff0 NEWS: open for v255 business 2023-07-28 23:44:17 +01:00
Luca Boccassi
994c797860 NEWS: finalize for v254
A release is never late, nor is it early, it arrives precisely when it
means to.
2023-07-28 09:26:32 +01:00
Luca Boccassi
aca7c09622 NEWS: mention that fsck will be ran for systemd.mount-extra= 2023-07-28 09:25:25 +01:00
Luca Boccassi
063e0279bf NEWS: update contributors list 2023-07-28 09:23:32 +01:00
Luca Boccassi
3e6b25eb89 NEWS: mention agetty/login credentials 2023-07-28 00:39:59 +01:00
Yu Watanabe
62843efc8f NEWS: fix typo 2023-07-25 15:50:29 +09:00
Luca Boccassi
739bbc5869 NEWS: update for rc3 2023-07-24 12:47:28 +01:00
Luca Boccassi
0b5e5e4cb4 NEWS: update contributors list 2023-07-24 11:46:33 +01:00
Luca Boccassi
7f0bf48d31 Update NEWS 2023-07-24 10:45:28 +01:00
Zbigniew Jędrzejewski-Szmek
03d298e1e5
Merge pull request #28460 from bluca/scope_run_env
run: disable --expand-environment by default for --scope
2023-07-21 15:41:56 +02:00
Yu Watanabe
dc3b5e0432 tree-wide: fix typo found by Fossies Codespell report 2023-07-21 19:12:08 +09:00
Yu Watanabe
c0d998248e tree-wide: drop references to /dev/loop/by-ref
Follow-up for #28476.
2023-07-21 10:24:20 +09:00
Luca Boccassi
d05553797e NEWS: note that sd-run --expand-environment will change 2023-07-20 17:41:38 +01:00
Luca Boccassi
7177c9022e
Merge pull request #28445 from bluca/run_host_release
core: copy the host's os-release for /run/host/os-release
2023-07-19 09:34:06 +01:00
Luca Boccassi
25c66abbed NEWS: note that /run/host/os-release is available more broadly 2023-07-18 17:26:02 +01:00
Zbigniew Jędrzejewski-Szmek
7e90814f0a Deprecate efivar SystemdOptions
As mentioned in the NEWS entry, it seems to see very little use, but adds
complexity in our code. It was added mainly with the goal of making it easier
for people using grub2 to modify their boot configuration, but grub2 is gaining
support for BLS snippets. On the systemd side, we now have credentials. So
let's deprecate this, and if there's no outcry, remove it in a few releases.
2023-07-18 17:30:06 +02:00
Haochen Tong
b23c7e1436 NEWS: fix typo 2023-07-15 17:59:49 +09:00
Luca Boccassi
5c07c70c5b Update NEWS for v254-rc2
Liberté, égalité, releasé 🇫🇷
2023-07-15 01:18:12 +01:00
Luca Boccassi
d4c124a2af Update NEWS with latest changes 2023-07-15 01:14:55 +01:00
Luca Boccassi
205c1da02f NEWS: update contributors list 2023-07-15 01:14:55 +01:00
Yu Watanabe
7cfef4bb48 battery-check: allow to skip by passing systemd.battery-check=0 2023-07-14 15:56:29 +01:00
Yu Watanabe
627cdcc785 tree-wide: fix typos reported by Fossies Codespell report 2023-07-12 10:14:50 +09:00