Bug 2052759
| Summary: | require lvmdbusd to be explicitly enabled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | David Teigland <teigland> |
| Component: | lvm2 | Assignee: | David Teigland <teigland> |
| lvm2 sub component: | lvmdbusd | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | high | CC: | agk, cmarthal, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, tasleson, zkabelac |
| Version: | 9.0 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.03.17-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 08:23:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
David Teigland
2022-02-09 23:42:22 UTC
Tony suggested another solution in which lvmdbusd would listen to udev events by default, and lvm commands could stop notifying dbus by default, which would stop lvmdbusd from being automatically started by lvm commands. Tony, do you think there will be any changes here or should we close? I believe we should follow through with having --udev in the service file, get that integrated and then remove the code from lvm tools to do the dbus notify. That will solve this issue too. The interesting part is --udev is in the upstream repo service file, thus I can only conclude that during packaging a diff is applied which removes it? I'm trying to locate the BZ what was requesting --udev being used to solve an installer problem with lvmdbusd. (In reply to Tony Asleson from comment #3) > I believe we should follow through with having --udev in the service file, > get that integrated and then remove the code from lvm tools to do the dbus > notify. After experimenting with this today, I think this is a bad approach. The udev events don't have enough context and we would end up having the lvm dbusd daemon refresh the entire lvm state much more frequently. Investigation continues. Correction posted upstream: https://sourceware.org/git/?p=lvm2.git;a=commit;h=0f56c1ad1262857961aff7b5a0ae6593a3de8db3 which causes the lvm command line tools to only notify the dbus daemon if the daemon is running, to prevent lvm command line tools from starting the daemon. Marking Verified:Tested in the latest rpms. lvm2-2.03.17-1.el9 BUILT: Thu Nov 10 10:02:16 AM CST 2022 lvm2-libs-2.03.17-1.el9 BUILT: Thu Nov 10 10:02:16 AM CST 2022 [root@hayes-03 ~]# pvcreate /dev/sd[ef]1 Physical volume "/dev/sde1" successfully created. Physical volume "/dev/sdf1" successfully created. [root@hayes-03 ~]# ps -ef | grep lvmdbus root 62079 54986 0 14:09 pts/0 00:00:00 grep --color=auto lvmdbus Verified in the latest rpms as well. kernel-5.14.0-205.el9 BUILT: Fri Dec 2 07:14:37 AM CST 2022 lvm2-2.03.17-3.el9 BUILT: Wed Dec 7 10:41:40 AM CST 2022 lvm2-libs-2.03.17-3.el9 BUILT: Wed Dec 7 10:41:40 AM CST 2022 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (lvm2 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2544 |