Skip to content

newest alpine (3.16.0) no longer has the sg command #404

@ap-wtioit

Description

@ap-wtioit

the exec sg vpn -c at the end of openvpn.sh does not work with the current alpine:latest (3.16.0) image:

docker run --rm alpine:3.16.0 sh -c "apk add shadow && sg root -c id"

gives you:
sh: sg: not found
while it still does work with 3.15.4

docker run --rm alpine:3.15.4 sh -c "apk add shadow && sg root -c id"

uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions