Skip to content

fix: add hosts file to runc#1386

Closed
MasterPtato wants to merge 1 commit into
11-19-fix_remove_cgroups_from_pb_managerfrom
11-19-fix_add_hosts_file_to_runc
Closed

fix: add hosts file to runc#1386
MasterPtato wants to merge 1 commit into
11-19-fix_remove_cgroups_from_pb_managerfrom
11-19-fix_add_hosts_file_to_runc

Conversation

@MasterPtato
Copy link
Copy Markdown
Contributor

@MasterPtato MasterPtato commented Nov 19, 2024

Fixes RVT-4074

Changes

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Nov 19, 2024

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0c1c13
Status:🚫  Build failed.

View logs

@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Nov 19, 2024

Your org requires the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

This was referenced Nov 19, 2024
@linear
Copy link
Copy Markdown

linear Bot commented Nov 19, 2024

@MasterPtato MasterPtato force-pushed the 11-19-fix_remove_cgroups_from_pb_manager branch from f1e6888 to 82dbfb2 Compare November 20, 2024 18:59
@MasterPtato MasterPtato force-pushed the 11-19-fix_add_hosts_file_to_runc branch from 5a7511c to f91c159 Compare November 20, 2024 18:59
@MasterPtato MasterPtato force-pushed the 11-19-fix_remove_cgroups_from_pb_manager branch from 82dbfb2 to b7b1edd Compare November 20, 2024 19:28
@MasterPtato MasterPtato force-pushed the 11-19-fix_add_hosts_file_to_runc branch from f91c159 to e28775a Compare November 20, 2024 19:28
@MasterPtato MasterPtato force-pushed the 11-19-fix_remove_cgroups_from_pb_manager branch from b7b1edd to ef8e1a0 Compare November 21, 2024 02:43
@MasterPtato MasterPtato force-pushed the 11-19-fix_add_hosts_file_to_runc branch from e28775a to 941a5f7 Compare November 21, 2024 02:43
"source": actor_path.join("resolv.conf").to_str().context("resolv.conf path")?,
"options": ["rbind", "rprivate"]
}));
mounts.push(json!({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the file needs to be manually written to the OCI bundle instead of mounted.

The hosts file is mutable (ie you can add a new host with echo '...' >> /etc/hosts) and i don't think mounting works

@NathanFlurry NathanFlurry force-pushed the 11-19-fix_remove_cgroups_from_pb_manager branch from ef8e1a0 to 391850e Compare November 21, 2024 09:12
@NathanFlurry NathanFlurry force-pushed the 11-19-fix_add_hosts_file_to_runc branch from 941a5f7 to 6cdba87 Compare November 21, 2024 09:12
@NathanFlurry NathanFlurry force-pushed the 11-19-fix_remove_cgroups_from_pb_manager branch from 391850e to 644f7f1 Compare November 21, 2024 20:54
@NathanFlurry NathanFlurry force-pushed the 11-19-fix_add_hosts_file_to_runc branch from 6cdba87 to a0c1c13 Compare November 21, 2024 20:54
@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Nov 21, 2024

Merge activity

  • Nov 21, 3:55 PM EST: A user added this pull request to the Graphite merge queue.
  • Nov 21, 3:58 PM EST: CI is running for this PR on a draft PR: #1425
  • Nov 21, 4:00 PM EST: A user merged this pull request with the Graphite merge queue via draft PR: #1425.

NathanFlurry pushed a commit that referenced this pull request Nov 21, 2024
<!-- Please make sure there is an issue that this PR is correlated to. -->
Fixes RVT-4074
## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app Bot closed this Nov 21, 2024
@graphite-app graphite-app Bot deleted the 11-19-fix_add_hosts_file_to_runc branch November 21, 2024 21:00
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.

2 participants