Commit graph

2792 commits

Author SHA1 Message Date
Lennart Poettering 10e3f15ac1 update TODO 2024-02-16 10:17:57 +01:00
Lennart Poettering 1c5d03c088 update TODO 2024-02-14 15:10:39 +01:00
Lennart Poettering a050dc507c update TODO 2024-02-14 10:56:35 +01:00
Lennart Poettering c9cdbaed17
Merge pull request #30380 from keszybz/tmpfiles-dry-run
Make tmpfiles/sysusers nicer with local files and implement tmpfiles --dry-run
2024-02-13 09:45:50 +01:00
Lennart Poettering 10048b2e20 update TODO 2024-02-13 09:17:43 +01:00
Zbigniew Jędrzejewski-Szmek 2479f0bb09 TODO: add --dry-run/-n 2024-02-12 13:34:39 +01:00
Zbigniew Jędrzejewski-Szmek 9e90d4f42e tmpfiles: implement --dry-run
The idea is simple: skip the final operation that creates or removes things
or changes the attributes, but otherwise go through the rest of the code.
This results in quite a lot of fairly repetitive conditions in the low-level
code. Another approach would be to print earlier, at a higher level, but then
we'd have less precise information about what is about to happen.
2024-02-12 13:33:30 +01:00
Lennart Poettering e0abffe600 update TODO 2024-02-12 12:04:18 +01:00
Zbigniew Jędrzejewski-Szmek b1935cc943 tmpfiles: use dir_cleanup() for R and D
... i.e. apply nested config (exclusions and such) when executing R and D.

This fixes a long-standing RFE. The existing logic seems to have been an
accident of implementation. After all, if somebody specifies a config with
'R /foo; x /tmp/bar', then probably the goal is to remove stuff from under /foo,
but keep /tmp/bar. If they just wanted to nuke everything, then would not specify
the second item.

This also makes R and D use O_NOATIME, i.e. the access times of the directories
that are accessed will not be changed by the cleanup.

Obviously, we'll have to add this to NEWS and such.
Looking at the whole tmpfiles.d config in Fedora, this change has no effect.

The test cases are adjusted as appropriate. I also added another test case for
'R'/'D' with a file, just to test this code path more.

Replaces #20641.
Fixes #1633.
2024-02-09 17:57:42 +01:00
Luca Boccassi 76e00ba2e5 TODO: drop clone3 item 2024-02-05 21:52:36 +00:00
Yu Watanabe 3600b0f401 TODO: fix typo
Follow-up for fd40e7da6e.
2024-02-02 09:07:31 +09:00
Lennart Poettering f277d99c30 update TODO 2024-01-31 10:11:00 +01:00
Lennart Poettering fd40e7da6e update TODO 2024-01-30 17:07:47 +01:00
Lennart Poettering c496e5f67f update TODO 2024-01-29 14:43:22 +01:00
Lennart Poettering 00f329f4b0 update TODO 2024-01-26 21:42:39 +01:00
Lennart Poettering 9af6ab4499 update TODO 2024-01-25 16:11:33 +01:00
Lennart Poettering 776c2b8e72 update TODO 2024-01-11 22:44:13 +01:00
Lennart Poettering 9a1dc7549f update TODO 2024-01-11 16:18:26 +01:00
Yu Watanabe eabc38daa8 TODO: drop implemented feature 2024-01-10 04:33:55 +09:00
Lennart Poettering bf543ba624 update TODO 2024-01-09 12:34:33 +01:00
Mike Yuan f277e5f607
TODO: drop some implemented entries 2024-01-07 01:46:35 +08:00
Lennart Poettering 995389aac6 update TODO 2024-01-05 11:09:23 +01:00
Yu Watanabe 56a89426f6 TODO: fix typo
Follow-up for 97c493f214.
2024-01-05 19:08:12 +09:00
Lennart Poettering c16167ea10 update TODO 2024-01-04 15:32:14 +01:00
Lennart Poettering 97c493f214 update TODO 2024-01-03 19:01:37 +01:00
Lennart Poettering 7bf4b5605e update TODO 2024-01-03 13:50:06 +01:00
Yu Watanabe bdc79e5fcd TODO: fix typo 2023-12-23 04:49:26 +09:00
Lennart Poettering 73d8041c9a update TODO 2023-12-21 19:15:01 +01:00
Lennart Poettering 803b2a51fb update TODO 2023-12-18 16:34:15 +01:00
Lennart Poettering dadc06bc6c
Merge pull request #30150 from poettering/homectl-interactive
add "homectl firstboot" verb, that runs at first boot and can create a user, interactively or from creds
2023-12-18 15:11:23 +01:00
Lennart Poettering 360b9db31d 64bit mount id 2023-12-18 14:56:45 +01:00
Lennart Poettering 604cfd1e4a update TODO 2023-12-18 11:11:17 +01:00
Lennart Poettering 1fdab6c306 update TODO 2023-12-13 18:04:55 +01:00
Zbigniew Jędrzejewski-Szmek d1f9a39ef4
Merge pull request #29853 from YHNdnzj/sleep-automated
logind: support Sleep() that automatically choose a sleep operation
2023-12-06 22:25:13 +01:00
Lennart Poettering 7e3607996a userdbctl: enable ssh-authorized-keys logic by default
sshd now supports config file drop-ins, hence let's install one to hook
up "userdb ssh-authorized-keys", so that things just work.

We put the drop-in relatively early, so that other drop-ins generally
will override this.

Ideally sshd would support such drop-ins in /usr/ rather than /etc/, but
let's take what we can get. It's not that sshd's upstream was
particularly open to weird ideas from Linux people.
2023-12-06 22:11:04 +01:00
Mike Yuan cd4dd90b99
logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
Luca Boccassi 762ef04f55 Update TODO 2023-11-29 11:04:59 +00:00
Lennart Poettering ed272a9ff5 update TODO 2023-11-24 15:17:46 +01:00
Lennart Poettering 9b85e90780 fs-util: add comment explaining what xopenat() is for 2023-11-23 02:29:37 +09:00
Lennart Poettering 097445d0e4 update TODO 2023-11-22 11:00:30 +01:00
Lennart Poettering dc78603a58 TODO: register more mime types 2023-11-21 13:12:50 +01:00
Luca Boccassi 905dd9d6e6
Merge pull request #30055 from YHNdnzj/logind-handle-action
logind-action: several cleanups
2023-11-16 16:04:37 +00:00
Lennart Poettering face0d0efa update TODO 2023-11-16 13:46:55 +01:00
Lennart Poettering 3c28ebace0 update TODO 2023-11-16 13:34:25 +01:00
Mike Yuan 15b5bb6262
TODO: remove an already implemented entry
Follow-up for #23640
2023-11-16 17:49:32 +08:00
Lennart Poettering 95d548026f storagetm: show connection data also via plymouth
Pretty!
2023-11-13 15:45:16 +01:00
Yu Watanabe 620788da17 TODO: fix typo 2023-11-11 17:58:14 +09:00
Lennart Poettering f3066d635a update TODO 2023-11-10 18:55:22 +01:00
Lennart Poettering 869996dd89 update TODO 2023-11-09 12:28:37 +01:00
Lennart Poettering 9f97ca70dd update TODO 2023-11-08 18:18:07 +01:00
Lennart Poettering cff559ec3a update TODO 2023-11-08 14:28:10 +01:00
Lennart Poettering a6906aa579 update TODO 2023-11-07 16:08:06 +01:00
Diego Viola b3e199cec8 TODO: fix more typos 2023-11-07 10:49:58 +01:00
Diego Viola 3a9e659a0e TODO: fix typos 2023-11-07 17:26:31 +09:00
Lennart Poettering 4685947138 update TODO 2023-11-06 17:42:28 +01:00
Luca Boccassi 8d04721507
Merge pull request #28891 from poettering/pcrlock
new pcrlock tool for generating signed PCR policies for PCR 0, 1, 4, …
2023-11-03 16:07:43 +00:00
Yu Watanabe b75b8e1d02
Merge pull request #29836 from poettering/libiptc-dlopen
make libiptc dep a dlopen() one
2023-11-03 21:15:29 +09:00
Lennart Poettering 2259a452d7 update TODO 2023-11-03 12:14:38 +01:00
Lennart Poettering e43f87a7a6 update TODO 2023-11-03 11:25:20 +01:00
Lennart Poettering 11d5043993 update TODO 2023-11-03 09:34:02 +01:00
Lennart Poettering d2c5b50ae3 update TODO 2023-11-02 14:19:32 +01:00
Lennart Poettering 1fdc5008ab update TODO 2023-10-31 11:03:53 +01:00
Lennart Poettering 779a1837e5 update TODO 2023-10-30 18:57:41 +01:00
Lennart Poettering 8955e48fcb Update TODO 2023-10-30 12:29:16 +01:00
Lennart Poettering 02484f20a2 update TODO 2023-10-30 10:51:35 +01:00
Lennart Poettering 8f21b3b21b update TODO 2023-10-24 23:18:51 +02:00
Luca Boccassi 8c08523736 Update TODO 2023-10-19 16:31:05 +01:00
Lennart Poettering 1158b06b47 update TODO 2023-10-18 14:49:40 +02:00
Lennart Poettering e0eb051f95
Merge pull request #29546 from poettering/run-invoc-id
run: output invocation ID when starting service and scope units
2023-10-16 19:00:18 +02:00
Lennart Poettering 4d4c4ae9cb update TODO 2023-10-16 14:30:11 +02:00
Lennart Poettering dbf9e04591 update TODO 2023-10-16 12:08:40 +02:00
Lennart Poettering 0e9f229769 update TODO 2023-10-14 00:01:59 +02:00
Lennart Poettering 97046f2fc0 update TODO 2023-10-12 12:34:10 +02:00
Lennart Poettering 9f3ed6fd19 update TODO 2023-10-11 18:20:16 +02:00
Luca Boccassi 375991c0b5 Update TODO 2023-10-09 22:22:09 +01:00
Lennart Poettering 3d1831b94b update TODO 2023-10-06 11:49:38 +02:00
Lennart Poettering ed287b87d2 update TODO 2023-10-05 17:11:03 +02:00
Lennart Poettering c6711da087
Merge pull request #29454 from poettering/cg-pidref-get-path
cgroup-util: add cg_pidref_get_path() helper and use it
2023-10-05 15:44:25 +02:00
Lennart Poettering 1523d91939 update TODO 2023-10-05 13:28:01 +02:00
Lennart Poettering 68d0adea4f update TODO 2023-10-05 12:57:49 +02:00
Yu Watanabe fcdd21ec6a tree-wide: fix typo 2023-10-04 08:58:10 +09:00
Lennart Poettering 1a9454a942 update TODO 2023-09-29 19:36:06 +02:00
Lennart Poettering d94dc50c46 update TODO 2023-09-28 23:22:58 +02:00
Lennart Poettering 69feab97f9 update TODO 2023-09-28 13:22:45 +02:00
Lennart Poettering b28bd48238 update TODO 2023-09-27 19:08:56 +02:00
Lennart Poettering 174e8e9897
Merge pull request #29345 from poettering/measured-uki-condition
pid1: introduce ConditionSecurity=measured-uki
2023-09-27 16:39:46 +02:00
Luca Boccassi 578840bdf9
Merge pull request #29296 from keszybz/make-cryptsetup-offical-and-add-docs
Make cryptsetup offical and add docs
2023-09-27 13:31:11 +01:00
Lennart Poettering d81bd3a22a update TODO 2023-09-27 12:17:18 +02:00
Zbigniew Jędrzejewski-Szmek 12c346d8e8 man/crypttab: do not recommend using /dev/sdX symlinks in /etc/crypttab
This is just wrong. Quering the symlink names with udevadm is not the
easiest, but I think that's the safest way for a documented example.
2023-09-26 15:35:06 +02:00
Lennart Poettering 32295fa08f pcrphase: rename binary to pcrextend
The tool initially just measured the boot phase, but was subsequently
extended to measure file system and machine IDs, too. At AllSystemsGo
there were request to add more, and make the tool generically
accessible.

Hence, let's rename the binary (but not the pcrphase services), to make
clear the tool is not just measureing the boot phase, but a lot of other
things too.

The tool is located in /usr/lib/ and still relatively new, hence let's
just rename the binary and be done with it, while keeping the unit names
stable.

While we are at it, also move the tool out of src/boot/ and into its own
src/pcrextend/ dir, since it's not really doing boot related stuff
anymore.
2023-09-25 17:17:20 +02:00
Lennart Poettering 02c9d62b30 update TODO 2023-09-25 12:23:29 +02:00
Joerg Behrmann 7227dd816f treewide: fix typos
- mostly: usecase -> use case
- continously -> continuously
- single typos in docs/FILE_DESCRIPTOR_STORE.md
2023-09-19 10:05:38 +02:00
Lennart Poettering 90eabfe6d1 update TODO 2023-09-19 09:47:40 +02:00
Lennart Poettering 4775b55db0 core: port unit_fork_helper_process() and unit_fork_and_watch_rm_rf() to PidRef 2023-09-18 19:08:09 +02:00
Lennart Poettering 37eb258e91 core: port unit_main_pid() + unit_control_pid() to PidRef and drop unit_kill_common()
This ports over unit_main_pid() + unit_control_pid() to return PidRef*
pointers (which also means the underlying UnitVTable function pointers
are changed accordingly).

This then uses te functions to simplify the unit_kill() call, by
avoiding the kill() vtable indirection and instead just suing
unit_main_pid() and unit_control_pid() directly.
2023-09-18 19:08:09 +02:00
Lennart Poettering 7901288ab1 core: port over unit_kill_context() to PidRef 2023-09-18 19:08:09 +02:00
Lennart Poettering b1f6901d30 core: port service_set_main_pid() to PidRef 2023-09-18 19:08:09 +02:00
Lennart Poettering 8b9c3af043 update TODO 2023-09-18 16:21:13 +02:00
Lennart Poettering 8f533730f4 update TODO 2023-09-18 09:59:12 +02:00
Lennart Poettering a1f7cdc636 update TODO 2023-09-09 14:11:10 +02:00