-
Notifications
You must be signed in to change notification settings - Fork 59
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
Enable subid for service users #1742
Comments
Why not create the user via Ignition? It should create the user with subuid/gid allocations. |
Maybe it's coreos/butane#494? |
@travier I try to create with ignition but that my point, service user are not created with the subids. Maybe it's a good feature request to butane (or ignition) project ? |
You butane config above does not create the user via Ignition. If you can provide a Butane config that show the error then we can move that as an enhancement for Butane or Ignition. In the meantime you can likely add a service unit that "fixes" your user via usermod. |
@travier, to be clear: Here is how I create my user with butane:
The fact is, there is no option in butane to specify the user must be created with the |
I'm having the same issue. Users defined as |
Describe the bug
There is no associated subid with service user. This prevent using service users to run containers on FCOS
Reproduction steps
useradd -r -m foo
sudo su foo
podman run docker.io/library/hello-world
Expected behavior
Should works correctly
Actual behavior
Got that error message:
System details
Run on AWS
Butane or Ignition config
Additional information
There is an option with
useradd
command to setup the subids (flag-F, --add-subids-for-system add entries to sub[ud]id even when adding a system user
). This works correctly if I create on runtime my user with that-F
flagThe text was updated successfully, but these errors were encountered: