munix: allow specifying any user ID / do not use host /etc/passwd, fixes #2
This commit is contained in:
parent
7c3c52df7e
commit
9256257abe
3 changed files with 22 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ $MICROVM_CLOSURE/activate >/run/log/activate.spam 2>&1
|
|||
|
||||
umount /dev/shm # restore the original virtiofs dax shm though
|
||||
|
||||
chown 1001:1001 /run /dev # avoid "Detected unsafe path transition"
|
||||
chown $MICROVM_UID:$MICROVM_GID /run /dev # avoid "Detected unsafe path transition"
|
||||
systemd-tmpfiles --create >/run/log/tmpfiles.spam 2>&1
|
||||
|
||||
systemd-machine-id-setup >/dev/null 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue