Skip to content

Conversation

@tiborvass
Copy link
Contributor

Signed-off-by: Tibor Vass [email protected]

@runcom
Copy link
Collaborator

runcom commented Nov 15, 2016

Why is this needed here? Isn't just ok to skip socket activation like it's currently happening (and like Docker or runc does?

@tiborvass
Copy link
Contributor Author

@runcom it's useful for being able to build a lightweight container plugin. With the systemd dependency there is a dependency on cgo at some point which prevents me from making a static binary.

@runcom
Copy link
Collaborator

runcom commented Nov 15, 2016

I see, tests are failing though

@tiborvass
Copy link
Contributor Author

@runcom it's failing because of moby/moby@b937aa8

// checks whether /run/systemd/system/ exists and is a directory.
// http://www.freedesktop.org/software/systemd/man/sd_booted.html
//
// Copied from github.com/coreos/go-systemd/util.IsRunningSystemd
Copy link
Contributor Author

@tiborvass tiborvass Nov 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually if we do this, we probably don't need to have build tags, but it'd be less dependencies with nosystemd tag.

Copy link
Contributor

@dave-tucker dave-tucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🥇
@tiborvass would you mind rebasing?

@tiborvass
Copy link
Contributor Author

@dave-tucker @runcom rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants