Comments (5)
cc @tylerschultz @holgero @beyhan
from bosh-agent.
After some more investigation:
- we have co-located some job that re-starts the agent
- when the agent runs a second time, it also re-sets the permissions to
700
insetupTmpDir
- it doesn't run the code for mounting again, which in stemcell 3262.12 means it also didn't change permissions to
770
, seebosh-agent/platform/linux_platform.go
Lines 806 to 818 in cbe532e
- this seems to be fixed on develop, because permission change is now independent of bind-mounting, see https://github.com/cloudfoundry/bosh-agent/blob/develop/platform/linux_platform.go#L821-L839
from bosh-agent.
Nice investigation! I agree with what you've discovered. So, to recap, the issue happens to be fixed on bosh-agent's develop, but we should consider backporting those fixes onto 3262.x because, while most environments won't hit this initially, if the agent crashes or is intentionally restarted we will start seeing this strange and incorrect behavior during standard BOSH lifecycles.
Sounds like something @cppforlife will care about.
from bosh-agent.
I believe this could be closed at this point? @voelzmo @dpb587-pivotal
from bosh-agent.
yeah, this is fixed in most recent stemcells.
from bosh-agent.
Related Issues (20)
- bosh-agent reporting erroneous disk data on bionic HOT 3
- Unable to mount a persistent disk with Bionic Stemcell on Softlayer HOT 22
- Agent panics from sfdisk output
- bin/test dev script is broken HOT 5
- bin/test-bosh-integration dev script is broken HOT 6
- sfdisk -uM causes partitioning to fail on some linux platforms HOT 4
- Unit test script is broken in main HOT 3
- Agent could be blocked by blobstore access issues HOT 8
- Windows agent is not able to gracefully shutdown job processes HOT 1
- connection flooding from bosh-agents whilst director is unavailable HOT 10
- [Windows] Failing process not reliably reported HOT 1
- (question) Would it be desired to have BTRFS as an alternative filesystem? HOT 2
- Modify the default setup of connection between agent and nats on director HOT 2
- Device path resolution times out for aws and ali HOT 25
- Persistent disk resize fails to handle linux sparse files, resulting in filling up target persistent disk
- Agent fails to boot on Noble Numbat pre-release stemcells
- Document compile command on bosh.io HOT 4
- `bosh-agent compile` generates broken compiled releases HOT 1
- `release.MF` created by `bosh-agent compile` missing dependencies and has invalid fingerprint.
- noble switch from iptables to nftables HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-agent.