-
Notifications
You must be signed in to change notification settings - Fork 46
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
Unable to run sudo
on 40 or 41 containers if --privileged
is present
#117
Comments
One other thing I noticed is that the |
I did try upgrading all available packages on the GitHub runner, but that did not fix the issue. I have also upgraded all available packages inside the containers. No dice. |
Another clue - when I run a command like Dec 17 22:41:01 fedora41-systemd-amd64 unix_chkpwd[486]: could not obtain user info (root)
Dec 17 22:41:01 fedora41-systemd-amd64 sudo[485]: root : PAM account management error: Authentication service cannot retrieve authentication info ; TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/ls |
I posted the same information in an issue in RedHat's Bugzilla page. |
It looks like this is working correctly running from Fedora
Going to try to run an Ubuntu VM to investigate |
I was able to reproduce this on a Raspberry Pi 5 running a fresh install of Ubuntu 24.04 Server (SD card created using I also verified that the same issue occurs whether I pull the images from Docker Hub or |
On my local machine (Arch) I can run these four commands just fine:
On Ubuntu 24.04 (GitHub runner), though, I get errors running
sudo
if the containers are started with the--privileged
flag:In both cases I pulled fresh containers using
docker pull
.We use these containers together with Molecule to test Ansible roles, and this is causing all our Fedora tests to break in GitHub Actions even though the same tests pass locally.
Does anyone have any idea what is going on? I believe this started happening about four days ago.
The text was updated successfully, but these errors were encountered: