Commit graph

2586 commits

Author SHA1 Message Date
Yu Watanabe 8cfde28b61 update TODO 2022-09-16 04:18:58 +09:00
Yu Watanabe af3d387365 tree-wide: fix typo 2022-09-15 06:03:57 +09:00
Zbigniew Jędrzejewski-Szmek d01d9197f5 TODO: various things about partitioning 2022-09-13 15:52:33 +01:00
Lennart Poettering 1135779156 update TODO 2022-09-12 11:03:42 +01:00
Lennart Poettering 4e0ceefeb6 update TODO 2022-09-12 00:13:44 +01:00
Lennart Poettering 1d5f14ef3d update TODO 2022-09-09 11:53:06 +02:00
Lennart Poettering be429c8ff6 update TODO 2022-09-08 13:14:04 +02:00
Daan De Meyer 0fc40a0ef6 update TODO 2022-09-08 08:43:50 +02:00
Lennart Poettering 95150f3f56 update TODO 2022-09-02 18:09:57 +02:00
Lennart Poettering b7b7441de4 update TODO 2022-09-01 09:48:40 +02:00
Lennart Poettering a9f1bf409f update TODO 2022-08-31 18:29:30 +02:00
Lennart Poettering 180efdb768 update TODO 2022-08-23 15:10:15 +02:00
Lennart Poettering 7484c60ec6
Merge pull request #23653 from aafeijoo-suse/ask-for-recovery-key
cryptsetup: improve password prompt text
2022-08-19 14:55:54 +02:00
Antonio Alvarez Feijoo 2b56004001
update TODO 2022-08-19 09:02:17 +02:00
Frantisek Sumsal cd7ad0cbde
Merge pull request #24054 from keszybz/initrd-no-reload
Don't do daemon-reload in the initrd
2022-08-18 13:15:14 +00:00
Lennart Poettering 8680e40a2c update TODO 2022-08-12 15:37:36 +02:00
Lennart Poettering 80821405da update TODO 2022-08-08 13:50:20 +02:00
Lennart Poettering dec6f61928 update TODO 2022-08-02 20:01:59 +02:00
Luca Boccassi 675a644de2
Merge pull request #24146 from poettering/efi-stub-measure-payload
stub: measure kernel/initrd/parameters into clean PCRs 11/12/13, and add "systemd-measure" tool to be able to pre-calculate values
2022-08-02 14:42:33 +01:00
Lennart Poettering 7f8258b4a3 update TODO 2022-08-02 14:01:37 +02:00
Lennart Poettering c0a74f6286 update TODO 2022-08-02 10:29:04 +02:00
Lennart Poettering c794e280e9 update TODO 2022-08-02 10:28:15 +02:00
Lennart Poettering 5b6e5d57d0 update TODO 2022-07-28 11:25:26 +02:00
Lennart Poettering 5a20b1aacb update TODO
(this basically just copies a coment from src/boot/efi/measure.h into
the TODO)
2022-07-26 20:47:41 +02:00
Lennart Poettering 1160267a98 update TODO 2022-07-25 16:08:10 +02:00
Lennart Poettering 9eb41aab8c update TODO 2022-07-25 15:01:37 +02:00
Lennart Poettering 812a873123 update TODO 2022-07-25 14:59:35 +02:00
Lennart Poettering 3345802cd7 TODO: add new 'deprecations and removals' section 2022-07-25 14:55:48 +02:00
Zbigniew Jędrzejewski-Szmek 45bcfcb36c units/initrd-parse-etc.service: only start units that are required
This makes use of the option switch that was added in the previous commit.
We used a pretty big hammer on a relatively small nail: we would do daemon-reload
and (in principle) allow any configuration to be changed. But in fact we only
made use of this in systemd-fstab-generator. systemd-fstab-generator filters
out all mountpoints except /usr and those marked with x-initrd.mount, i.e. on
a big majority of systems it wouldn't do anything.

Also, since systemd-fstab-generator first parses /proc/cmdline, and then
initrd's /etc/fstab, and only then /sysroot/etc/fstab, configuration in the
host would only matter if it the same mountpoint wasn't configured "earlier".
So the config in the host could be used for new mountpoints, but it couldn't
be used to amend configuration for existing mountpoints. And we wouldn't actually
remount anything, so mountpoints that were already mounted wouldn't be affected,
even if did change some config.

In the new scheme, we will parse /sysroot/etc/fstab and explicitly start
sysroot-usr.mount and other units that we just wrote. In most cases (as written
above), this will actually result in no units being created or started.

If the generator is invoked on a system with /sysroot/etc/fstab present,
behaviour is not changed and we'll create units as before. This is needed so
that if daemon-reload is later at some points, we don't "lose" those units.

There's a minor bugfix here: we honour x-initrd.mount for swaps, but we
wouldn't restart swap.target, i.e. the new swaps wouldn't necessarilly be
pulled in immediately.
2022-07-23 19:02:39 +02:00
Lennart Poettering b98445cd7c TODO/NEWS: write down that we intend to remove cgroupsv1 support by EOY 2023
After discussions here:

https://lists.freedesktop.org/archives/systemd-devel/2022-July/thread.html

EOY 2023 is apparently what people can agree with, hence let formalize
this in the TODO list, so we don't forget.
2022-07-22 19:59:36 +01:00
Yu Watanabe e1b45a756f tree-wide: fix typo 2022-07-20 13:15:37 +09:00
Lennart Poettering 9f3a3ac70f update TODO 2022-07-19 22:33:13 +02:00
Lennart Poettering 9fbb7df7bc
Merge pull request #24011 from poettering/condition-cred
pid1: add new condition type "ConditionCredential=" for checking for credentials passed into the system
2022-07-15 15:03:49 +02:00
Lennart Poettering b89cfe8a60 update TODO 2022-07-15 11:46:20 +02:00
Lennart Poettering 2c7b8f3dd5 update TODO 2022-07-15 10:53:45 +02:00
Lennart Poettering 2a8e474d95 update TODO 2022-07-15 08:31:34 +09:00
Yu Watanabe 08894b568f
Merge pull request #24021 from poettering/man-rlimit-comments
man: elaborate on the usefulness (and not-so-usefulness) of various process resource limits
2022-07-15 08:28:53 +09:00
Lennart Poettering c043291774 update TODO 2022-07-15 00:15:59 +02:00
Lennart Poettering 52cd58b878 update TODO 2022-07-15 00:02:22 +02:00
Lennart Poettering 5ea8fa1db3 update TODO 2022-07-14 23:58:51 +02:00
Lennart Poettering bbe29ca29b update TODO 2022-07-14 17:11:43 +02:00
Lennart Poettering 0fde330d66 update TODO 2022-07-14 14:45:56 +02:00
Lennart Poettering 1aad75efdf update TODO 2022-07-14 14:41:43 +02:00
Lennart Poettering 8c77652334 update TODO 2022-07-14 14:04:36 +02:00
Lennart Poettering f95db4d6fa update TODO 2022-07-14 10:24:08 +02:00
Lennart Poettering 81a965187d update TODO 2022-07-11 17:37:41 +02:00
Lennart Poettering 9c18b36372 update TODO 2022-07-11 15:11:58 +02:00
Luca Boccassi 89f119b654
Merge pull request #23731 from bluca/bootctl_image
bootctl: add --root and --image
2022-07-08 21:59:16 +01:00
Luca Boccassi d5bf74f9e2 Update TODO 2022-07-08 16:59:51 +01:00
Lennart Poettering b467422bd2 update TODO 2022-07-08 11:19:39 +02:00
Yu Watanabe 47b86590af TODO: fix typo 2022-07-07 09:31:43 +09:00
Lennart Poettering 2df264e60c update TODO 2022-07-06 13:13:03 +02:00
Zbigniew Jędrzejewski-Szmek b8df7f8629 user: delegate cpu controller, assign weights to user slices
So far we didn't enable the cpu controller because of overhead of the
accounting. If I'm reading things correctly, delegation was enabled for a while
for the units with user and pam context set, i.e. for user@.service too.
a931ad47a8 added the explicit Delegate=yes|no
switch, but it was initially set to 'yes'.
acc8059129 disabled delegation for user@.service
with the justication that CPU accounting is expensive, but half a year later
a88c5b8ac4 changed DefaultCPUAccounting=yes for
kernels >=4.15 with the justification that CPU accounting is inexpensive there.

In my (very noncomprehensive) testing, I don't see a measurable overhead if the
cpu controller is enabled for user slices. I tried some repeated compilations,
and there is was no statistical difference, but the noise level was fairly
high. Maybe better benchmarking would reveal a difference.

The goal of this change is very simple: currently all of the user session,
including services like the display server and pipewire are under user@.service.
This means that when e.g. a compilation job is started in the session's
app.slice, the processes in session.slice compete for CPU and can be starved.
In particular, audio starts to stutter, etc. With CPU controller enabled,
I can start start 'ninja -C build -j40' in a tab and this doesn't have any
noticable effect on audio.

I don't think the particular values matter too much: the CPU controller is
work-convserving, and presumably the session slice would never need more than
e.g. one 1 full CPU, i.e. half or a quarter of available CPU resources on even
the smallest of today's machines. app.slice and session.slice are assigned
equal weights, background.slice is assigned a smaller fraction. CPUWeight=100
is the default, but I wrote it explicitly to make it easier for users to see
how the split is done. So effectively this should result in session.slice
getting as much power as it needs.

If if turns out that this does have a noticable overhead, we could make it
opt-in. But I think that the benefit to usability is important enough to enable
it by default. W/o something like this the session is not really usable with
background tasks.
2022-07-05 14:40:01 +02:00
Lennart Poettering d486b26fe3 update TODO 2022-07-05 14:22:03 +02:00
Michael Biebl 41d6f3bf4d Use https for freedesktop.org
grep -l -r http:// | xargs sed -E -i s'#http://(.*).freedesktop.org#https://\1.freedesktop.org#'
2022-06-28 13:10:05 +02:00
Yu Watanabe 0dd4876815 sd-bus: drop D-Bus version 2 format support
It seems the format is used only by kdbus.
2022-06-01 03:41:15 +09:00
Zbigniew Jędrzejewski-Szmek 3844a42138 TODO: drop entry
Implemented in 14e6e444dd.
2022-05-26 14:29:50 +02:00
Luca Boccassi 051c4e5419
Merge pull request #23342 from poettering/efi-monotonic-counter-random-seed
sd-boot: include GetNextMonotonicCount() in random seed calculations
2022-05-21 15:08:21 +01:00
Luca Boccassi 070f737083 Update TODO 2022-05-17 17:47:38 +01:00
Yu Watanabe 3881fd406b tree-wide: fix typo 2022-05-14 04:58:47 +09:00
Lennart Poettering 027301b434 update TODO 2022-05-13 17:29:15 +02:00
Luca Boccassi 1f066ce255 Update TODO 2022-05-11 14:51:37 +01:00
Lennart Poettering 32f3e21853 update TODO 2022-05-11 11:05:46 +02:00
Lennart Poettering 3a466defd4 update TODO 2022-05-09 12:17:08 +02:00
Yu Watanabe af2ff171e0
Merge pull request #23272 from keszybz/logind-man-and-rules
Logind man and rules
2022-05-07 04:23:02 +09:00
Zbigniew Jędrzejewski-Szmek 155078c835 meson: move udev rules to rules.d/ 2022-05-05 11:51:44 +02:00
Zbigniew Jędrzejewski-Szmek 4a5f779f0e TODO: add entry about boot entries on the bus
Something like this is needed to allow integration with graphical envs and
fully unprivileged operation.
2022-05-05 11:51:44 +02:00
Lennart Poettering a8796773b0 update TODO 2022-05-05 10:55:18 +02:00
Lennart Poettering fd74ed23c7 update TODO 2022-05-02 16:41:52 +02:00
Lennart Poettering 41be3b099f
Merge pull request #23170 from poettering/creds-copy
import system credentials from sd-stub + qemu fw_cfg + kernel cmdline explicitly in PID 1
2022-05-02 16:32:21 +02:00
Lennart Poettering cfa7d57ba1
Merge pull request #23217 from keszybz/oomd-docs
More cross-references in bootctl/systemctl man pages
2022-04-28 22:30:50 +02:00
Lennart Poettering de62df8103 update TODO 2022-04-28 18:12:00 +02:00
Zbigniew Jędrzejewski-Szmek 483091b0f1 TODO: more entries for bootctl
https://bugzilla.redhat.com/show_bug.cgi?id=2079784#c9
2022-04-28 17:45:44 +02:00
Lennart Poettering 98045d12f6 update TODO 2022-04-28 17:16:33 +02:00
Zbigniew Jędrzejewski-Szmek 76c068b77c man: cross-advertize bootctl and systemctl boot loader support 2022-04-28 16:44:40 +02:00
Yu Watanabe 8ac6b05b7c tree-wide: Fix typo 2022-04-25 10:06:08 +09:00
Lennart Poettering 0b3a64fed9 update TODO 2022-04-22 15:56:33 +02:00
Lennart Poettering 127927b2c2 update TODO 2022-04-22 10:56:47 +02:00
Lennart Poettering 55fc776bbc update TODO 2022-04-20 23:20:08 +02:00
Lennart Poettering fe43a638c5 update TODO 2022-04-20 17:49:17 +02:00
Lennart Poettering 47a9f91760 update TODO 2022-04-20 15:45:10 +02:00
Lennart Poettering 8b82513375 update TODO 2022-04-20 14:49:53 +02:00
Lennart Poettering e4b5226d63 update TODO 2022-04-19 12:44:45 +02:00
Lennart Poettering 256cfb71ae update TODO 2022-04-14 18:38:10 +02:00
Lennart Poettering 9c9c87ac97 update TODO 2022-04-14 15:15:19 +02:00
Lennart Poettering 2f048ad0fe update TODO 2022-04-13 14:41:05 +02:00
Lennart Poettering cfb5bf23d3 update TODO 2022-04-13 10:44:56 +02:00
Yu Watanabe 29d902f03a
Merge pull request #22992 from poettering/loop-dissect-tweaks
loop-util/image dissect fixes
2022-04-11 23:08:46 +09:00
Yu Watanabe 3a258d3a47 fix typo 2022-04-11 00:13:16 +09:00
Lennart Poettering 7cad78c0bc update TODO 2022-04-10 22:52:29 +09:00
Lennart Poettering 11b957b59b update TODO 2022-04-08 22:23:35 +02:00
Lennart Poettering 6247128902 update TODO 2022-04-08 18:59:47 +02:00
Lennart Poettering 5b06ad5132 update TODO 2022-04-08 18:41:51 +02:00
Lennart Poettering 2df2bb1ff4 update TODO 2022-04-08 18:20:22 +02:00
Lennart Poettering 5645b4976e update TODO 2022-04-06 18:37:51 +02:00
Lennart Poettering c0da575a0e update TODO 2022-04-05 14:36:00 +02:00
Lennart Poettering 197be5324e fix TODO 2022-04-05 14:02:36 +02:00
Lennart Poettering 598e431500 update TODO 2022-04-05 13:59:39 +02:00
Lennart Poettering 3e3c49cbe7 update TODO 2022-04-05 10:44:52 +02:00
Lennart Poettering 2cf120f7cf update TODO 2022-04-05 10:44:04 +02:00
Lennart Poettering 666efe94c9 TODO 2022-04-04 16:07:26 +02:00
Lennart Poettering e4f92a62a8 update TODO 2022-04-04 13:14:42 +02:00
Yu Watanabe b17a681be5 tree-wide: fix typo 2022-04-02 00:34:39 +09:00
Lennart Poettering 49888d31b6 update TODO 2022-04-01 11:21:44 +02:00
Lennart Poettering 5b89bff55f update TODO 2022-04-01 11:03:59 +02:00
Lennart Poettering 9e83d3e45f update TODO 2022-03-31 14:39:55 +02:00
Lennart Poettering d360eafb36 update TODO 2022-03-30 16:13:41 +02:00
Yu Watanabe 288bd40620 fix typo 2022-03-29 01:21:51 +09:00
Lennart Poettering dca92ca300 update TODO 2022-03-24 09:44:52 +01:00
Lennart Poettering f1a147f2be update TODO 2022-03-23 12:29:20 +01:00
Lennart Poettering f5d0f21c37 update TODO 2022-03-21 18:17:04 +01:00
Lennart Poettering 178d3ff2aa update TODO 2022-03-19 00:14:55 +01:00
Lennart Poettering f620a36865 update TODO 2022-03-18 11:59:30 +01:00
Lennart Poettering 63a185dc72 update TODO 2022-03-17 16:24:31 +01:00
Lennart Poettering 45cab6e3c1 update TODO 2022-03-16 11:33:27 +01:00
Lennart Poettering a5a316e7a7 update TODO 2022-03-09 14:25:43 +01:00
Lennart Poettering a57d72ceb4 TODO 2022-02-16 13:30:20 +01:00
Lennart Poettering 4cddc18d0a update TODO 2022-02-14 15:44:07 +01:00
Lennart Poettering 594f64f466 update TODO 2022-01-31 18:14:34 +01:00
Zbigniew Jędrzejewski-Szmek 931bc1957b docs: use https:// for fd.o links 2022-01-12 16:05:59 +01:00
Albert Brox 3989bdc1ad core: teach LoadCredential= to load from a directory 2022-01-08 13:17:51 +00:00
Pigmy-penguin cd933f14bd
userdbctl: fix "Password OK" shown even when password is empty or locked (#21308)
userdbctl: fix "Password OK" shown even when password is empty or locked
2022-01-06 16:01:38 +00:00
Zbigniew Jędrzejewski-Szmek 939387bdc6
Merge pull request #21170 from keszybz/delibgcryptify
Allow systemd-resolved and systemd-importd to use libgcrypt or libopenssl
2021-12-03 13:44:53 +01:00
Zbigniew Jędrzejewski-Szmek 7e8facb36b port string_hashsum from libgcrypt to openssl^gcrypt
This allows resolved and importd to be built without libgcrypt.

Note that we now say either 'cryptographic library' or 'cryptolib'.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
2021-12-01 12:36:57 +01:00
Zbigniew Jędrzejewski-Szmek 6214d42bd2 import: port importd from libgcrypt to openssl^gcrypt
This is heavily based on Kevin Kuehler's work, but the logic is also
significantly changed: instead of a straighforward port to openssl, both
versions of the code are kept, and at compile time we pick one or the other.

The code is purposefully kept "dumb" — the idea is that the libgcrypt codepaths
are only temporary and will be removed after everybody upgrades to openssl 3.
Thus, a separate abstraction layer is not introduced. Instead, very simple
ifdefs are used to select one or the other. If we added an abstraction layer,
we'd have to remove it again afterwards, and it don't think it makes sense to
do that for a temporary solution.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

# Conflicts:
#	meson.build
2021-11-30 23:00:21 +01:00
Luca Boccassi d2d8bd3a17 TODO: update dlopen todo list 2021-11-30 16:49:59 +00:00
Lennart Poettering e6f48be8d4 update TODO 2021-11-26 15:18:59 +01:00
Lennart Poettering f08e143c01 update TODO 2021-11-26 14:49:25 +01:00
Lennart Poettering 6d975fe7b3 update TODO 2021-11-25 18:28:44 +01:00
Lennart Poettering f5ba8115e0 update TODO 2021-11-23 22:55:49 +01:00
Lennart Poettering 1ccfb792e4 update TODO 2021-11-19 15:40:08 +01:00
Lennart Poettering e0c311b1aa update TODO 2021-11-12 22:45:03 +01:00
Lennart Poettering af11e0ef84 update TODO 2021-11-11 18:38:26 +01:00
Lennart Poettering cc4cbe49ce update TODO 2021-10-28 08:17:46 +02:00
Lennart Poettering bb5464ad20 update TODO 2021-10-26 15:40:25 +02:00
Luca Boccassi 6dbfbc4667 TODO: add note about chase_symlink flag 2021-10-24 17:00:49 +01:00
Lennart Poettering a07ab1dd8c update TODO 2021-10-22 19:20:13 +02:00
Lennart Poettering a5bf435ed7 update TODO 2021-10-22 17:57:13 +02:00
Lennart Poettering c4fb47365c update TODO 2021-10-11 16:00:34 +02:00
Yu Watanabe b00756030b
Merge pull request #20969 from poettering/cryptenroll-no-homed
cryptenroll: politely refuse enrolling keys into homed volumes
2021-10-10 16:00:07 +09:00
Lennart Poettering de4a575e41 update TODO 2021-10-08 23:50:04 +02:00
Luca Boccassi 1fc8d0c9dd basic: remove khash helpers
No longer used anywhere. So long, and thanks for all the hashes!
2021-10-08 13:11:00 +01:00
Lennart Poettering 7cfe9ec983
Merge pull request #20910 from poettering/nftw-no-more
basic: add recurse_dir() function as modern replacement for nftw()
2021-10-07 22:12:41 +02:00
Lennart Poettering da3ab57cbc update TODO 2021-10-07 15:43:24 +02:00
Lennart Poettering f04d0575c9 update TODO 2021-10-07 11:59:23 +02:00
Lennart Poettering 636c8a1f55 update TODO 2021-09-28 17:06:51 +02:00
Lennart Poettering 3fc0688d42 update TODO 2021-09-23 17:07:25 +02:00
Lennart Poettering f4529c4d97 update TODO 2021-09-13 15:02:57 +02:00
Lennart Poettering 322b3b38a8 update TODO 2021-08-31 17:11:10 +02:00
Lennart Poettering 9c53de8bc5 update TODO 2021-08-28 07:15:12 +02:00