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
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-20 19:11 UTC by Sergey S. Starikoff
Modified: 2016-05-23 14:50 UTC (History)
2 users (show)

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


Attachments

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.

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.