Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 583594

Summary: =sys-fs/lvm2-2.02.116-r4 incomplete kernel check
Product: Gentoo Linux Reporter: Sergey S. Starikoff <Ikonta>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: agk, cardoe, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.

Like:

# 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 — https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466138

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.