[LTP] [PATCH 1/1] ima_keys.sh: Fix umount on tmpfs
Petr Vorel
pvorel@suse.cz
Wed Sep 2 12:39:59 CEST 2020
Hi,
> write policy.txt always to $TST_TMPDIR otherwise tst_umount will fail on
> /tmp being tmpfs, for which we mount loop device and cd into it:
> umount: /tmp/LTP_ima_keys.hPVaEbz34L/mntpoint: target is busy.
> ima_keys 1 TINFO: umount(/dev/loop0) failed, try 1 ...
> ima_keys 1 TINFO: Likely gvfsd-trash is probing newly mounted fs, kill it to speed up tests.
> umount: /tmp/LTP_ima_keys.hPVaEbz34L/mntpoint: target is busy.
> ...
> rm: cannot remove '/tmp/LTP_ima_keys.cNyaxGHAQI/mntpoint': Device or resource busy
> Fixes: a277498c0 ("IMA/ima_keys.sh: Enhance policy checks")
Fix merged.
Kind regards,
Petr
More information about the ltp
mailing list