Imports github.com/snapcore/snapd/snap github.com/snapcore/snapd/strutil github.com/snapcore/snapd/strutil/shlex github.com/snapcore/snapd/systemd github.com/snapcore/snapd/dirs github.com/snapcore/snapd/logger github.com/snapcore/snapd/osutil Standard library imports log/syslog os os/exec os/user path/filepath sort strings bufio bytes fmt