-
Notifications
You must be signed in to change notification settings - Fork 97
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
Shadow hook segmentation faults when starting recent images #191
Comments
Using enroot version 3.4.1 |
I can't reproduce, is it only doing that with those images?
|
Those are the images I tried. Strangely enough ubuntu:latest works. I don't know how relevant it is but I'm running on RHEL 8. |
Sorry it's been renamed |
It seems the problem is
However "yes" works by itself, and it works as Is there anything else? |
Also now that ubuntu:latest was updated point to nobel/rolling, it's not working in latest either. |
Um, can you reproduce with the following?
|
Yes, same error. Investigating more, it seems that problem might be in RHEL 8.9 version of I'm assuming it's using the host's |
Could be this: https://bugzilla.redhat.com/show_bug.cgi?id=2021339 |
One more information: it seems that copying over |
SELinux/AppArmor? |
I fail to understand. Can you elaborate? |
Just guessing that these might have a play in that. |
Another workaround: it seems that deleting /etc/shadow avoids the issue. Perhaps that would be better than trying to fix it with pwck when the container starts? |
Enroot hooks are designed to be configurable, so you can edit them as you see fit. This is an issue with your distro tooling, not really enroot. Same crash would happen on your host, we aren't doing anything special here. |
When using recent images from Docker hub for Debian, Ubuntu and Archlinux, I'm getting an error in /etc/enroot/hooks.d/10-shadow.sh, upon start.
Steps to reproduce:
Result of start:
Even debian:stable fails.
The text was updated successfully, but these errors were encountered: