Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496706 - app-emulation/xen-4.3.1-r1 fails to create symlink on FAT32 UEFI partition
Summary: app-emulation/xen-4.3.1-r1 fails to create symlink on FAT32 UEFI partition
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 21:45 UTC by DJ Dunn
Modified: 2014-02-07 05:16 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 DJ Dunn 2014-01-01 21:45:52 UTC
xen fails to install with 

>>> Performing suid scan in /var/tmp/portage/app-emulation/xen-4.3.1-r1/image/
--- /boot/  
!!! failed to properly create symlink:
!!! /boot/xen-4.3.gz -> xen-4.3.1.gz
!!! [Errno 1] Operation not permitted
!!! Failed to move file.
!!! /boot/xen-4.3.gz -> xen-4.3.1.gz


it fails to create a symlink because /boot is a uefi partition and you cant make symlinks on a fat32 partition
Comment 1 DJ Dunn 2014-01-01 22:11:03 UTC
i worked around this by mounting a tmpfs on /boot installing it and coping xen-4.3.1.gz for each symlink so theres 4 copies of the file with 4 different names rather than 3 symlinks pointing to the file
Comment 2 Tomáš Mózes 2014-01-02 11:58:39 UTC
Mount it as vfat and emerge with USE="-xattr".
Comment 3 Yixun Lan gentoo-dev 2014-01-27 14:23:23 UTC
vfat filesystem do not support symbolic link.

can you enable USE=efi, and emerge again? it will try to copy images instead of creating symbolic link.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2014-02-07 05:16:05 UTC
yes as above.  The USE=efi flag was made for the purpose of managing this exact scenario and the ebuild adjusted to copy in place of symlink in a vfat partition.  This is a case of the user need be aware enough to observe the options made available for an efi boot which I did a long time ago.  It's not something fixable since it isn't broken, hence CANTFIX