Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Additional groups - delete if a group already exists #72

Closed
lholota opened this issue Aug 2, 2021 · 0 comments · Fixed by #78
Closed

Additional groups - delete if a group already exists #72

lholota opened this issue Aug 2, 2021 · 0 comments · Fixed by #78
Assignees
Labels
bug Something isn't working

Comments

@lholota
Copy link
Member

lholota commented Aug 2, 2021

Either by gid or by a name

When restarting container, the script throws error because the group already exists - it should skip creating the group if a group with the same gid already exists and has the same name. If name differs, delete and recreate.

Create a re-usable ash script and put it into /usr/sbin so that other images can reuse the functionality (e.g. certbot is creating an additional group for the cert reader)

@lholota lholota added the bug Something isn't working label Aug 19, 2021
@lholota lholota self-assigned this Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant