Bug#881314: lvm2 upgrade causes boot failure

Ben Caradoc-Davies ben at transient.nz
Fri Nov 10 09:22:39 UTC 2017


On 10/11/17 20:02, Bastian Blank wrote:
> On Fri, Nov 10, 2017 at 06:37:36PM +1300, Ben Caradoc-Davies wrote:
>> Severity: critical
>> Justification: breaks the whole system
> Nope, it only breaks itself.

Well, it only breaks systems that use it.

>> upgrading to lvm2 2.02.176-2 (and related packages) results in boot failure.
>> Photo of boot message attached.
> Not pretty useful.

Indeed, nothing to see here. There is one outstanding report in BTS of 
this message being present and causing no harm. It may be entirely 
useless. My initial quick report is fodder for apt-listbugs to protect 
my fellow crash test dummies. The scene is now secure and waiting for 
forensics to arrive.

I will reproduce and try to get better information. There is nothing 
else in the logs; they would be in the VG that allegedly could not be 
found. First stop will be booting without quiet and splash. If I spot 
anything relevant I will report back.

Other system information:
- /boot is plain partition with ext4
- VG (vg) is in a LUKS partition in one LVM PV
- / and /home in

>> Upgrade was:
> Please provide the dpkg log.

Excerpt from /var/log/apt/term.log:

Log started: 2017-11-10  17:59:51
(Reading database ... 159529 files and directories currently installed.)
Preparing to unpack .../libquadmath0_7.2.0-14_amd64.deb ...
Unpacking libquadmath0:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../libitm1_7.2.0-14_amd64.deb ...
Unpacking libitm1:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../gcc-7-base_7.2.0-14_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.2.0-14) over (7.2.0-12) ...
Setting up gcc-7-base:amd64 (7.2.0-14) ...
(Reading database ... 159529 files and directories currently installed.)
Preparing to unpack .../libstdc++6_7.2.0-14_amd64.deb ...
Unpacking libstdc++6:amd64 (7.2.0-14) over (7.2.0-12) ...
Setting up libstdc++6:amd64 (7.2.0-14) ...
(Reading database ... 159529 files and directories currently installed.)
Preparing to unpack .../00-libmpx2_7.2.0-14_amd64.deb ...
Unpacking libmpx2:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../01-libgomp1_7.2.0-14_amd64.deb ...
Unpacking libgomp1:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../02-libatomic1_7.2.0-14_amd64.deb ...
Unpacking libatomic1:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../03-libasan4_7.2.0-14_amd64.deb ...
Unpacking libasan4:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../04-liblsan0_7.2.0-14_amd64.deb ...
Unpacking liblsan0:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../05-libtsan0_7.2.0-14_amd64.deb ...
Unpacking libtsan0:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../06-libubsan0_7.2.0-14_amd64.deb ...
Unpacking libubsan0:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../07-libcilkrts5_7.2.0-14_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../08-cpp-7_7.2.0-14_amd64.deb ...
Unpacking cpp-7 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../09-libcc1-0_7.2.0-14_amd64.deb ...
Unpacking libcc1-0:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../10-g++-7_7.2.0-14_amd64.deb ...
Unpacking g++-7 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../11-gcc-7_7.2.0-14_amd64.deb ...
Unpacking gcc-7 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../12-libgcc-7-dev_7.2.0-14_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../13-libstdc++-7-dev_7.2.0-14_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../14-libgfortran4_7.2.0-14_amd64.deb ...
Unpacking libgfortran4:amd64 (7.2.0-14) over (7.2.0-12) ...
Preparing to unpack .../15-libgcc1_1%3a7.2.0-14_amd64.deb ...
Unpacking libgcc1:amd64 (1:7.2.0-14) over (1:7.2.0-12) ...
Setting up libgcc1:amd64 (1:7.2.0-14) ...
(Reading database ... 159529 files and directories currently installed.)
Preparing to unpack .../00-dmsetup_2%3a1.02.145-2_amd64.deb ...
Unpacking dmsetup (2:1.02.145-2) over (2:1.02.145-1) ...
Preparing to unpack .../01-libdevmapper1.02.1_2%3a1.02.145-2_amd64.deb ...
Unpacking libdevmapper1.02.1:amd64 (2:1.02.145-2) over (2:1.02.145-1) ...
Preparing to unpack 
.../02-libdevmapper-event1.02.1_2%3a1.02.145-2_amd64.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.145-2) over 
(2:1.02.145-1) ...
Preparing to unpack .../03-liblvm2cmd2.02_2.02.176-2_amd64.deb ...
Unpacking liblvm2cmd2.02:amd64 (2.02.176-2) over (2.02.176-1) ...
Preparing to unpack .../04-dmeventd_2%3a1.02.145-2_amd64.deb ...
Unpacking dmeventd (2:1.02.145-2) over (2:1.02.145-1) ...
Preparing to unpack .../05-libavutil55_7%3a3.4-2_amd64.deb ...
Unpacking libavutil55:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../06-libswresample2_7%3a3.4-2_amd64.deb ...
Unpacking libswresample2:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../07-libavcodec57_7%3a3.4-2_amd64.deb ...
Unpacking libavcodec57:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../08-libavformat57_7%3a3.4-2_amd64.deb ...
Unpacking libavformat57:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../09-libavresample3_7%3a3.4-2_amd64.deb ...
Unpacking libavresample3:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Selecting previously unselected package libmysofa0.
Preparing to unpack .../10-libmysofa0_0.6~dfsg0-1_amd64.deb ...
Unpacking libmysofa0 (0.6~dfsg0-1) ...
Preparing to unpack .../11-libpostproc54_7%3a3.4-2_amd64.deb ...
Unpacking libpostproc54:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../12-libswscale4_7%3a3.4-2_amd64.deb ...
Unpacking libswscale4:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../13-libavfilter6_7%3a3.4-2_amd64.deb ...
Unpacking libavfilter6:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../14-libavdevice57_7%3a3.4-2_amd64.deb ...
Unpacking libavdevice57:amd64 (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../15-ffmpeg_7%3a3.4-2_amd64.deb ...
Unpacking ffmpeg (7:3.4-2) over (7:3.3.4-2+b3) ...
Preparing to unpack .../16-liblvm2app2.2_2.02.176-2_amd64.deb ...
Unpacking liblvm2app2.2:amd64 (2.02.176-2) over (2.02.176-1) ...
Preparing to unpack .../17-lvm2_2.02.176-2_amd64.deb ...
Unpacking lvm2 (2.02.176-2) over (2.02.176-1) ...
Setting up libquadmath0:amd64 (7.2.0-14) ...
Setting up libgomp1:amd64 (7.2.0-14) ...
Setting up libatomic1:amd64 (7.2.0-14) ...
Setting up libcc1-0:amd64 (7.2.0-14) ...
Setting up libavutil55:amd64 (7:3.4-2) ...
Setting up libasan4:amd64 (7.2.0-14) ...
Setting up libgfortran4:amd64 (7.2.0-14) ...
Setting up libcilkrts5:amd64 (7.2.0-14) ...
Setting up libubsan0:amd64 (7.2.0-14) ...
Setting up libtsan0:amd64 (7.2.0-14) ...
Setting up libswresample2:amd64 (7:3.4-2) ...
Setting up cpp-7 (7.2.0-14) ...
Setting up liblsan0:amd64 (7.2.0-14) ...
Setting up libmpx2:amd64 (7.2.0-14) ...
Processing triggers for libc-bin (2.24-17) ...
Setting up libswscale4:amd64 (7:3.4-2) ...
Processing triggers for systemd (235-2) ...
Setting up libpostproc54:amd64 (7:3.4-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libmysofa0 (0.6~dfsg0-1) ...
Setting up libitm1:amd64 (7.2.0-14) ...
Setting up libavresample3:amd64 (7:3.4-2) ...
Setting up libavcodec57:amd64 (7:3.4-2) ...
Setting up libgcc-7-dev:amd64 (7.2.0-14) ...
Setting up libstdc++-7-dev:amd64 (7.2.0-14) ...
Setting up libavformat57:amd64 (7:3.4-2) ...
Setting up gcc-7 (7.2.0-14) ...
Setting up g++-7 (7.2.0-14) ...
Setting up libavfilter6:amd64 (7:3.4-2) ...
Setting up libavdevice57:amd64 (7:3.4-2) ...
Setting up ffmpeg (7:3.4-2) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.145-2) ...
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.145-2) ...
Setting up liblvm2cmd2.02:amd64 (2.02.176-2) ...
Setting up dmsetup (2:1.02.145-2) ...
update-initramfs: deferring update (trigger activated)
Setting up liblvm2app2.2:amd64 (2.02.176-2) ...
Setting up dmeventd (2:1.02.145-2) ...
Setting up lvm2 (2.02.176-2) ...
update-initramfs: deferring update (trigger activated)
Syntax: /usr/bin/deb-systemd-invoke <action> <unit file> [<unit file> ...]
Processing triggers for libc-bin (2.24-17) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-1-amd64
Log ended: 2017-11-10  18:00:13

And thanks for your prompt response.

Kind regards,

-- 
Ben Caradoc-Davies <ben at transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



More information about the pkg-lvm-maintainers mailing list