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
kinit segfaults with apptainer 1.3.0 #2143
Comments
I can reproduce the problem both in suid mode and user namespace mode on an al9 machine. Interestingly, I tested it first with a configuration that had |
The problem also happens with apptainer-1.2.5 in user namespace mode. The default in suid mode then was to use the kernel squashfs so that's what's different in 1.3.0. |
I found with gdb that it is crashing after attempting to list files in It crashes at this line of code because fnames is null. The So this is a bug in krb5, not apptainer. Please submit a bug report to Alma, Red Hat, or krb5. |
No it wasn't just luck. With the kernel squashfs mount, |
Bug reported in vasi/squashfuse#133. |
workaround for apptainer/apptainer#2143 (comment)
Version of Apptainer
What version of Apptainer (or Singularity) are you using? Run
apptainer --version
(orsingularity --version
).Expected behavior
I have the following def file to create a minimal reproducer, named
sf.def
:build with
apptainer build sf.sif sf.def
run with
apptainer run sf.sif
expected: a password prompt from CS.WISC.EDU
Actual behavior
I downgraded to apptainer 1.2.5 and the problem went away. Note that I also don't see a problem if I use
almalinux:8
instead ofalmalinux:9
as the base image.What OS/distro are you running
How did you install Apptainer
I installed the RPMs
apptainer
andapptainer-suid
from EPEL. Here is my/etc/apptainer/apptainer.conf
(without comments):The text was updated successfully, but these errors were encountered: