diff -Nru cryptsetup-2.6.1/debian/changelog cryptsetup-2.6.1/debian/changelog --- cryptsetup-2.6.1/debian/changelog 2024-01-03 10:38:16.000000000 +0000 +++ cryptsetup-2.6.1/debian/changelog 2024-02-20 07:44:59.000000000 +0000 @@ -1,3 +1,10 @@ +cryptsetup (2:2.6.1-6ubuntu2) noble; urgency=medium + + * Refine proc mounts entries traversal (LP: #2054390) + - d/functions: use awk to filter out relevant mount points initially + + -- Chengen Du Tue, 20 Feb 2024 07:44:59 +0000 + cryptsetup (2:2.6.1-6ubuntu1) noble; urgency=medium * Merge with Debian unstable. Remaining changes: diff -Nru cryptsetup-2.6.1/debian/functions cryptsetup-2.6.1/debian/functions --- cryptsetup-2.6.1/debian/functions 2024-01-03 10:38:16.000000000 +0000 +++ cryptsetup-2.6.1/debian/functions 2024-02-20 07:44:55.000000000 +0000 @@ -612,8 +612,7 @@ # treat lines starting with '#' as comments; /proc/mounts # doesn't seem to contain these but per procfs(5) the format of # that file is analogous to fstab(5)'s - if [ "${spec#\#}" = "$spec" ] && [ -n "$spec" ] && - [ "$(printf '%b' "$mountpoint")" = "$wantmount" ]; then + if [ "${spec#\#}" = "$spec" ] && [ -n "$spec" ]; then # take the last mountpoint if used several times (shadowed) unset -v devnos spec="$(printf '%b' "$spec")" @@ -639,7 +638,9 @@ devnos="$MAJ:$MIN" fi fi - done