[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#902740: initramfs-tools: /etc/initramfs-tools/conf.d/resume not updated with dpkg-reconfigure initramfs-tools



Package: initramfs-tools
Version: 0.130
Severity: wishlist

I copied a drive from one laptop to another, using
rsync and various hacks. The swap partition on the new drive
has a different UUID. 

I had to regenerate initramfs for each kernel version,
because the lappies are different type hardware, with 
different modules needed.

When I ran update-initramfs it worked perfectly, except that 
it threw an informational message that it couldn't find the
resume partition listed in the conf file, so it would use
the swap partition it did find.

I ran dpkg-reconfigure initramfs-tools to update the 
configs with the new swap partition UUID, but the message 
kept appearing.

So, rather than have it keep throwing the informational
message forever, I copied and pasted the UUID of swap
into /etc/initramfs-tools/conf.d/resume.

It works now without the message. It would be nice if
the message gave the path of the config file in question,
or better yet, if dpkg-reconfigure initramfs-tools
 would update the 'resume' config file with the new
swap partition. 

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 18M Feb 27 00:37 /boot/initrd.img-4.9.0-4-amd64
-rw-r--r-- 1 root root 18M May 17 21:08 /boot/initrd.img-4.9.0-6-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-6-amd64 root=UUID=a28a1d13-49b8-4f25-b310-d1d17e69cec9 ro quiet

-- resume
RESUME=UUID=31fe945f-b629-425b-91dd-e08260816714
-- /proc/filesystems
	ext3
	ext2
	ext4
	xfs
	fuseblk
	vfat

-- lsmod
Module                  Size  Used by
tun                    28672  0
nls_ascii              16384  0
nls_cp437              20480  0
vfat                   20480  0
fat                    69632  1 vfat
fuse                   98304  3
ftdi_sio               53248  0
usbserial              49152  1 ftdi_sio
pci_stub               16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               466944  3 vboxnetadp,vboxnetflt,vboxpci
xfs                  1224704  2
libcrc32c              16384  1 xfs
usblp                  20480  0
uas                    24576  0
usb_storage            73728  3 uas
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
asus_nb_wmi            28672  0
asus_wmi               28672  1 asus_nb_wmi
sparse_keymap          16384  1 asus_wmi
rfkill                 24576  3 asus_wmi
kvm_intel             192512  0
kvm                   593920  1 kvm_intel
snd_hda_codec_hdmi     49152  1
iTCO_wdt               16384  0
irqbypass              16384  1 kvm
iTCO_vendor_support    16384  1 iTCO_wdt
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
snd_hda_codec_realtek    90112  1
ghash_clmulni_intel    16384  0
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
nouveau              1556480  1
i915                 1257472  17
intel_cstate           16384  0
snd_hda_intel          36864  6
mxm_wmi                16384  1 nouveau
intel_uncore          118784  0
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
ttm                    98304  1 nouveau
evdev                  24576  19
joydev                 20480  0
intel_rapl_perf        16384  0
snd_hda_core           86016  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
drm_kms_helper        155648  2 nouveau,i915
serio_raw              16384  0
pcspkr                 16384  0
snd_hwdep              16384  1 snd_hda_codec
mei_me                 36864  0
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
drm                   360448  12 nouveau,i915,ttm,drm_kms_helper
snd_timer              32768  1 snd_pcm
mei                   102400  1 mei_me
sg                     32768  0
snd                    86016  20 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
i2c_algo_bit           16384  2 nouveau,i915
soundcore              16384  1 snd
lpc_ich                24576  0
shpchp                 36864  0
mfd_core               16384  1 lpc_ich
wmi                    16384  3 asus_wmi,mxm_wmi,nouveau
battery                20480  0
ac                     16384  0
video                  40960  3 asus_wmi,nouveau,i915
button                 16384  2 nouveau,i915
coretemp               16384  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  5
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  6 ext4
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  9
crc32c_intel           24576  11
aesni_intel           167936  1
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
ahci                   36864  6
libahci                32768  1 ahci
libata                249856  2 ahci,libahci
psmouse               135168  0
xhci_pci               16384  0
ehci_pci               16384  0
i2c_i801               24576  0
scsi_mod              225280  6 sd_mod,usb_storage,libata,uas,sr_mod,sg
i2c_smbus              16384  1 i2c_i801
xhci_hcd              188416  1 xhci_pci
ehci_hcd               81920  1 ehci_pci
atl1c                  49152  0
usbcore               253952  10 usbhid,usb_storage,ehci_hcd,ftdi_sio,usblp,usbserial,xhci_pci,uas,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
thermal                20480  0

-- /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=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
brltty
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
ntfs_3g
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.130
ii  linux-base            4.5

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.1-4.3

-- no debconf information


Reply to: