Commit graph

1014 commits

Author SHA1 Message Date
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
Luca Boccassi 6e522aa32f NEWS: mention that meson 0.60 is now required 2023-07-07 11:44:31 +01:00
Luca Boccassi 51bb422198 NEWS: mention that gnu-efi is no longer required 2023-07-07 11:42:46 +01:00
Luca Boccassi 115a2efbf0 NEWS: finalize for 254-rc1 2023-07-06 20:57:13 +01:00
Luca Boccassi 6f19cce983 NEWS: update contributors list 2023-07-06 20:38:52 +01:00
Luca Boccassi 305bea82c1 Update NEWS for latest changes 2023-07-06 20:37:56 +01:00
Luca Boccassi 3e938f1df1 NEWS: rearrange deprecation notices from more imminent to less imminent 2023-07-06 20:37:56 +01:00
Joerg Behrmann 5bc9ea070f treewide: fix "an" before consonant U sounds
The article "a" goes before consonant sounds and "an" goes before vowel
sounds. This commit changes an to a for UKI, UDP, UTF-8, URL, UUID, U-Label, UI
and USB, since they start with the sound /ˌjuː/.
2023-07-06 11:59:41 +01:00
Lennart Poettering eade959b90 NEWS: more preparation for 254-rc1 2023-07-06 11:16:16 +02:00
Lennart Poettering d5163f9c87 NEWS/--help: correct/be clearer on bootclt -R vs. -RR
The NEWS file was simply wrong. Let's also improve the --help text on
this.

Fixes: #28221
2023-07-04 12:50:22 +01:00
Zbigniew Jędrzejewski-Szmek da89046643 tree-wide: "<n>bit" → "<n>-bit"
In some places, "<n> bits" is used when more appropriate.
2023-07-02 11:10:12 +01:00
Zbigniew Jędrzejewski-Szmek 221332ee13 NEWS: reword/fix/extend the entries for v254 2023-07-01 14:07:25 -06:00
Zbigniew Jędrzejewski-Szmek 33db1b9055 NEWS: drop doubled space after period
Emacs does this, but it doesn't make much sense. It makes even
less sense if done only in some places.
2023-07-01 13:54:14 -06:00
Joerg Behrmann 49bf8bd57a NEWS: various fixes 2023-06-29 21:37:07 +09:00
Lennart Poettering 08423f6d30 NEWS: various fixes/additions 2023-06-28 22:40:50 +02:00
Lennart Poettering 005bfe4e01 NEWS: add pcrs verb 2023-06-28 16:53:30 +02:00
Luca Boccassi b1ee7474f8 NEWS: typos 2023-06-28 14:51:35 +01:00
Luca Boccassi 198aff7663 NEWS: mention that sd_event_trim_memory can be overridden 2023-06-28 14:43:54 +01:00
Luca Boccassi acf678deca NEWS: mention addon<efi>.efi.stub 2023-06-28 14:42:18 +01:00
Luca Boccassi 02f5a2ffab NEWS: do not make specific promises about future development, keep it vague 2023-06-28 14:34:12 +01:00
Luca Boccassi e6da1e04c6 NEWS: move PrivateUsers= change at the top, as it changes behaviour 2023-06-28 14:33:48 +01:00
Lennart Poettering d7b3c52cb1 NEWS: more updates for future v254 2023-06-28 15:21:49 +02:00
Lennart Poettering 7474097d51 NEWS: add comment about SysV script deprecation 2023-06-27 23:22:26 +02:00
Luca Boccassi 22900fa34b NEWS: copy deprecation notices for cgroup v1 and unmerged-usr/split-usr 2023-06-27 12:38:27 +01:00
Luca Boccassi aae9a150d1 NEWS: fix typos 2023-06-27 12:30:57 +01:00
Lennart Poettering b0f0218553 start updating NEWS for 254 2023-06-27 13:17:37 +02:00
Frantisek Sumsal dc7e580e64 tree-wide: use https for the 0pointer.de doc links 2023-06-23 13:46:56 +01:00