Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-9825

osbuild: add force option to org.osbuild.group (stop failing when adding existing group)

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None
    • None

      This has been a pain point for a long time. Blueprint users will often add groups that might already exist in the image (from package installation). This is especially tricky in the service where we want to create groups when a user is added to one without needing to know in advance whether the group will exist or not.

      Let's add support for specifying the force option to groupadd

             -f, --force
                 This option causes the command to simply exit with success status if the specified group already exists. When used with -g, and the specified GID already exists, another (unique) GID is chosen (i.e.  -g is turned off).
      

              Unassigned Unassigned
              akoutsou@redhat.com Achilleas Koutsou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: