Bug#902544: linux-image-4.16.0-2-amd64: Kernel installation fails when /boot is FAT partition

2018-06-28 Thread Ben Hutchings
Control: severity -1 wishlist

On Wed, 2018-06-27 at 18:21 +0200, Josef Kufner wrote:
[...]
> Reason why it is unable to make the backup link is that my /boot is on EFI
> partition which is FAT:
[...]

This will occur if you upgrade *any* package that installs files on
/boot.  For that reason, Debian does not support /boot being on FAT or
similarly limited filesystems, and the conventional location for
mounting the EFI boot partition is /boot/efi.

(Certain Debian derivatives do support your configuration by not having
any packages that install files in /boot.)

Ben.

-- 
Ben Hutchings
This sentence contradicts itself - no actually it doesn't.



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


Bug#902544: linux-image-4.16.0-2-amd64: Kernel installation fails when /boot is FAT partition

2018-06-27 Thread Josef Kufner
Package: src:linux
Version: 4.16.12-1
Severity: important

Dear Maintainer,

when trying to install linux-image-4.16.0-2-amd64, I get the following error:

# LANG=C dpkg -i /var/cache/apt/archives/linux-
image-4.16.0-2-amd64_4.16.16-2_amd64.deb
(Reading database ... 627533 files and directories currently installed.)
Preparing to unpack .../linux-image-4.16.0-2-amd64_4.16.16-2_amd64.deb ...
Unpacking linux-image-4.16.0-2-amd64 (4.16.16-2) over (4.16.12-1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-
image-4.16.0-2-amd64_4.16.16-2_amd64.deb (--install):
 unable to make backup link of './boot/System.map-4.16.0-2-amd64' before
installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.16.0-2-amd64_4.16.16-2_amd64.deb


Reason why it is unable to make the backup link is that my /boot is on EFI
partition which is FAT:

# mount | grep boot
/dev/sda1 on /boot type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-
ro)

Older versions showed the same error, but installation succeeded anyway. Please
make the error non-fatal again (or use copy instead of link).



-- Package-specific info:
** Version:
Linux version 4.16.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-19)) #1 SMP Debian 4.16.12-1 (2018-05-27)

** Command line:
BOOT_IMAGE=/vmlinuz-4.16.0-2-amd64 root=/dev/mapper/delfinek-root ro 
cryptopts=target=delfinek_crypt,source=/dev/disk/by-partlabel/delfinek_crypt,keys=none,lvm=delfinek-root
 quiet acpi_backlight=acpi systemd.legacy_systemd_cgroup_controller=yes

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: LENOVO
product_name: 20DL0014MC
product_version: ThinkPad S1 Yoga 12
chassis_vendor: LENOVO
chassis_version: None
bios_vendor: LENOVO
bios_version: JEET79WW (1.28 )
board_vendor: LENOVO
board_name: 20DL0014MC
board_version: SDK0E50512 Std

** Loaded modules:
cpuid
ses
enclosure
scsi_transport_sas
uas
usb_storage
nf_nat_h323
nf_conntrack_h323
nf_nat_pptp
nf_nat_proto_gre
nf_conntrack_pptp
nf_conntrack_proto_gre
nf_nat_tftp
nf_conntrack_tftp
nf_nat_sip
nf_conntrack_sip
nf_nat_irc
nf_conntrack_irc
nf_nat_ftp
cdc_acm
rpcsec_gss_krb5
nfsv4
dns_resolver
mmc_block
tun
ctr
ccm
nf_conntrack_netlink
nfnetlink
xt_addrtype
br_netfilter
bridge
stp
llc
overlay
xfrm_user
pci_stub
xfrm4_tunnel
tunnel4
vboxpci(O)
ipcomp
xfrm_ipcomp
vboxnetadp(O)
esp4
vboxnetflt(O)
l2tp_ppp
l2tp_netlink
l2tp_core
ip6_udp_tunnel
udp_tunnel
ah4
pppox
ppp_generic
slhc
vboxdrv(O)
af_key
xfrm_algo
rfcomm
cpufreq_userspace
cpufreq_powersave
cpufreq_conservative
cmac
bnep
ipt_MASQUERADE
nf_nat_masquerade_ipv4
iptable_nat
nf_nat_ipv4
nf_nat
xt_DSCP
ipt_REJECT
nf_reject_ipv4
xt_tcpudp
xt_limit
nf_conntrack_ipv4
nf_defrag_ipv4
xt_conntrack
iptable_filter
iptable_mangle
nf_conntrack_ftp
nf_conntrack
crc32c_generic
binfmt_misc
nls_ascii
nls_cp437
vfat
fat
btusb
btrtl
btbcm
btintel
uvcvideo
videobuf2_vmalloc
videobuf2_memops
bluetooth
videobuf2_v4l2
videobuf2_common
videodev
drbg
ansi_cprng
media
ecdh_generic
crc16
hid_multitouch
arc4
wmi_bmof
iTCO_wdt
iTCO_vendor_support
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
iwlmvm
kvm_intel
mac80211
iwlwifi
kvm
irqbypass
intel_cstate
intel_uncore
efi_pstore
intel_rapl_perf
joydev
snd_hda_codec_hdmi
snd_hda_codec_conexant
snd_hda_codec_generic
efivars
serio_raw
snd_hda_intel
sg
rtsx_pci_ms
cfg80211
snd_hda_codec
memstick
snd_hda_core
thinkpad_acpi
tpm_tis
tpm_tis_core
nvram
intel_pch_thermal
tpm
wmi
intel_vbtn
rfkill
battery
sparse_keymap
rng_core
snd_hwdep
ac
snd_pcm_oss
soc_button_array
snd_mixer_oss
mei_me
snd_pcm
evdev
snd_timer
mei
acpi_pad
snd
soundcore
lpc_ich
shpchp
coretemp
nfsd
nfs_acl
auth_rpcgss
nfs
lockd
grace
fscache
sunrpc
fuse
loop
efivarfs
ip_tables
x_tables
autofs4
btrfs
zstd_decompress
zstd_compress
xxhash
algif_skcipher
af_alg
dm_crypt
dm_mod
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_xor
async_tx
xor
raid6_pq
libcrc32c
raid1
raid0
multipath
linear
md_mod
sd_mod
wacom
hid_generic
usbhid
hid
crct10dif_pclmul
crc32_pclmul
crc32c_intel
rtsx_pci_sdmmc
ghash_clmulni_intel
pcbc
mmc_core
aesni_intel
i915
ahci
libahci
xhci_pci
aes_x86_64
crypto_simd
glue_helper
xhci_hcd
i2c_algo_bit
cryptd
libata
usbcore
drm_kms_helper
usb_common
psmouse
i2c_i801
scsi_mod
rtsx_pci
drm
video
button

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI 
[8086:1604] (rev 09)
Subsystem: Lenovo Broadwell-U Host Bridge -OPI [17aa:503e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: bdw_uncore

00:02.0 VGA compatible