Bug 1383585 - WARNING: D-Bus notification failed: The name com.redhat.lvmdbus1 was not provided by any .service files
Summary: WARNING: D-Bus notification failed: The name com.redhat.lvmdbus1 was not prov...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 07:14 UTC by lnie
Modified: 2016-11-21 08:38 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 08:36:41 UTC
Type: Bug


Attachments (Terms of Use)
journal (178.07 KB, text/x-vhdl)
2016-10-11 07:14 UTC, lnie
no flags Details

Description lnie 2016-10-11 07:14:59 UTC
Created attachment 1209027 [details]
journal

Description of problem:
[root@localhost lnie]# pvcreate /dev/sdb1
  Physical volume "/dev/sdb1" successfully created.
  WARNING: D-Bus notification failed: The name com.redhat.lvmdbus1 was not provided by any .service files
[root@localhost lnie]# pvcreate /dev/sdb2
  Physical volume "/dev/sdb2" successfully created.
  WARNING: D-Bus notification failed: The name com.redhat.lvmdbus1 was not provided by any .service files
[root@localhost lnie]# vgcreate testvg /dev/sdb1
  Volume group "testvg" successfully created
  WARNING: D-Bus notification failed: The name com.redhat.lvmdbus1 was not provided by any .service files

Version-Release number of selected component (if applicable):
lvm2-2.02.161-3.fc25.x86_64

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2016-10-11 08:07:26 UTC
More or less ignorable messages for now.

Feel free to set  'global/notify_dbus=0' if you are not planning to use it for now.  dBus support is for now rather 'experimental'.

Comment 2 Peter Rajnoha 2016-11-21 08:36:41 UTC
You need to install lvm2-dbusd package - lvm2 package doesn't have a dependency on this (and we dont' want to). So if global/notify_dbus=1 is set (which is by default) and at the same time lvm2-dbusd package is not installed (which contains that dbus service), we get the warning.

We decreased the severity of the message from "warning" to "debug" only in this case with these patches:

https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=68d6d342f83f00784b53dda254d66875e134808d

https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=cd0736a94554750e0077f390770212c68da8fa4e

They're now included in lvm2-2.02.161-5.fc25 (https://bodhi.fedoraproject.org/updates/FEDORA-2016-0b0d170e02) which has been pushed to stable recently (2016-11-19) . Please, update to this latest version.

Comment 3 Peter Rajnoha 2016-11-21 08:38:29 UTC
(In reply to Peter Rajnoha from comment #2)
> You need to install lvm2-dbusd package - lvm2 package doesn't have a
> dependency on this (and we dont' want to).

(lvm2 dbus service is optional, not compulsory - if you don't intend to make use of this interface, you don't need to install the lvm2-dbusd package of course.)


Note You need to log in before you can comment on or make changes to this bug.