Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A raw fork/exec driver that provides no isolation. #237

Merged
merged 5 commits into from
Oct 9, 2015
Merged

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Oct 8, 2015

A raw fork/exec driver that provides no isolation.

Addresses #213

@jippi
Copy link
Contributor

jippi commented Oct 9, 2015

👍

func (d *RawExecDriver) Fingerprint(cfg *config.Config, node *structs.Node) (bool, error) {
// Check that the user has explicitly enabled this executor.
enabled := strings.ToLower(cfg.ReadDefault(rawExecConfigOption, "false"))
if enabled == "1" || enabled == "true" {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should use strconv.ParseBool.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice I didn't know about this 👍

@cbednarski
Copy link
Contributor

A few minor comments, but LGTM!

dadgar added a commit that referenced this pull request Oct 9, 2015
A raw fork/exec driver that provides no isolation.
@dadgar dadgar merged commit 0d02839 into master Oct 9, 2015
@dadgar dadgar deleted the f-raw-exec-driver branch October 9, 2015 18:30
@jippi
Copy link
Contributor

jippi commented Oct 9, 2015

nice - is there an ETA for a binary release with this included?

@cbednarski
Copy link
Contributor

@jippi This will come out in 0.2.0 but we don't have a release date yet. If you'd like to try this out in advance you can build from master.

benbuzbee pushed a commit to benbuzbee/nomad that referenced this pull request Jul 21, 2022
@github-actions
Copy link

github-actions bot commented May 8, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants