Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617032 - sys-apps/memtest86+-5.01-r2 fails to install on FAT32 boot partition
Summary: sys-apps/memtest86+-5.01-r2 fails to install on FAT32 boot partition
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 20:37 UTC by Eric Edwards
Modified: 2021-09-16 15:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Edwards 2017-04-29 20:37:56 UTC
Memtest86+ ebuild attempts to create links on /boot.  Links are not supported on FAT32/vfat so the install fails.

 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for memtest86+ to function correctly.
!!! failed to properly create symlink:
!!! /boot/memtest86plus/memtest.bin -> memtest
!!! [Errno 1] Operation not permitted
!!! Failed to move file.
!!! /boot/memtest86plus/memtest.bin -> memtest
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for memtest86+ to function correctly.
!!! failed to properly create symlink:
!!! /boot/memtest86plus/memtest.bin -> memtest
!!! [Errno 1] Operation not permitted
!!! Failed to move file.
!!! /boot/memtest86plus/memtest.bin -> memtest


app-emulation/xen has the same issue but that can be worked around with a USE=efi. See Bug 496706.

Unfortunately, there is no such use flag for memtest86+.
Comment 1 Alexander Weber 2020-08-14 11:24:18 UTC
Same issue. My error message is 

>>> Merging sys-apps/memtest86+-5.01-r4 to /
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for memtest86+ to function correctly.
--- /boot/
--- /boot/memtest86plus/
!!! copy /var/tmp/portage/sys-apps/memtest86+-5.01-r4/image/boot/memtest86plus/memtest -> /boot/memtest86plus/memtest failed.
!!! [Errno 1] Operation not permitted: b'/boot/memtest86plus/memtest#new'
Comment 2 Ben Kohler gentoo-dev 2021-09-16 13:51:19 UTC
Are you still able to reproduce this? I'm not.  I don't see any symlinks being installed at all.

FYI if you are using UEFI, this memtest doesn't work on UEFI, but sys-apps/memtest86-bin does.
Comment 3 Ben Kohler gentoo-dev 2021-09-16 15:36:15 UTC
The ebuilds which call "dosym" are gone now, so comment 1 must be about a different issue.

What you are seeing is an "operation not permitted" when trying to chown on fat32.  I can reproduce THAT if I mangle permissions on purpose (like running up through install phase as user "ben" then trying merge phase as root).