-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/create: Don't use gh.c/coreos/go-systemd
Fedora's golang-github-coreos-systemd package is still at version 19, while the support for Go modules is only available from version 22. Since all that's necessary is to retrieve the 'Listen' property from the sssd-kcm.socket unit, it's quite easy to do so directly using Go's D-Bus bindings. The systemdNeedsEscape and systemdPathBusEscape functions are copied from github.com/coreos/go-systemd's needsEscape and PathBusEscape functions respectively. The github.com/coreos/go-systemd code is licensed under the ASL 2.0, the same as Toolbox. It's copyright notice lists 'CoreOS, Inc.', but since CoreOS has been acquired by Red Hat [1], it should be covered by Toolbox's existing copyright notices that list 'Red Hat, Inc'. [1] https://www.redhat.com/en/about/press-releases/red-hat-acquire-coreos-expanding-its-kubernetes-and-containers-leadership #444
- Loading branch information
1 parent
35752e9
commit dcaf06a
Showing
3 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters