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

Bug#961395: marked as done (update-initramfs fails with /boot on FAT filesystem)



Your message dated Mon, 29 Jul 2024 00:00:16 +0200
with message-id <478408f483391153a73c36361e6c443e352ac38b.camel@decadent.org.uk>
and subject line Re: initramfs-tools: failed hardlink initrd.img
has caused the Debian Bug report #961395,
regarding update-initramfs fails with /boot on FAT filesystem
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
961395: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961395
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.137
Severity: important

Dear Maintainer,

   * What led up to the situation?
New installation of 'testing' while updating initramfs
   * What exactly did you do (or not do) that was     effective (or
     ineffective)?
 root@snowflake# update-initramfs -u
ln: failed to create hard link '/boot/initrd.img-5.6.0-1-amd64.dpkg-bak' =>
'/boot/initrd.img-5.6.0-1-amd64': Operation not permitted
update-initramfs: Generating /boot/initrd.img-5.6.0-1-amd64
-
-
-
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=b6c95418-424c-4e50-b856-c6c9e9ba6f58)
I: Set the RESUME variable to override this.
root@snowflake#

 NOTE:
The system seems stable after one or two rebuilds of the initrd.img.
/dev/sda4 is the swap partition.
The system is booting UEFI so according to bits and pieces of info
found here and there
the first partition is a fat/efi partition mounted under /boot/efi
and the 2nd partion is fat32 and mounted under /boot.
This is possibly the cause of this warning.

It might be useful to clarify the thinking about this matter in the doku.

Regards,

Jan de Kruyf.



-- Package-specific info:
-- initramfs sizes
-rwxr-xr-x 1 root root 64M May 24 04:52 /boot/initrd.img-5.6.0-1-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.6.0-1-amd64 root=UUID=a3feaf78-b118-40ed-a405-06caf7c1a5cd ro quiet splash

-- /proc/filesystems
	btrfs
	ext3
	ext2
	ext4
	vfat
	fuseblk

-- lsmod
Module                  Size  Used by
dm_mod                159744  0
rfcomm                 90112  12
fuse                  139264  3
ctr                    16384  2
ccm                    20480  6
cmac                   16384  1
bnep                   28672  2
snd_soc_skl           180224  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_ext_core       36864  2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_hda_codec_hdmi     73728  1
ath10k_pci             49152  0
snd_soc_sst_dsp        40960  1 snd_soc_skl
ath10k_core           405504  1 ath10k_pci
snd_soc_acpi_intel_match    40960  1 snd_soc_skl
btusb                  57344  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
ath                    36864  1 ath10k_core
btintel                32768  1 btusb
snd_soc_core          278528  2 snd_soc_hdac_hda,snd_soc_skl
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
snd_hda_codec_realtek   126976  1
nls_ascii              16384  2
coretemp               20480  0
snd_compress           28672  1 snd_soc_core
mei_wdt                16384  0
nls_cp437              20480  2
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
snd_hda_intel          57344  0
vfat                   20480  2
bluetooth             667648  39 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_intel_dspcfg       24576  2 snd_hda_intel,snd_soc_skl
kvm_intel             327680  0
intel_rapl_msr         20480  0
fat                    86016  1 vfat
snd_hda_codec         163840  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
dell_laptop            28672  0
uvcvideo              114688  0
mac80211              892928  1 ath10k_core
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,dell_laptop
snd_hda_core          106496  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
videobuf2_vmalloc      20480  1 uvcvideo
kvm                   811008  1 kvm_intel
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_hwdep              16384  1 snd_hda_codec
irqbypass              16384  1 kvm
videobuf2_v4l2         28672  1 uvcvideo
intel_cstate           16384  0
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
snd_pcm               131072  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core
dell_smm_hwmon         20480  0
intel_uncore          147456  0
drbg                   28672  1
videodev              266240  3 videobuf2_v4l2,uvcvideo,videobuf2_common
dell_wmi               20480  0
intel_rapl_perf        16384  0
dell_smbios            32768  2 dell_wmi,dell_laptop
efi_pstore             16384  0
ansi_cprng             16384  0
snd_timer              45056  1 snd_pcm
dcdbas                 20480  1 dell_smbios
joydev                 28672  0
mc                     57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
sparse_keymap          16384  1 dell_wmi
cfg80211              864256  3 ath,mac80211,ath10k_core
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
serio_raw              20480  0
snd                   106496  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
mei_me                 45056  1
efivars                20480  1 efi_pstore
watchdog               28672  2 iTCO_wdt,mei_wdt
pcspkr                 16384  0
wmi_bmof               16384  0
mei                   122880  3 mei_wdt,mei_me
processor_thermal_device    20480  0
ecdh_generic           16384  2 bluetooth
ecc                    36864  1 ecdh_generic
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_device
intel_soc_dts_iosf     20480  1 processor_thermal_device
sg                     36864  0
tpm_crb                20480  0
soundcore              16384  1 snd
libarc4                16384  1 mac80211
intel_pch_thermal      16384  0
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
evdev                  28672  15
dell_rbtn              20480  0
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
acpi_pad               28672  0
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
ac                     16384  0
rfkill                 28672  8 bluetooth,dell_laptop,dell_rbtn,cfg80211
int3403_thermal        16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
rng_core               16384  1 tpm
parport_pc             28672  0
ppdev                  24576  0
lp                     20480  0
parport                61440  3 parport_pc,lp,ppdev
efivarfs               16384  1
ip_tables              32768  0
x_tables               53248  1 ip_tables
autofs4                53248  2
ext4                  774144  4
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
btrfs                1503232  0
blake2b_generic        20480  0
xor                    24576  1 btrfs
zstd_decompress        90112  1 btrfs
zstd_compress         188416  1 btrfs
raid6_pq              122880  1 btrfs
libcrc32c              16384  1 btrfs
crc32c_generic         16384  0
sd_mod                 57344  8
t10_pi                 16384  1 sd_mod
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crc32_pclmul           16384  0
crc32c_intel           24576  9
i915                 2506752  10
ghash_clmulni_intel    16384  0
ahci                   40960  7
libahci                45056  1 ahci
libata                290816  2 libahci,ahci
rtsx_pci_sdmmc         32768  0
mmc_core              184320  1 rtsx_pci_sdmmc
i2c_algo_bit           16384  1 i915
drm_kms_helper        245760  1 i915
xhci_pci               20480  0
scsi_mod              253952  3 sd_mod,libata,sg
xhci_hcd              290816  1 xhci_pci
cec                    61440  2 drm_kms_helper,i915
aesni_intel           368640  5
rtsx_pci               90112  1 rtsx_pci_sdmmc
psmouse               180224  0
libaes                 16384  2 bluetooth,aesni_intel
crypto_simd            16384  1 aesni_intel
mfd_core               20480  1 rtsx_pci
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
drm                   598016  7 drm_kms_helper,i915
glue_helper            16384  1 aesni_intel
e1000e                290816  0
usbcore               315392  4 xhci_hcd,uvcvideo,btusb,xhci_pci
ptp                    20480  1 e1000e
pps_core               24576  1 ptp
i2c_i801               32768  0
usb_common             16384  3 xhci_hcd,usbcore,uvcvideo
wmi                    36864  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
battery                20480  0
video                  53248  3 dell_wmi,dell_laptop,i915
button                 24576  0

-- /etc/initramfs-tools/modules

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
RUNSIZE=10%

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

-- /etc/crypttab
# /etc/crypttab: mappings for encrypted partitions.
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# See crypttab(5) for the supported syntax.
#
# NOTE: Do not list your root (/) partition here, it must be set up
#       beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies
#       to encrypted swap, which should be set up with mkinitcpio-openswap
#       for resume support.
#
# <name>               <device>                         <password> <options>

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

/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.137
ii  linux-base            4.6

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, 24 May 2020 05:41:22 +0200 jan de kruyf
<jan.de.kruyf@gmail.com> wrote:
> Package: initramfs-tools
> Version: 0.137
> Severity: important
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> New installation of 'testing' while updating initramfs
>    * What exactly did you do (or not do) that was     effective (or
>      ineffective)?
>  root@snowflake# update-initramfs -u
> ln: failed to create hard link '/boot/initrd.img-5.6.0-1-amd64.dpkg-
bak' =>
> '/boot/initrd.img-5.6.0-1-amd64': Operation not permitted
[...]
> the first partition is a fat/efi partition mounted under /boot/efi
> and the 2nd partion is fat32 and mounted under /boot.
> This is possibly the cause of this warning.

Indeed, this is not a supported configuration.

> It might be useful to clarify the thinking about this matter in the doku.

This requirement is not unique to initramfs-tools.  If you install any
package that has files in /boot, you can run into the same problem:
https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_the_filesystem_requirements_by_dpkg.3F

So I don't think it needs to be documented here.

Ben.

-- 
Ben Hutchings
Any smoothly functioning technology is indistinguishable
from a rigged demo.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: