Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: lvm2: include required symlinks in device-mapper pkg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22898@inbox.vuxu.org>
@ 2020-09-11 15:44 ` sgn
  2020-09-11 15:47 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 2+ messages in thread
From: sgn @ 2020-09-11 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22898#issuecomment-691168170

Comment:
I would say `lvm2` should be fixed to `dlopen` the correct path.

---
EDIT: Looked into `lvm2` source code, I think your approach is OK to go. Debian seems to do that, too.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: lvm2: include required symlinks in device-mapper pkg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22898@inbox.vuxu.org>
  2020-09-11 15:44 ` lvm2: include required symlinks in device-mapper pkg sgn
@ 2020-09-11 15:47 ` sgn
  1 sibling, 0 replies; 2+ messages in thread
From: sgn @ 2020-09-11 15:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]

There's a merged pull request on the void-packages repository

lvm2: include required symlinks in device-mapper pkg
https://github.com/void-linux/void-packages/pull/22898

Description:
Without these, monitoring raid1 LVs fails unless one installs `device-mapper-devel`. The log message is:
```
dmeventd libdevmapper-event-lvm2raid.so dlopen failed: libdevmapper-event-lvm2raid.so: cannot open shared object file: No such file or directory.
```

More details: the current `device-mapper` package includes:
```
/usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so
/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so
/usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so
/usr/lib/device-mapper/libdevmapper-event-lvm2thin.so
/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so
/usr/lib/libdevmapper-event-lvm2.so.2.02
/usr/lib/libdevmapper-event.so.1.02
/usr/lib/libdevmapper.so.1.02
/usr/lib/liblvm2cmd.so.2.02
```
while the current `device-mapper-devel` package includes:
```
/usr/lib/libdevmapper-event-lvm2.so -> /usr/lib/libdevmapper-event-lvm2.so.2.02
/usr/lib/libdevmapper-event-lvm2mirror.so -> /usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so
/usr/lib/libdevmapper-event-lvm2raid.so -> /usr/lib/device-mapper/libdevmapper-event-lvm2raid.so
/usr/lib/libdevmapper-event-lvm2snapshot.so -> /usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so
/usr/lib/libdevmapper-event-lvm2thin.so -> /usr/lib/device-mapper/libdevmapper-event-lvm2thin.so
/usr/lib/libdevmapper-event-lvm2vdo.so -> /usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so
/usr/lib/libdevmapper-event.so -> /usr/lib/libdevmapper-event.so.1.02
/usr/lib/libdevmapper.so -> /usr/lib/libdevmapper.so.1.02
/usr/lib/liblvm2cmd.so -> /usr/lib/liblvm2cmd.so.2.02
```

I claim all the symlinks for `libdevmapper-event-lvm2?*.so` should go into `device-mapper` pkg, which is what this PR does. Note the question mark, since I believe `libdevmapper-event-lvm2.so` should still go into `device-mapper-devel`.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-11 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22898@inbox.vuxu.org>
2020-09-11 15:44 ` lvm2: include required symlinks in device-mapper pkg sgn
2020-09-11 15:47 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).