Lennart Poettering
aac7e892e4
machined: make registration of unpriv user's VMs/containers work ( #37855 )
...
This adds missing glue to reasonably allow unpriv users VMs/containers
to register with the system machined.
This primarily adds two things:
1. machined can now properly track VMs/containers residing in subcgroups
of units, because that's effectively what happens for per-user
VMs/containers: they are placed below the system unit `user@….service`
in some user unit.
2. machines registered with machined now have an owning UID: users can
operate on their own machines withour re-authentication, but not on
others.
Note that this is only a first step regarding machined's hookup of
nspawn/vmspawn in the long run for unpriv operation.
I think eventually we should make it so that there's both a per-user and
a per-system machined instance (so far, and even with this PR there's
still one per-system instance), and per-user containers/VMs would
registering with *both*. Having two instances makes sense I think,
because it would mean we can make machined reasonably manage the
per-user image discovery, and also do the per-system network/hostname
handling.
2025-07-11 21:10:08 +02:00
..
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-01 12:29:15 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-04-04 21:02:18 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 18:33:43 +09:00
2025-07-11 18:33:43 +09:00
2025-07-11 18:33:43 +09:00
2025-07-11 18:33:43 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 18:15:08 +02:00
2025-07-11 18:15:08 +02:00
2025-07-11 10:39:55 +09:00
2025-05-25 10:06:07 +02:00
2025-07-07 17:28:47 +00:00
2025-07-07 17:28:47 +00:00
2025-07-11 13:05:46 +09:00
2025-05-14 15:44:17 +02:00
2025-06-04 18:04:27 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 10:42:08 +09:00
2025-07-11 10:42:08 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-21 10:49:42 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-10 12:57:01 +09:00
2025-06-18 10:45:49 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-07 12:44:10 +09:00
2025-06-18 10:21:26 +02:00
2025-06-02 17:39:43 +02:00
2025-06-02 17:39:43 +02:00
2025-07-01 17:51:49 +02:00
2025-07-01 17:51:49 +02:00
2025-07-10 14:02:00 +09:00
2025-07-10 16:18:10 +02:00
2025-07-10 16:18:10 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-07-06 13:22:56 +02:00
2025-06-17 15:07:32 +01:00
2025-06-17 15:07:32 +01:00
2025-07-11 13:05:46 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 10:41:07 +09:00
2025-07-11 13:05:46 +09:00
2025-06-26 00:46:20 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:42 +09:00
2025-07-11 13:05:42 +09:00
2025-07-11 18:33:43 +09:00
2025-07-11 13:05:42 +09:00
2025-06-23 23:11:44 +09:00
2025-06-23 23:11:44 +09:00
2025-05-07 22:04:46 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-30 09:19:15 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-23 15:32:11 +02:00
2025-06-23 15:32:11 +02:00
2025-05-27 22:33:57 +09:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-04 22:06:52 +02:00
2025-06-02 18:05:45 +02:00
2025-05-07 22:04:46 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-07-11 13:05:46 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-30 09:19:15 +02:00
2025-05-25 10:06:07 +02:00
2025-05-07 22:04:46 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 09:40:26 +02:00
2025-05-31 14:48:37 +02:00
2025-06-17 11:44:50 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-03 10:37:33 +02:00
2025-05-25 10:06:07 +02:00
2025-07-01 12:29:15 +09:00
2025-07-01 12:27:27 +09:00
2025-04-18 14:19:16 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 18:33:43 +09:00
2025-06-19 19:08:45 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-06-26 00:46:20 +09:00
2025-04-03 06:01:31 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-14 00:06:43 +09:00
2025-06-14 00:06:43 +09:00
2025-05-22 21:10:15 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-30 03:45:29 +09:00
2025-06-30 03:45:29 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-07-11 13:05:46 +09:00
2025-07-11 09:06:41 +02:00
2025-07-11 09:06:41 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-01 12:24:32 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-07-11 13:05:46 +09:00
2025-07-09 10:13:59 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-04 12:11:00 +02:00
2025-07-03 21:03:26 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-05-31 14:48:37 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-18 19:06:11 +09:00
2025-07-01 12:27:59 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-03-31 15:14:28 +02:00
2025-07-11 13:05:46 +09:00
2025-06-28 03:54:48 +09:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-08 13:02:37 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-05 22:26:23 +02:00
2025-05-25 10:06:07 +02:00
2025-06-11 12:50:51 +09:00
2025-06-11 12:50:51 +09:00
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-05-29 19:20:31 +02:00
2025-06-23 15:32:11 +02:00
2025-06-23 15:32:11 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-06-02 11:19:12 +02:00
2025-06-02 11:19:12 +02:00
2025-06-02 17:39:44 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-08 12:57:33 +02:00
2025-07-08 12:57:33 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-05-25 10:06:07 +02:00
2025-05-26 20:26:58 +02:00
2025-07-11 20:07:40 +09:00
2025-05-25 10:06:07 +02:00
2025-07-11 13:05:46 +09:00
2025-05-25 10:06:07 +02:00