-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
instance start failed with --fakeroot #1749
Comments
I'm able to replicate this error with v1.2.4 so I don't think it has been fixed by recent cgroups PRs.
|
Yes and this problem doesn't happen in 1.1.9, but then there's a different problem of losing track of the instance (because the instance info goes into @JasonYangShadow can you please look into this? |
hmm, I tried investigating this issue.
I also tried printing out the configurations (common.config & engine.config) (paste it to json viewer)
common.config
I could not find suspicious values (might miss something)
|
continue from previous post with some useful values here
group:
systemd:
when I changed the
I feel like is it caused by |
It doesn't need to be an |
singularity works fine by default (see below comment)
|
it's working in suid installation mode or userns enabled mode. If I build apptainer with
also works with
compiled with
Also I compiled singularity with
|
|
thanks for pointing out the wrong part. Yeah, I've misunderstood the |
another update after doing more investigation. And thanks to some clues shared by @cclerget
|
continuous updates
on cgroup v1, In this PR |
Version of Apptainer
What version of Apptainer (or Singularity) are you using?
$ apptainer --version
apptainer version 1.2.2-1.el7
Expected behavior
What did you expect to see when you do...?
instance should start with --fakeroot
Actual behavior
What actually happened? Why was it incorrect?
Steps to reproduce this behavior
How can others reproduce this issue/problem?
$ apptainer instance start --fakeroot docker://alpine a1
INFO: Using cached SIF image
INFO: User not listed in /etc/subuid, trying root-mapped namespace
INFO: Using cached SIF image
INFO: Using fakeroot command combined with root-mapped namespace
ERROR: container cleanup failed: no instance found with name a1
FATAL: container creation failed: while applying cgroups config: Interactive authentication required.
FATAL: while executing starter: failed to start instance: while running /usr/libexec/apptainer/bin/starter: exit status 255
What OS/distro are you running
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
How did you install Apptainer
RPM
$ rpm -qa|egrep apptainer
apptainer-1.2.2-1.el7.x86_64
The text was updated successfully, but these errors were encountered: