[Fwd: Bug#847991: initramfs-tools: upgrade to stretch in kvm image fails when trying to copy 70-persistent-net.rules]
Ben Hutchings
ben at decadent.org.uk
Mon Dec 12 22:03:47 GMT 2016
I've reassigned this to udev since its hook is failing.
Ben.
-------- Forwarded Message --------
Message-id: <20161212214234.797.94144.reportbug at jessie.vagrantup.com>
Date: Mon, 12 Dec 2016 21:42:34 +0000
Subject: Bug#847991: initramfs-tools: upgrade to stretch in kvm image fails when trying to copy 70-persistent-net.rules
To: Debian Bug Tracking System <submit at bugs.debian.org>
Reply-to: Gabriel Filion <gabster at lelutin.ca>, 847991 at bugs.debian.org
From: Gabriel Filion <gabster at lelutin.ca>
Package: initramfs-tools
Version: 0.120+deb8u2
Severity: important
Hi there,
I've tried upgrading a VM from jessie to stretch and I'm having an issue with
initramfs-tools.
The upgrade is from 0.120+deb8u2 to 0.125. The system is a KVM image of debian
jessie (vanilla debian install with only mysql-server installed on top)
During the upgrade I got the following error message:
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: omitting directory ‘/etc/udev/rules.d/70-persistent-net.rules’
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
after that, I've tried running apt -f install and got:
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: cannot stat ‘/etc/modprobe.d/*’: No such file or directory
cp: omitting directory ‘/etc/udev/rules.d/70-persistent-net.rules’
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-7) ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
which seems to be blocking on the same error, just with one more warning.
FWIW, 70-persistent-net.rules is a directory but is emtpy.
I've set priority to "important" since it seems to be blocking upgrade, but I
don't know if this applies to more architectures.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 16M Dec 12 21:01 /boot/initrd.img-3.16.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/jessie--vg-root ro debian-installer=en_US quiet
-- resume
RESUME=/dev/mapper/jessie--vg-swap_1
-- /proc/filesystems
ext3
ext2
ext4
-- lsmod
Module Size Used by
nfsv3 37551 1
nfsd 262938 2
auth_rpcgss 51209 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 2 nfsd,nfsv3
nfs 192232 4 nfsv3
lockd 83389 3 nfs,nfsd,nfsv3
fscache 45542 1 nfs
sunrpc 237364 24 nfs,nfsd,auth_rpcgss,lockd,nfsv3,nfs_acl
crc32_pclmul 12915 0
ppdev 16782 0
aesni_intel 151423 0
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12695 1 aesni_intel
ablk_helper 12572 1 aesni_intel
cryptd 14516 2 aesni_intel,ablk_helper
evdev 17445 3
pcspkr 12595 0
serio_raw 12849 0
virtio_balloon 13047 0
ttm 77862 0
parport_pc 26300 0
drm_kms_helper 49210 0
parport 35749 2 ppdev,parport_pc
drm 249998 2 ttm,drm_kms_helper
i2c_piix4 20864 0
i2c_core 46012 3 drm,i2c_piix4,drm_kms_helper
processor 28221 0
thermal_sys 27642 1 processor
button 12944 0
autofs4 35529 2
ext4 477942 2
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 82514 1 ext4
dm_mod 89405 6
ata_generic 12490 0
virtio_blk 17345 3
virtio_net 26553 0
crct10dif_pclmul 13387 0
crct10dif_common 12356 1 crct10dif_pclmul
crc32c_intel 21809 0
psmouse 99249 0
ata_piix 33592 0
floppy 65068 0
uhci_hcd 43499 0
ehci_hcd 69837 0
virtio_pci 17389 0
virtio_ring 17513 4 virtio_blk,virtio_net,virtio_pci,virtio_balloon
virtio 13058 4 virtio_blk,virtio_net,virtio_pci,virtio_balloon
usbcore 195468 2 uhci_hcd,ehci_hcd
usb_common 12440 1 usbcore
libata 177508 2 ata_generic,ata_piix
scsi_mod 191405 1 libata
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fsck
keymap
klibc-utils
klibc^i-t
kmod
lvm2
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.22.0-9+deb8u1
ii cpio 2.11+dfsg-4.1+deb8u1
ii klibc-utils 2.0.4-9
ii kmod 18-3
ii udev 232-7
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-9+deb8u1
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.3
-- no debconf information
--
Ben Hutchings
If at first you don't succeed, you're doing about average.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161212/6ee93883/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list