Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583594 - =sys-fs/lvm2-2.02.116-r4 incomplete kernel check
Summary: =sys-fs/lvm2-2.02.116-r4 incomplete kernel check
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2016-05-20 19:11 UTC by Sergey S. Starikoff
Modified: 2020-12-27 23:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2016-05-20 19:11:57 UTC
Having installed, but really not used sys-fs/lvm2 in about 4.1 branch kernel and >sys-apps/openrc-0.18 I've find error messages on start of some services.


# service lm_sensors start
 * Caching service dependencies ...
File descriptor 3 (pipe:[436497]) leaked on lvm invocation. Parent PID 11855: /bin/sh
  /run/lvm/lvmetad.socket: connect failed: Нет такого файла или каталога
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.                                  [ ok ]

The issue was known for a time ago.
For example — link to Debian bug-tracker —

AFAIR it appears when CONFIG_BLK_DEV_DM is not set (as in my kernel was):
Device-mapper is a low level volume manager.  It works by allowing 
people to specify mappings for ranges of logical sectors.  Various 
mapping types are available, in addition people may write their own
modules containing custom mappings if they wish.

Probably sys-fs/lvm2 ebuild should perform check for this option and if failed — echo warning message in postinstall.