Systemd/src
Lennart Poettering d381c8a6bf nspawn: hash the machine name, when looking for a suitable UID base (#7437)
When "-U" is used we look for a UID range we can use for our container.
We start with the UID the tree is already assigned to, and if that
didn't work we'd pick random ranges so far. With this change we'll first
try to hash a suitable range from the container name, and use that if it
works, in order to make UID assignments more likely to be stable.

This follows a similar logic PID 1 follows when using DynamicUser=1.
2017-11-24 20:57:19 +01:00
..
ac-power Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
activate Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
analyze analyze: add new "calendar" command 2017-11-20 10:57:41 +01:00
ask-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
backlight Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
basic Merge pull request #7453 from neosilky/coccinelle-fixes 2017-11-24 13:29:48 +01:00
binfmt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
boot Merge pull request #7154 from keszybz/bootspec 2017-11-20 13:06:33 +01:00
busctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgls Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgroups-agent Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgtop Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
core Merge pull request #7442 from poettering/scope-fixes 2017-11-24 17:15:09 +01:00
coredump Remove NULL as last parameter to strjoin 2017-11-24 10:37:08 +00:00
cryptsetup Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
debug-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
delta Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
detect-virt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dissect dissect: update dissect tool to show image metadata 2017-11-20 16:43:15 +01:00
environment-d-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
escape Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
firstboot firstboot: remove some unnecessary code (#7456) 2017-11-24 15:40:24 +01:00
fsck Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fstab-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
getty-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
gpt-auto-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
hibernate-resume Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
hostname hostname-util: rework read_hostname_config() a bit 2017-11-20 16:43:15 +01:00
hwdb Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
import Remove NULL as last parameter to strjoin 2017-11-24 10:37:08 +00:00
initctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal test: handle gracefully if decompressor tools are not installed (#7455) 2017-11-24 14:08:51 +01:00
journal-remote tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
kernel-install Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
libsystemd Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
libsystemd-network Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
libudev Replace free and return NULL with return mfree 2017-11-24 10:31:49 +00:00
locale Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
login logind: don't propagate firmware misbehaviours to bus clients 2017-11-24 11:57:23 +01:00
machine machinectl: show (some) of the new image metadata bits in "status-image" output 2017-11-20 16:43:15 +01:00
machine-id-setup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
modules-load Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
mount Merge pull request #7198 from poettering/stdin-stdout 2017-11-19 19:49:11 +01:00
network Merge pull request #7453 from neosilky/coccinelle-fixes 2017-11-24 13:29:48 +01:00
notify Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
nspawn nspawn: hash the machine name, when looking for a suitable UID base (#7437) 2017-11-24 20:57:19 +01:00
nss-myhostname Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-mymachines Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-resolve Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-systemd Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
path Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
quotacheck Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
random-seed Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
rc-local-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
remount-fs Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
reply-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
resolve Replace empty ternary with helper method 2017-11-24 09:31:08 +00:00
rfkill Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
run Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
shared Merge pull request #7446 from poettering/efi-firmware-boot-fixes 2017-11-24 15:42:32 +01:00
sleep Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
socket-proxy Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
stdio-bridge Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sulogin-shell Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
sysctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
system-update-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
systemctl systemctl: ignore shutdown's "-t" argument (#7459) 2017-11-24 17:01:32 +01:00
systemd Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
sysusers Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sysv-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test test-execute: test more % specifiers (#7450) 2017-11-24 10:17:28 +01:00
timedate Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
timesync tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
tmpfiles Merge pull request #7395 from poettering/nametohandleat-loop 2017-11-22 08:20:36 +01:00
tty-ask-password-agent Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
udev Merge pull request #7415 from keszybz/udev-alloca 2017-11-24 13:32:03 +01:00
update-done Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
update-utmp Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
user-sessions Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
vconsole Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
veritysetup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
volatile-root Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00