Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
stack --docker build fails with duplicate groupadd #3092
General summary/comments (optional)
On Ubuntu Yakkety (16.10) the libvirtd group was renamed to libvirt. During the transition there are both group entries with the same gid in /etc/groups. See https://help.ubuntu.com/lts/serverguide/libvirt.html "In more recent releases (>= Yakkety) the group was renamed to libvirt. Upgraded systems get a new libvirt group with the same gid as the libvirtd group to match that."
This causes stack to issue the same two groupadd commands in a row (use --verbose to see).
Steps to reproduce
It should work
It fails with duplicate
Method of installation