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 #2189
Comments
Yes it does seem to be a regression. #1749 was supposed to have disabled the use of cgroups with I do not get an error in my el8 test VM with apptainer 1.3.0 or 1.3.1; I'm not sure what is different between our environments. However I do get a different cgroups error on el9 with both 1.3.0 and 1.3.1:
@JasonYangShadow fixed the problem last time and hopefully can fix it again |
hmm, tested apptainer 1.3.1 on rocky linux 8 & 9. I can not reproduce this issue. Maybe it's related to system configurations?
|
I installed apptainer through dnf and enabled epel-release, nothing else I did on the system. |
Just tested again on a new RHEL9 system and still seeing it. Also tested on a CentOS 8 Stream system and it worked. Maybe this is a RHEL thing and the other distros don't have the same default config? Also possible this is something unique to our setup as all these systems were configured by the same group except for the CentOS 8 box. Is anyone else with RHEL able to test? I can see about getting test VM spun up without any config we apply and see if it still happens. Works... # cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream" Does not work (new install, minimal configuration)... $ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.4 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.4 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4" |
Oh, my el9 error only happens when /etc/subuid is not set up. Jason, try it with On el8 with I also get the same error on el7 with |
hmm, having some questions about this mode
in pure fakeroot mode, the l.uid != 0, so we won't use cgroup, it obviously looks good to me. I tried skipping initializing cgroup in this case
I guess it's because in |
The |
Version of Apptainer
What version of Apptainer (or Singularity) are you using? Run
$ apptainer --version apptainer version 1.3.0-1.el8
Expected behavior
What did you expect to see when you do...?
Actual behavior
What actually happened? Why was it incorrect?
Steps to reproduce this behavior
How can others reproduce this issue/problem?
How did you install Apptainer
Write here how you installed Apptainer (or Singularity).
RPM
Notes
Seems to be the same issue as #1749 but that was resolved, possible regression? Thanks!
The text was updated successfully, but these errors were encountered: