Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Remove tmpfs at /run #105

Merged
merged 1 commit into from
May 8, 2018
Merged

Remove tmpfs at /run #105

merged 1 commit into from
May 8, 2018

Conversation

sargun
Copy link
Contributor

@sargun sargun commented May 8, 2018

Automatically mounting a tmpfs at /run causes
all sorts of interesting issues with copying stuff into the container.

@coveralls
Copy link

coveralls commented May 8, 2018

Pull Request Test Coverage Report for Build 557

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.004%) to 25.63%

Files with Coverage Reduction New Missed Lines %
launchguard/client/client.go 4 67.35%
Totals Coverage Status
Change from base Build 522: -0.004%
Covered Lines: 2368
Relevant Lines: 9239

💛 - Coveralls

@sargun sargun requested review from fabiokung and andrew-leung May 8, 2018 23:32
Automatically mounting a tmpfs at /run causes
all sorts of interesting issues with copying stuff into the container.

In addition, there are some images (like Ubuntu, that place stuff
under /run), an example:
/run
/run/utmp
/run/mount
/run/mount/utab
/run/lock
/run/systemd
/run/systemd/was-enabled
/run/systemd/container

--
When we try to cp anything into the container under /run,
it gets confused as well, and it tries to copy to the
layer provided by the graphdriver rather than the actual
container filesystem.
Copy link
Contributor

@fabiokung fabiokung left a comment

Choose a reason for hiding this comment

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

LGTM

On a next pass, we could consider adding a tmpfs to a titus specific location so we at least don't break existing things.

@codecov
Copy link

codecov bot commented May 8, 2018

Codecov Report

Merging #105 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
- Coverage   35.08%   34.99%   -0.09%     
==========================================
  Files          65       65              
  Lines        7316     7306      -10     
==========================================
- Hits         2567     2557      -10     
  Misses       4439     4439              
  Partials      310      310
Impacted Files Coverage Δ
executor/runtime/docker/docker.go 49.05% <ø> (-0.53%) ⬇️

@sargun sargun merged commit fb6d69f into master May 8, 2018
@sargun sargun deleted the revert-tmpfs branch May 8, 2018 23:44
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.

4 participants