apptainer / apptainer

Apptainer: Application containers for Linux

Home Page:https://apptainer.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite `Overlay mount failed with invalid argument` on Ubuntu 20.04 with sandbox container plus overlay

DrDaveD opened this issue · comments

Version of Apptainer

apptainer version 1.2.5

Expected behavior

Expect to be able to use a sandbox container with a overlay ext3 image in unprivileged mode

Actual behavior

As first reported in this #2050 comment, the apptainer command hangs, and the debug option shows an infinite series of messages like

VERBOSE [U=0,P=16410]      mountGeneric()                Overlay mount failed with invalid argument, mounting without xino option

Steps to reproduce this behavior

Run these commands with an unprivileged install of apptainer-1.2.5 on Ubuntu 20.04:

apptainer build --sandbox ubuntu-20.04 docker://ubuntu:20.04
apptainer overlay create --sparse --fakeroot --size 1024 overlay.img
apptainer -d exec -f --overlay overlay.img ubuntu-20.04 id

What OS/distro are you running

Ubuntu 20.04

How did you install Apptainer

From the Ubuntu PPA.

I created this issue just for documentation. The problem doesn't happen with version 1.3.0-rc.2.