Commit Graph
2946 Commits
Author SHA1 Message Date
Mike Yuan 5b8bcbcf00 core: accept "|" ExecStart= prefix to spawn target user's shell
When switching to another user it's oftentimes desirable to also spawn
the target user's shell. sudo supports this via -i flag, run0 currently
doesn't. We don't want to proactively query NSS ourselves, since
that would fall short when operating remotely. Let's instead teach
the service manager to spawn the command using the user's default shell.

I opted for "|" instead of "." in the end because the latter seems
a bit obscure. But happy to change it to something else if a better option
comes up.
2025-05-07 18:32:19 +02:00
Daan De Meyer 1fbfbe81b5 tree-wide: Get rid of prefix_roota() in favor of path_join()
We deprecated prefix_roota() in favor of chase() and path_join().
Let's finish the removal by replacing the few remaining call sites
with path_join().
2025-05-06 17:40:33 +02:00
Lennart Poettering 82da05e7ef TODO 2025-04-30 10:34:44 +02:00
Michal Koutný 3a4aa7f5b2 update TODO 2025-04-25 06:14:42 +09:00
Lennart Poettering 5d919d8785 update TODO 2025-04-22 18:56:01 +02:00
Daan De Meyer 3bb398c299 resolve,import: always use openssl (#36937) 2025-04-18 15:30:33 +02:00
Lennart Poettering 3d3d8f1dd2 update TODO 2025-04-16 10:48:31 +02:00
Luca Boccassi 9f091f098a TODO: drop getenv item, done where needed 2025-04-12 11:49:00 +01:00
Yu Watanabe 7de438cdb5 NEWS,TODO: fix typo 2025-04-07 16:54:05 +09:00
Lennart Poettering 50270ecee3 update TODO 2025-04-03 11:08:57 +02:00
Lennart Poettering 737bf89cca journald: document Varlink interface 2025-04-02 17:32:05 +02:00
Yu Watanabe b1c3f57e76 resolve: always use openssl as backend of DNS-over-TLS
This drops support for dns-over-tls=gnutls meson option.
2025-04-02 05:20:40 +09:00
Lennart Poettering 681e7c6759 update TODO 2025-03-31 15:14:56 +02:00
Daan De Meyer 95f94bc804 Update TODO 2025-03-18 22:46:10 +01:00
Lennart Poettering bc78fc4de3 update TODO 2025-03-18 18:12:48 +01:00
Lennart Poettering 7b0c843b87 TODO 2025-03-18 11:48:37 +01:00
Lennart Poettering 8d3acc8387 update TODO 2025-03-18 10:45:32 +01:00
Lennart Poettering 2f3314bce6 update TODO 2025-03-17 21:39:06 +01:00
Lennart Poettering 76f1c94674 update TODO 2025-03-13 10:35:24 +01:00
Lennart Poettering ceaf0bda47 update TODO 2025-03-13 09:55:59 +01:00
Lennart Poettering d77bf27c80 update TODO 2025-03-12 13:35:20 +01:00
Lennart Poettering 36f529fd2d update TODO 2025-03-12 13:30:30 +01:00
Yu Watanabe ced634a62d resolve question marks in /etc/hostname to characters hashed from machine ID (#36647)
So I have a bunch of particle os instances around, that I frequently
factory reset. and it's confusing, since they all have the same name.
Let's do something about this, and extend the hostname setup logic a bit
to deal better with "cattle" rather than "pet" deployments.
Specifically: if a hostname in /etc/hostname contains a bunch of
question marks we'll replace it with hex chars hashed from the machine
id.

This allows us to do something like this:

hostnamectl set-hostname --static 'funky-????-????-???'

and we'll end up with a hostname like `funky-baf4-b653-e230`
2025-03-12 04:50:33 +09:00
Lennart Poettering 5721b9bc46 update TODO 2025-03-11 18:20:31 +01:00
Lennart Poettering 16771b505e update TODO 2025-03-11 18:19:24 +01:00
Lennart Poettering 06967d4049 update TODO 2025-03-11 18:01:42 +01:00
Lennart Poettering 338553715b update TODO 2025-03-11 17:19:32 +01:00
Lennart Poettering f8a09ace1d core/service: introduce sd_notify() RESTART_RESET=1 for resetting restart counter (#36698) 2025-03-11 12:03:12 +01:00
Lennart Poettering a0d8484eeb update TODO 2025-03-11 10:48:40 +01:00
Mike Yuan c139ac7f53 TODO: support RESTART_RESET=1 in journal-upload 2025-03-11 00:44:44 +01:00
Lennart Poettering 1ec2d28b6f update TODO 2025-03-07 18:15:13 +01:00
Lennart Poettering f63a4ef4a0 update TODO 2025-03-07 14:59:29 +01:00
Lennart Poettering 4d44670dc6 update TODO 2025-03-06 23:11:20 +01:00
Lennart Poettering 457f4cfbba update TODO 2025-03-06 22:32:30 +01:00
Lennart Poettering c65f40b1a1 update TODO 2025-03-06 11:30:06 +01:00
Lennart Poettering c22948f6c2 factory-reset: rework infrastructure, make it work with gpt-auto, and add support for resetting TPM as part of factory reset (#36512) 2025-03-05 15:25:36 +01:00
Yu Watanabe 7ae2ea52ac TODO: fix typo
Follow-up for 31ec0d8a2e.
2025-03-05 23:17:36 +09:00
Lennart Poettering 0f2425b2fc update TODO 2025-03-05 12:38:46 +01:00
Lennart Poettering 9e050b0458 repart: port to new factory reset state apis 2025-03-05 12:37:24 +01:00
Lennart Poettering 31ec0d8a2e update TODO 2025-03-05 11:40:46 +01:00
Daan De Meyer d9c7d47f99 Update TODO 2025-02-27 14:55:00 +01:00
Lennart Poettering 4ec864162d update TODO 2025-02-26 22:07:05 +01:00
Lennart Poettering b7908e1cb7 update TODO 2025-02-25 14:32:23 +01:00
Lennart Poettering 898944a51a update TODO 2025-02-21 10:04:15 +01:00
Lennart Poettering a971e6603f update TODO 2025-02-20 15:24:19 +01:00
Lennart Poettering 52cd94b9e4 update TODO 2025-02-19 16:08:39 +01:00
Lennart Poettering 47cb765b86 update TODO 2025-02-18 22:33:23 +01:00
Lennart Poettering 89b3d1fafb update TODO 2025-02-18 09:16:57 +01:00
Lennart Poettering 480f72c0a3 update TODO 2025-02-17 11:38:32 +01:00
Yu Watanabe 530ee01c60 TODO: fix typo
Follow-ups for 0eeeb36bd5 and
3fd11dbcd9.
2025-02-14 13:23:11 +09:00