/
usr
/
lib
/
systemd
/
/usr/lib/systemd
mkdir
upload
Name
Size
Mode
Actions
boot/
-
0755
rm
catalog/
-
0755
rm
logind.conf.d/
-
0755
rm
network/
-
0755
rm
ntp-units.d/
-
0755
rm
system/
-
0755
rm
system-environment-generators/
-
0755
rm
system-generators/
-
0755
rm
system-preset/
-
0755
rm
system-shutdown/
-
0755
rm
system-sleep/
-
0755
rm
user/
-
0755
rm
user-environment-generators/
-
0755
rm
user-generators/
-
0755
rm
user-preset/
-
0755
rm
libsystemd-shared-249.so
2840280
0644
edit
dl
rm
lxd-agent-setup
896
0755
edit
dl
rm
resolv.conf
710
0644
edit
dl
rm
systemd
1849992
0755
edit
dl
rm
systemd-ac-power
14712
0755
edit
dl
rm
systemd-backlight
31016
0755
edit
dl
rm
systemd-binfmt
18808
0755
edit
dl
rm
systemd-bless-boot
31200
0755
edit
dl
rm
systemd-boot-check-no-failures
14712
0755
edit
dl
rm
systemd-cgroups-agent
14632
0755
edit
dl
rm
systemd-cryptsetup
59952
0755
edit
dl
rm
systemd-fsck
26928
0755
edit
dl
rm
systemd-fsckd
31096
0755
edit
dl
rm
systemd-growfs
22904
0755
edit
dl
rm
systemd-hibernate-resume
14632
0755
edit
dl
rm
systemd-hostnamed
43408
0755
edit
dl
rm
systemd-initctl
22904
0755
edit
dl
rm
systemd-journald
162176
0755
edit
dl
rm
systemd-localed
51600
0755
edit
dl
rm
systemd-logind
264712
0755
edit
dl
rm
systemd-makefs
14632
0755
edit
dl
rm
systemd-modules-load
18912
0755
edit
dl
rm
systemd-network-generator
35192
0755
edit
dl
rm
systemd-networkd
1518032
0755
edit
dl
rm
systemd-networkd-wait-online
35328
0755
edit
dl
rm
systemd-pstore
22928
0755
edit
dl
rm
systemd-quotacheck
14712
0755
edit
dl
rm
systemd-random-seed
22824
0755
edit
dl
rm
systemd-remount-fs
14632
0755
edit
dl
rm
systemd-reply-password
14632
0755
edit
dl
rm
systemd-resolved
494000
0755
edit
dl
rm
systemd-rfkill
22904
0755
edit
dl
rm
systemd-shutdown
47488
0755
edit
dl
rm
systemd-sleep
27000
0755
edit
dl
rm
systemd-socket-proxyd
31104
0755
edit
dl
rm
systemd-sulogin-shell
14632
0755
edit
dl
rm
systemd-sysctl
23008
0755
edit
dl
rm
systemd-sysv-install
1360
0755
edit
dl
rm
systemd-time-wait-sync
14632
0755
edit
dl
rm
systemd-timedated
47504
0755
edit
dl
rm
systemd-timesyncd
55520
0755
edit
dl
rm
systemd-udevd
1131856
0755
edit
dl
rm
systemd-update-utmp
18808
0755
edit
dl
rm
systemd-user-runtime-dir
22824
0755
edit
dl
rm
systemd-user-sessions
14632
0755
edit
dl
rm
systemd-veritysetup
22936
0755
edit
dl
rm
systemd-volatile-root
18728
0755
edit
dl
rm
systemd-xdg-autostart-condition
14632
0755
edit
dl
rm
Edit:
/usr/lib/systemd/lxd-agent-setup
(896B)
#!/bin/sh set -eu PREFIX="/run/lxd_agent" # Functions. mount_virtiofs() { mount -t virtiofs config "${PREFIX}/.mnt" >/dev/null 2>&1 } mount_9p() { /sbin/modprobe 9pnet_virtio >/dev/null 2>&1 || true /bin/mount -t 9p config "${PREFIX}/.mnt" -o access=0,trans=virtio >/dev/null 2>&1 } fail() { umount -l "${PREFIX}" >/dev/null 2>&1 || true rmdir "${PREFIX}" >/dev/null 2>&1 || true echo "${1}" exit 1 } # Setup the mount target. umount -l "${PREFIX}" >/dev/null 2>&1 || true mkdir -p "${PREFIX}" mount -t tmpfs tmpfs "${PREFIX}" -o mode=0700,size=50M mkdir -p "${PREFIX}/.mnt" # Try virtiofs first. mount_virtiofs || mount_9p || fail "Couldn't mount virtiofs or 9p, failing." # Copy the data. cp -Ra "${PREFIX}/.mnt/"* "${PREFIX}" # Unmount the temporary mount. umount "${PREFIX}/.mnt" rmdir "${PREFIX}/.mnt" # Fix up permissions. chown -R root:root "${PREFIX}"
Save
cmd:
run