diff --git a/mkosi/mkosi.sanitizers/mkosi.postinst b/mkosi/mkosi.sanitizers/mkosi.postinst index 8fbd0d4f85e..c451e05796d 100755 --- a/mkosi/mkosi.sanitizers/mkosi.postinst +++ b/mkosi/mkosi.sanitizers/mkosi.postinst @@ -53,6 +53,7 @@ wrap=( dbus-broker-launch dbus-daemon delv + dfuzzer dhcpd dig dnf @@ -67,6 +68,7 @@ wrap=( groups id integritysetup + iscsiadm iscsid keymgr knotc @@ -76,12 +78,15 @@ wrap=( login ls lsblk + lsns lsof lvm mdadm mkfs.btrfs + mkfs.ext4 mksquashfs mount + mountpoint multipath multipathd nvme @@ -95,8 +100,12 @@ wrap=( stat stress-ng su + swapoff + swapon tar tgtd + # The tpm2 tools (tpm2_readpublic, tpm2_pcrextend, ...) all are symlinks to tpm2 + tpm2 umount unix_chkpwd useradd diff --git a/test/units/TEST-07-PID1.user-namespace-path.sh b/test/units/TEST-07-PID1.user-namespace-path.sh index 437968e8c25..fda83a9566f 100755 --- a/test/units/TEST-07-PID1.user-namespace-path.sh +++ b/test/units/TEST-07-PID1.user-namespace-path.sh @@ -6,15 +6,6 @@ set -o pipefail # shellcheck source=test/units/util.sh . "$(dirname "$0")"/util.sh -# When sanitizers are used, export LD_PRELOAD with the sanitizers path, -# lsns doesn't work otherwise. -if [ -f /usr/lib/systemd/systemd-asan-env ]; then - # shellcheck source=/dev/null - . /usr/lib/systemd/systemd-asan-env - export LD_PRELOAD - export ASAN_OPTIONS -fi - # Only reuse the user namespace systemd-run --unit=oldservice --property=Type=exec --property=PrivateUsers=true sleep 3600 OLD_PID=$(systemctl show oldservice -p MainPID | awk -F= '{print $2}')