Comment # 23 on bug 1198523 from
For tracing the code change, I post patch here:

```
--- lvm2-a/lvm2.spec    2022-08-03 23:38:32.000000000 +0800
+++ lvm2-b/lvm2.spec    2022-09-02 18:39:44.980446874 +0800
@@ -472,7 +472,9 @@ Device mapper main shared library
 %{_libdir}/libdevmapper.so.1.02

 %post   -n %{libname}
-if [ -f /%{_lib}/libdevmapper.so.1.03 ]; then
+# Below 'if -L' checks link dir from bsc#1198523.
+# TW already use 'usrmerged' to protect deleting
+if [ -f /%{_lib}/libdevmapper.so.1.03 ] && [ ! -L /%{_lib} ]; then
   # Special migration - the library is now in %{_libdir}, but up to the point
where
   # zypp removes the 'old' device-mapper package, the old library 'wins' the
ldloader race
   # resulting in binaries asking for the newer version still getting the old
one.
```


You are receiving this mail because: