Project

General

Profile

Bug #3127

[lvm2 2.03.14-1] Dependency on systemd on non-systemd (OpenRC) systems prevents lvm volumes from activating

Drag0nFly - 10 days ago - .

Status:
unconfirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

The hook which is run when triggering automatic lvm activation for new volumes relies on “systemd-run”, thus preventing LVM volumes from being set active at boot-time. This should be modified to openrc-run, or equivalent, in nonsystemd repos.

Specifically this is is done in the 69-dm-lvm-rules file –

/usr/lib/udev/rules.d/69-dm-lvm.rules:ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/systemd-run -r --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} /usr/bin/lvm vgchange -aay --nohints $env{LVM_VG_NAME_COMPLETE}" 

For someone who has gone to great lengths to get rid of any-and-all-things systemd, it is unfortunate to see these things continue to crop up.

Also available in: Atom PDF