Skip to content
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

sysuers: fix error if running groupadd with -f #4489

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

HuijingHei
Copy link
Member

According to Colin's pointer, this is to fix the error when running rpm-ostree install libvirt in container,

bash# env RPMOSTREE_EXP_BRIDGE_SYSUSERS=1 rpm-ostree install libvirt
...
+ test -v RPMOSTREE_EXP_BRIDGE_SYSUSERS
+ rpm-ostree scriptlet-intercept groupadd -- /sbin/groupadd -f -g 107 -r qemu
error: a value is required for '--force <force>' but none was supplied

For more information, try '--help'.

@cgwalters
Copy link
Member

Needs cargo fmt

According to Colin's pointer, this is to fix the error when running
`rpm-ostree install libvirt` in container,
```
bash# env RPMOSTREE_EXP_BRIDGE_SYSUSERS=1 rpm-ostree install libvirt
...
+ test -v RPMOSTREE_EXP_BRIDGE_SYSUSERS
+ rpm-ostree scriptlet-intercept groupadd -- /sbin/groupadd -f -g 107 -r qemu
error: a value is required for '--force <force>' but none was supplied

For more information, try '--help'.
```
@HuijingHei HuijingHei merged commit 1a275ee into coreos:main Jul 6, 2023
12 of 13 checks passed
@HuijingHei HuijingHei deleted the fix-groupadd-force branch July 6, 2023 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants