Details
Description
In karaf-service when a primary group cannot be found the RUN_AS_GROUP variable is not set correctly. It is currently:
# Resolve the primary group RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1` if [ "X$RUN_AS_GROUP" = "X" ] then RUN_AS_GROUP=RUN_AS_USER fi
Don't think we mean to set RUN_AS_GROUP to "RUN_AS_USER". Attaching patch shortly.