mirror of
https://github.com/systemd/systemd
synced 2025-10-04 11:14:45 +02:00
Compare commits
No commits in common. "c9c4899f4444d9586e541b5e72597a37f949433a" and "a174da59c299f6197425707f23757dc9149e5fba" have entirely different histories.
c9c4899f44
...
a174da59c2
18
TODO
18
TODO
@ -22,24 +22,8 @@ Janitorial Clean-ups:
|
|||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
* nspawn: default to 1:1 userns
|
|
||||||
|
|
||||||
* Provide a reasonably bespoke solution for mounting host $HOME directories
|
|
||||||
into containers:
|
|
||||||
• add new option --mount-user=$USER for mounting $HOME of the user into the
|
|
||||||
container at the same place
|
|
||||||
• check /etc/passwd for UID or user name clashes. If UID clash pick a different
|
|
||||||
UID in container, and map via userns. If user name clash, refuse. If
|
|
||||||
matching user already exists use that.
|
|
||||||
• otherwise: write user record of specified user into /run/host/passwd or so
|
|
||||||
• in nss-systemd pick up user record from there and make available to system
|
|
||||||
With all that in place if nspawn host and container payload are up-to-date
|
|
||||||
enough we have a very simple way to make host users available in containers.
|
|
||||||
|
|
||||||
* systemd-sysusers: pick up passwords from credentials logic, so that users can
|
* systemd-sysusers: pick up passwords from credentials logic, so that users can
|
||||||
easily set root user pw. enable cred inheriting for root user from PID 1, so
|
easily set root user pw
|
||||||
that for containers we can configure the root pw automatically via nspawn's
|
|
||||||
--set-credential= switch. (Also do this for systemd-firstboot)
|
|
||||||
|
|
||||||
* whenever we receive fds via SCM_RIGHTS make sure none got dropped due to the
|
* whenever we receive fds via SCM_RIGHTS make sure none got dropped due to the
|
||||||
reception limit the kernel silently enforces.
|
reception limit the kernel silently enforces.
|
||||||
|
@ -39,8 +39,6 @@ SUBSYSTEM=="cec", GROUP="video"
|
|||||||
SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="@GROUP_RENDER_MODE@"
|
SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="@GROUP_RENDER_MODE@"
|
||||||
SUBSYSTEM=="kfd", GROUP="render", MODE="@GROUP_RENDER_MODE@"
|
SUBSYSTEM=="kfd", GROUP="render", MODE="@GROUP_RENDER_MODE@"
|
||||||
|
|
||||||
SUBSYSTEM=="misc", KERNEL=="sgx_enclave", GROUP="sgx", MODE="0660"
|
|
||||||
|
|
||||||
# When using static_node= with non-default permissions, also update
|
# When using static_node= with non-default permissions, also update
|
||||||
# tmpfiles.d/static-nodes-permissions.conf.in to keep permissions synchronized.
|
# tmpfiles.d/static-nodes-permissions.conf.in to keep permissions synchronized.
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ g input - - -
|
|||||||
g kvm - - -
|
g kvm - - -
|
||||||
g lp - - -
|
g lp - - -
|
||||||
g render - - -
|
g render - - -
|
||||||
g sgx - - -
|
|
||||||
g tape - - -
|
g tape - - -
|
||||||
g video - - -
|
g video - - -
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user