Bug#923642: grub-pc: package upgrade triggers assemble md arrays, which fails
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sun Mar 3 10:27:54 GMT 2019
Package: grub-pc
Version: 2.02+dfsg1-12
Severity: normal
I find this in the system logs:
,----
| Mar 2 12:12:48 debian kernel: <1052>[2404365.421416] systemd-udevd[20006]: Process '/sbin/mdadm --incremental --export /dev/sda1 --offroot /dev/disk/by-id/wwn-0x5000c5005ad68f36-part1 /dev/disk/by-partuuid/00042eda-01 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D58N8J-part1 /dev/disk/by-path/pci-0000:00:1f.2-ata-1-part1' failed with exit code 1.
| Mar 2 12:12:48 debian kernel: <1052>[2404365.437009] systemd-udevd[20009]: Process '/sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/wwn-0x5000c5005ad68f36-part3 /dev/disk/by-partuuid/00042eda-03 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D58N8J-part3 /dev/disk/by-path/pci-0000:00:1f.2-ata-1-part3' failed with exit code 1.
| Mar 2 12:12:48 debian kernel: <1052>[2404365.445260] systemd-udevd[20008]: Process '/sbin/mdadm --incremental --export /dev/sda2 --offroot /dev/disk/by-partuuid/00042eda-02 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D58N8J-part2 /dev/disk/by-path/pci-0000:00:1f.2-ata-1-part2 /dev/disk/by-id/wwn-0x5000c5005ad68f36-part2' failed with exit code 1.
| Mar 2 12:12:58 debian kernel: <1052>[2404374.547046] systemd-udevd[20054]: Process '/sbin/mdadm --incremental --export /dev/sdb1 --offroot /dev/disk/by-id/wwn-0x5000c5005b79dd3b-part1 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D6LFEY-part1 /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part1 /dev/disk/by-partuuid/00060407-01' failed with exit code 1.
| Mar 2 12:12:58 debian kernel: <1052>[2404374.547207] systemd-udevd[20072]: Process '/sbin/mdadm --incremental --export /dev/sdb3 --offroot /dev/disk/by-partuuid/00060407-03 /dev/disk/by-id/wwn-0x5000c5005b79dd3b-part3 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D6LFEY-part3 /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part3' failed with exit code 1.
| Mar 2 12:12:58 debian kernel: <1052>[2404374.547266] systemd-udevd[20071]: Process '/sbin/mdadm --incremental --export /dev/sdb2 --offroot /dev/disk/by-id/wwn-0x5000c5005b79dd3b-part2 /dev/disk/by-partuuid/00060407-02 /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D6LFEY-part2 /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part2' failed with exit code 1.
`----
The command origin seems to be:
,---- [ /lib/udev/rules.d/64-md-raid-assembly.rules ]
| # remember you can limit what gets auto/incrementally assembled by
| # mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
| ACTION=="add|change", IMPORT{program}="/sbin/mdadm --incremental --export $devnode --offroot $env{DEVLINKS}"
`----
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/md0 / ext4 rw,noatime,errors=remount-ro 0 0
/dev/mapper/vg-usr /usr ext4 rw,noatime 0 0
/dev/mapper/vg-data /data ext4 rw,noatime 0 0
/dev/mapper/vg-home /home ext4 rw,noatime 0 0
/dev/mapper/vg-opt /opt ext4 rw,noatime 0 0
/dev/mapper/vg-tmp /tmp ext4 rw,noatime 0 0
/dev/mapper/vg-usr--local /usr/local ext4 rw,noatime 0 0
/dev/mapper/vg-usr--src /usr/src ext4 rw,noatime,stripe=32593 0 0
/dev/mapper/vg-var /var ext4 rw,noatime 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D58N8J
(hd1) /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D6LFEY
*********************** END /boot/grub/device.map
*********************** BEGIN /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda1[0] sdb1[1]
1950656 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sda2[2] sdb2[3]
31233920 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sda3[0] sdb3[1]
943427392 blocks super 1.2 [2/2] [UU]
unused devices: <none>
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D58N8J -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D58N8J-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D58N8J-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D58N8J-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D6LFEY -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D6LFEY-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D6LFEY-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 2 12:12 ata-ST1000VX000-9YW162_S1D6LFEY-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Feb 23 13:39 ata-TSSTcorp_CDDVDW_SH-224BB_R8WS68DCB01GEV -> ../../sr0
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-data -> ../../dm-7
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-home -> ../../dm-6
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-opt -> ../../dm-5
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-tmp -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 2 16:21 dm-name-vg-usr -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-usr--local -> ../../dm-4
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-usr--src -> ../../dm-3
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-name-vg-var -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4Ph2JE4UngZUooFoU50YBsgRg7h2SaswLB1 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4PhCfq6cX6u4XaYXPuCJOVX3o370q7q6LWM -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 2 16:21 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4PhQeux4b7L5Gfvmz4mV5Y2MFG4Xb4bMqAN -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4PhSWBqUAugyhnE8AfmjaJevZNGk7UjI8Se -> ../../dm-7
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4PhfoAiLA63M5cqn78ZdIZzOBjLTjovK9aw -> ../../dm-5
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4PhgiGvinaIAcgj5SJpvGtKx4bnvcuxqCdJ -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4Phth0rrx5sZ6rAw9Q2RvNeYlDHis2ukr9y -> ../../dm-6
lrwxrwxrwx 1 root root 10 Feb 23 13:39 dm-uuid-LVM-9a886TtcydBnmk4PAiSmdVA7GDEVO4Phw8MbUD16nU73l0Lj5fji5Pbczsm2RRKd -> ../../dm-3
lrwxrwxrwx 1 root root 9 Feb 23 13:39 lvm-pv-uuid-zcDiQ0-UJIf-2qJ1-5qtk-M2oG-zJdl-wKCZM9 -> ../../md2
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-name-debian:0 -> ../../md0
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-name-debian:1 -> ../../md1
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-name-debian:2 -> ../../md2
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-uuid-19477461:8267c068:3ac8de0e:ae63e743 -> ../../md2
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-uuid-1f76bfbc:0e1033d4:1acf98f2:844b5960 -> ../../md1
lrwxrwxrwx 1 root root 9 Feb 23 13:39 md-uuid-f1f9891c:a0dacc8a:e7b3e1be:ef785814 -> ../../md0
lrwxrwxrwx 1 root root 9 Feb 23 13:39 usb-Generic-_Compact_Flash_20060413092100000-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Feb 23 13:39 usb-Generic-_MS_MS-Pro_20060413092100000-0:3 -> ../../sdf
lrwxrwxrwx 1 root root 9 Feb 23 13:39 usb-Generic-_SD_MMC_20060413092100000-0:2 -> ../../sde
lrwxrwxrwx 1 root root 9 Feb 23 13:39 usb-Generic-_SM_xD-Picture_20060413092100000-0:1 -> ../../sdd
lrwxrwxrwx 1 root root 9 Mar 2 12:12 wwn-0x5000c5005ad68f36 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005ad68f36-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005ad68f36-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005ad68f36-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Mar 2 12:12 wwn-0x5000c5005b79dd3b -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005b79dd3b-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005b79dd3b-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 2 12:12 wwn-0x5000c5005b79dd3b-part3 -> ../../sdb3
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Feb 23 13:39 037df731-c340-4de1-b032-4d367eaa9144 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Feb 23 13:39 37bea40a-dbbc-4f93-a874-310933248bc1 -> ../../dm-5
lrwxrwxrwx 1 root root 9 Feb 23 13:39 488b7cdb-8151-4e0f-adbb-bf6a96c03540 -> ../../md1
lrwxrwxrwx 1 root root 10 Feb 23 13:39 50c48838-d02c-46ca-aaf7-a17a8bcc4183 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb 23 13:39 66292e43-faa4-4257-bcaa-da8da7e427da -> ../../dm-6
lrwxrwxrwx 1 root root 9 Feb 23 13:39 86271730-a611-4f51-a4d0-f0028b70b2ce -> ../../md0
lrwxrwxrwx 1 root root 10 Feb 23 13:39 8bea2e69-5a00-43fc-8da3-afec274452ac -> ../../dm-7
lrwxrwxrwx 1 root root 10 Feb 23 13:39 d8f5451a-6672-45e7-959c-f0164fcafd19 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Feb 23 13:39 e4112f70-aeac-458e-97a7-b085f12d2401 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb 2 16:21 f5def032-66d8-4097-bad6-e65987571db2 -> ../../dm-0
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=POSIX (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.71
ii grub-common 2.02+dfsg1-12
ii grub-pc-bin 2.02+dfsg1-12
ii grub2-common 2.02+dfsg1-12
ii ucf 3.0038+nmu1
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default:
grub2/force_efi_extra_removable: false
grub2/kfreebsd_cmdline:
grub-pc/kopt_extracted: false
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
grub-pc/install_devices_failed_upgrade: true
* grub2/linux_cmdline: netconsole=+6665 at 192.168.0.1/eth0,6666 at 192.168.0.2/de:ad:be:ef:ca:fe no_console_suspend loglevel=debug ignore_loglevel swapaccount=1 vga=795
grub-pc/chainload_from_menu.lst: true
grub-pc/install_devices_empty: false
grub-pc/partition_description:
grub-pc/install_devices_failed: false
grub2/update_nvram: true
grub2/device_map_regenerated:
grub-pc/mixed_legacy_and_grub2: true
grub-pc/disk_description:
grub-pc/timeout: 5
* grub-pc/install_devices: /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D58N8J, /dev/disk/by-id/ata-ST1000VX000-9YW162_S1D6LFEY
grub-pc/hidden_timeout: false
Cheers,
--
Cristian
More information about the Pkg-grub-devel
mailing list