Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] linux5.15 package install scripts fails if /boot is mounted on vfat fstype
@ 2023-11-01 16:01 rdslw
  2023-11-01 18:19 ` Duncaen
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: rdslw @ 2023-11-01 16:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2112 bytes --]

New issue by rdslw on void-packages repository

https://github.com/void-linux/void-packages/issues/47011

Description:
### Is this a new report?

Yes

### System Info

Void x86_musl

### Package(s) Affected

linux5.15-5.15.*

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

no, this is void specific bug.

### Expected behaviour

package linux5.15 is able to install even if /boot is a vfat partition, and chown/chmod commands may return errors, which are ignored by install scripts of linux5 package

### Actual behaviour

If the /boot (where /vmlinuz-XXX and config-XXX and initramfs-XXX are installed) is vfat filesystem (not the ext4/btrfs/others), installation of linux5.15 package fails, due to the inability to set ownership and permissions during xbps install.

What's funny, files ARE copied to /boot, but the install process fails with error after copy. So it is enough to run xpbs install three times in a row (without any fixes) and the third run, completes fine.

Important: this bug is old, it was not introduced recently, but probably been with us for a long time.

Error messages:
```
linux5.15-5.15.131_1: updating to 5.15.137_1 ...
linux5.15-5.15.137_1: unpacking ...
ERROR: linux5.15-5.15.137_1: [unpack] failed to extract file `./boot/vmlinuz-5.15.137_1': Operation not permitted
ERROR: linux5.15-5.15.137_1: [unpack] failed to extract files: Operation not permitted
ERROR: linux5.15-5.15.137_1: [unpack] failed to unpack files from archive: Operation not permitted

linux5.15-5.15.131_1: updating to 5.15.137_1 ...
linux5.15-5.15.137_1: unpacking ...
ERROR: linux5.15-5.15.137_1: [unpack] failed to extract file `./boot/config-5.15.137_1': Operation not permitted
ERROR: linux5.15-5.15.137_1: [unpack] failed to extract files: Operation not permitted
ERROR: linux5.15-5.15.137_1: [unpack] failed to unpack files from archive: Operation not permitted
```

### Steps to reproduce

1. use /boot on vfat partition (for examply to have shared EFI and /boot space).
2. try to upgrade (important) linux5.15 package (newer kernel)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-01-13 12:02 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 16:01 [ISSUE] linux5.15 package install scripts fails if /boot is mounted on vfat fstype rdslw
2023-11-01 18:19 ` Duncaen
2023-11-01 18:26 ` Duncaen
2023-11-01 18:38 ` rdslw
2023-11-01 18:43 ` classabbyamp
2023-11-01 18:59 ` rdslw
2023-11-01 19:02 ` rdslw
2023-11-01 19:09 ` Duncaen
2023-11-01 19:10 ` Duncaen
2023-11-01 19:24 ` Duncaen
2023-11-01 19:24 ` Duncaen
2023-11-01 19:25 ` classabbyamp
2023-11-01 19:25 ` Duncaen
2023-11-02 16:21 ` rdslw
2023-11-02 23:20 ` Duncaen
2023-11-02 23:20 ` Duncaen
2023-11-02 23:25 ` Duncaen
2023-11-02 23:26 ` Duncaen
2023-11-03  8:07 ` rdslw
2023-12-03  1:01 ` [ISSUE] [CLOSED] " ahesford
2023-12-03  1:01 ` ahesford
2024-01-13 10:32 ` rdslw
2024-01-13 11:08 ` Duncaen
2024-01-13 12:02 ` rdslw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).