Skip to content

Tar fails to extract symlinks on Fedora (Function not implemented) — works on Debian/Ubuntu #360

@fcavaliere-dgs

Description

@fcavaliere-dgs

Problem description
On Fedora 44 proot instance, tar fails to extract .tar.xz archives containing symbolic links. Every symlink creation returns Function not implemented (ENOSYS), making extraction completely unusable. The same archive extracts without issues on Debian and Ubuntu proot instances, suggesting the problem is specific to how tar on Fedora invokes the symlink() syscall in the proot environment. bsdtar (libarchive) works correctly as a workaround.

Steps to reproduce
Install Fedora 44 via proot-distro v5
Install XFCE
Download the Bibata.tar.xz archive (cursor theme)
Try to extract via file manager (Thunar) → right-click → "Extract Here": nothing happens
Extract from terminal: tar -xJf Bibata.tar.xz

Expected behavior
Archive extracted successfully.

Actual behaviorr
Every symlink and file creation fails with Function not implemented:
tar: ./Bibata-Original-Ice/cursors/arrow: Cannot create symlink to 'left_ptr': Function not implemented
tar: ./Bibata-Original-Ice/cursors/left_ptr: Cannot open: Function not implemented
...
tar: Exiting with failure status due to previous errors

Additional information
The same operation works correctly on Debian and Ubuntu proot instances
bsdtar (libarchive) extracts the archive successfully on Fedora proot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions