Skip to content

Commit

Permalink
runtime-postinstall: Turn off lvm monitoring
Browse files Browse the repository at this point in the history
We don't install dmeventd or the event libraries so monitoring will fail
to start. The should solve weldr#1328 and rhbz#2236524

With this in place there are no syslog messages about dmeventd or event
libraries. lvm.conf does contain logged messages about dmeventd falling
back to various things, but no actual errors.
  • Loading branch information
bcl committed Sep 6, 2023
1 parent 33f1877 commit 190b180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/templates.d/99-generic/runtime-postinstall.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ remove etc/lvm/cache/*
remove etc/lvm/cache
remove etc/lvm/lvm.conf
append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n"
# dmeventd and event libraries are not installed
append etc/lvm/lvm.conf "activation {\n\tmonitoring = 0\n}\n"

## Remove machine specific nvme-cli files
remove etc/nvme/hostid
Expand Down

0 comments on commit 190b180

Please sign in to comment.