Bug#783182: Uses /bin/systemd-run which is 69-lvm-metad.rules

Martin Pitt mpitt at debian.org
Thu Apr 23 19:59:17 UTC 2015


Hey Michael,

Michael Biebl [2015-04-23 16:17 +0200]:
> /lib/udev/rules.d/69-lvm-metad.rules contains the following line:
> 
> ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="/bin/systemd-run /sbin/lvm pvscan --cache $major:$minor", GOTO="lvm_end"
> 
> In Debian, systemd-run is installed as /usr/bin/systemd-run, thus this
> rule will fail. Now that initramfs-tools mounts /usr in in the
> initramfs, I no longer see a compelling reason to move the binary from
> /usr/bin/ to /bin and therefor think this rule should be fixed.

Do we copy this rule into initramfs? If so, might it happen that /usr
is on LVM and we need that rule to actually get /usr in the first
place?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the pkg-lvm-maintainers mailing list