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

Bug#861057: initramfs-tools: no longer supports RESUME=LABEL|UUID syntax



Package: initramfs-tools
Version: 0.129
Severity: normal

For many years I have been using "RESUME=LABEL=swap" in
/etc/initramfs-tools/conf.d/resume.  Since initramfs-tools 0.129 this
does no longer work:

,----
| # update-initramfs -c -k 4.11.0-rc7-nouveau -t
| update-initramfs: Generating /boot/initrd.img-4.11.0-rc7-nouveau
| W: initramfs-tools configuration sets RESUME=LABEL=swap
| W: but no matching swap device is available.
| I: The initramfs will attempt to resume from /dev/sdb1
| I: (UUID=4dbd12ed-75ac-445e-933a-93df34314795)
| I: Set the RESUME variable to override this.
`----

Contrary to what is stated in NEWS.Debian,
RESUME=UUID=4dbd12ed-75ac-445e-933a-93df34314795 in
/etc/initramfs-tools/conf.d/resume leads to the same warning.


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root  17M Mär 21 20:39 /boot/initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 5,2M Apr 12 15:54 /boot/initrd.img-4.10.10-nouveau
-rw-r--r-- 1 root root 5,2M Apr 18 10:38 /boot/initrd.img-4.10.11-nouveau
-rw-r--r-- 1 root root 5,2M Apr 21 15:27 /boot/initrd.img-4.10.12-nouveau
-rw-r--r-- 1 root root 5,2M Mär  6 11:12 /boot/initrd.img-4.11.0-rc1-nouveau
-rw-r--r-- 1 root root 5,2M Mär 17 23:09 /boot/initrd.img-4.11.0-rc2-nouveau
-rw-r--r-- 1 root root 5,2M Mär 23 12:31 /boot/initrd.img-4.11.0-rc3-nouveau
-rw-r--r-- 1 root root 5,2M Mär 29 09:00 /boot/initrd.img-4.11.0-rc4-nouveau
-rw-r--r-- 1 root root 5,2M Apr  9 12:28 /boot/initrd.img-4.11.0-rc5-nouveau
-rw-r--r-- 1 root root 5,2M Apr  9 20:55 /boot/initrd.img-4.11.0-rc6-nouveau
-rw-r--r-- 1 root root 5,2M Apr 24 09:31 /boot/initrd.img-4.11.0-rc7-nouveau
-rw-r--r-- 1 root root 5,2M Apr 24 08:59 /boot/initrd.img-4.11.0-rc8-nouveau
-rw-r--r-- 1 root root 5,0M Apr 12 15:54 /boot/initrd.img-4.4.61-nouveau
-rw-r--r-- 1 root root 5,0M Apr 18 10:38 /boot/initrd.img-4.4.62-nouveau
-rw-r--r-- 1 root root 5,0M Apr 21 15:27 /boot/initrd.img-4.4.63-nouveau
-rw-r--r-- 1 root root 5,1M Apr  8 12:09 /boot/initrd.img-4.9.21-nouveau
-rw-r--r-- 1 root root 5,1M Apr 12 15:53 /boot/initrd.img-4.9.22-nouveau
-rw-r--r-- 1 root root 5,1M Apr 18 10:38 /boot/initrd.img-4.9.23-nouveau
-rw-r--r-- 1 root root 5,1M Apr 21 15:27 /boot/initrd.img-4.9.24-nouveau
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.24-nouveau root=UUID=d810a348-fcd5-4a4e-b937-65e64e7ab543 ro reboot=pci acpi_enforce_resources=lax quiet

-- resume
RESUME=LABEL=swap
-- /proc/filesystems
	ext3
	ext2
	ext4

-- lsmod
Module                  Size  Used by
usb_storage            48130  0
snd_seq_oss            26179  0
snd_seq_midi_event      5252  1 snd_seq_oss
snd_seq                44554  5 snd_seq_midi_event,snd_seq_oss
snd_seq_device          3048  2 snd_seq,snd_seq_oss
ctr                     3840  4
ccm                     8304  2
ipt_MASQUERADE          1213  1
nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
iptable_nat             1887  1
nf_conntrack_ipv4       7044  1
nf_defrag_ipv4          1347  1 nf_conntrack_ipv4
nf_nat_ipv4             4507  1 iptable_nat
nf_nat                 13085  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack           60210  4 nf_conntrack_ipv4,nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat
arc4                    2040  2
binfmt_misc             6790  1
coretemp                5852  0
acpi_cpufreq            7186  0
kvm_intel             167309  0
kvm                   322212  1 kvm_intel
irqbypass               2680  1 kvm
rt2800usb              17091  0
rt2x00usb               8561  1 rt2800usb
rt2800lib              72754  1 rt2800usb
rt2x00lib              31910  3 rt2800lib,rt2800usb,rt2x00usb
mac80211              340976  3 rt2800lib,rt2x00lib,rt2x00usb
pcspkr                  2035  0
cfg80211              235323  2 rt2x00lib,mac80211
snd_hda_codec_realtek    55683  1
crc_ccitt               1467  1 rt2800lib
snd_hda_codec_generic    52231  1 snd_hda_codec_realtek
sg                     24669  0
snd_hda_intel          17521  0
snd_hda_codec          72230  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           39863  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_pcm_oss            34609  0
snd_mixer_oss          13600  1 snd_pcm_oss
snd_pcm                73145  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              19103  2 snd_seq,snd_pcm
snd                    54329  11 snd_pcm_oss,snd_hda_intel,snd_mixer_oss,snd_seq,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_seq_device,snd_seq_oss,snd_pcm
intel_agp              11049  0
soundcore               5027  1 snd
intel_gtt              12341  1 intel_agp
8250                   13711  0
8250_base              20223  1 8250
serial_core            23306  2 8250,8250_base
evdev                  12394  6
processor              27001  1 acpi_cpufreq
w83627ehf              31092  0
hwmon_vid               3108  1 w83627ehf
nfsd                  230805  13
auth_rpcgss            40640  1 nfsd
oid_registry            2435  1 auth_rpcgss
nfs_acl                 2719  1 nfsd
lockd                  57002  1 nfsd
grace                   1794  2 nfsd,lockd
parport_pc             29909  1
sunrpc                174168  18 auth_rpcgss,nfsd,nfs_acl,lockd
ppdev                   7110  0
lp                      9074  0
parport                32286  3 lp,parport_pc,ppdev
ip_tables              15161  1 iptable_nat
x_tables               16453  2 ip_tables,ipt_MASQUERADE
ipv6                  310177  48
autofs4                22174  2
sr_mod                 12439  0
cdrom                  26243  1 sr_mod
i2c_i801               12784  0
i2c_smbus               3105  1 i2c_i801
pata_acpi               3427  0
fan                     4086  0
thermal                10110  0
nouveau              1440021  3
ehci_pci                3911  0
button                  6389  1 nouveau
wmi                     7252  1 nouveau
video                  28702  1 nouveau
i2c_algo_bit            5136  1 nouveau
sky2                   46527  0
hwmon                   7902  3 w83627ehf,nouveau,coretemp
drm_kms_helper         98561  1 nouveau
syscopyarea             3134  1 drm_kms_helper
sysfillrect             3498  1 drm_kms_helper
sysimgblt               2239  1 drm_kms_helper
fb_sys_fops             1378  1 drm_kms_helper
ttm                    69760  1 nouveau
drm                   256358  6 nouveau,ttm,drm_kms_helper
uhci_hcd               21356  0
ehci_hcd               40663  1 ehci_pci
usbcore               162164  7 rt2x00lib,rt2800usb,usb_storage,rt2x00usb,ehci_hcd,uhci_hcd,ehci_pci
usb_common              2222  1 usbcore

-- /etc/initramfs-tools/modules
nouveau

-- /etc/kernel-img.conf
# This is a sample /etc/kernel-img.conf file
# See kernel-img.conf(5) for details

# If you want the symbolic link (or image, if move_image is set) to be
# stored elsewhere than / set this variable to the dir where you
# want the symbolic link.  Please note that this is not a Boolean
# variable.  This may be of help to loadlin users, who may set both
# this and move_image. Defaults to /. This can be used in conjunction
# with all above options except link_in_boot, which would not make
# sense.  (If both image_dest and link_in_boot are set, link_in_boot
# overrides).
image_dest = /

# This option manipulates the build link created by recent kernels. If
# the link is a dangling link, and if a the corresponding kernel
# headers appear to have been installed on the system, a new symlink
# shall be created to point to them.
#relink_build_link = YES

# If set, the preinst shall silently try to move /lib/modules/version
# out of the way if it is the same version as the image being
# installed. Use at your own risk.
#clobber_modules = NO

# If set, does not prompt to continue after a depmod problem in the
# postinstall script.  This facilitates automated installs, though it
# may mask a problem with the kernel image. A diagnostic is still
# issued. This is unset be default.
# ignore_depmod_err = NO

# These setting are for legacy postinst scripts only. newer postinst
# scripts from the kernel-package do not use them
do_bootloader = No
do_initrd = Yes
link_in_boot = Yes

-- /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

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

/usr/share/initramfs-tools/hooks:
dmsetup
fsck
keymap
klibc-utils
kmod
resume
thermal
udev
zz-busybox

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386
 (x86_64)

Kernel: Linux 4.9.24-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.129
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: