Skip to content

Fix logs on jumpbox#109

Open
schmidtsv wants to merge 2 commits intocloudfoundry-community:mainfrom
schmidtsv:fix-logs-on-jumpbox
Open

Fix logs on jumpbox#109
schmidtsv wants to merge 2 commits intocloudfoundry-community:mainfrom
schmidtsv:fix-logs-on-jumpbox

Conversation

@schmidtsv
Copy link
Copy Markdown
Contributor

We recently noticed that jumpbox broke the Log rotation on our inceptions. We traced it back to the fact that the stemcells at some point started to use syslog with UID 104, and assigned the /var/log logs to that UID.

The problem was that the jumpbox is storing a copy of the /etc/passwd on the persistent store and loads it at the start of each run. WHile that prevents someone manually using useradd in between runs, it breaks in this case, since it overwrites the stemcells default users on first run.

This change disables the copy of the passwd from Persistent store on the First run of the watcher, so the userlist does not cause issues on the stemcell side and is freshly built with the users given to the Jumpbox boshrelease.

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.

1 participant