Bug#791869: lvm2: updating src:lvm2 from 2.02.111-2.2 to 2.02.122-1 breaks booting, mounting LVs other than / fails

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sat Aug 1 11:30:36 UTC 2015


On Mon, 27 Jul 2015, Michael Biebl wrote:
>
> Not sure if that is happening here. But fixing [2] and making sure
> pvscan is run via /bin/systemd-run look like should be done in any
                    ^^^^^^^^^^^^^^^^
> case.
>
> Michael
>
>
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783182

Just a minor point here.

I have 2 systems running lvm over raid0.

On one of them (non-systemd init unstable box, but with systemd and
udev 223-2 installed) there's no /bin/systemd-run:

	# which systemd-run
	/usr/bin/systemd-run

Hardly possible to use _before_ /usr (separate partition) is mounted.

On another system (stretch (104 upgraded, 0 newly installed, 0 to
remove and 141 not upgraded), uptime: 13:09:13 up 840 days, 23:13, 67
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
users), the systemd package is not even installed.  udev 222-2 and
lvm2 2.02.111-2.2 are installed.

systemd-run is refered to in /lib/udev/rules.d/69-lvm-metad.rules:

	ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="/bin/systemd-run /sbin/lvm pvscan --cache $major:$minor", GOTO="lvm_end"


Cheers,

-- 
Cristian



More information about the pkg-lvm-maintainers mailing list