wok view cookutils/stuff/rework-umount_aufs.patch @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents
children
line source
1 umount_aufs() hangs 20mn sporadicly.
2 It may keep /dev/shm/*root mounted
4 --- a/cook
5 +++ b/cook
6 @@ -1011,8 +1011,9 @@
8 umount_aufs() {
9 tac ${1}rw/aufs-umount.sh | sh
10 + umount -l ${1}root 2> /dev/null
11 + umount -l ${1}root 2> /dev/null
12 rm -rf ${1}rw
13 - umount ${1}root
14 rmdir ${1}r*
15 }