Skip to content

Only mount and clean the /run/nginx directory #884

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

Merged
merged 1 commit into from
May 28, 2019
Merged

Only mount and clean the /run/nginx directory #884

merged 1 commit into from
May 28, 2019

Conversation

Crazybus
Copy link
Contributor

On Sles-12 and potentially other distros some extra stuff is
automatically mounted into /run making it impossible to remove them
and ultimately causing the build to fail as seen in https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request+docbldesx/12978/console

/ # mount | grep /run
tmpfs on /run/secrets/credentials.d type tmpfs (ro,relatime)
tmpfs on /run/secrets/SUSEConnect type tmpfs (ro,relatime)

However it looks like only /run/nginx is actually being used so there
doesn't seen to be a need to mount and wipe the whole of /run

On Sles-12 and potentially other distros some extra stuff is
automatically mounted into `/run` making it impossible to remove them
and ultimately causing the build to fail.

```
/ # mount | grep /run
tmpfs on /run/secrets/credentials.d type tmpfs (ro,relatime)
tmpfs on /run/secrets/SUSEConnect type tmpfs (ro,relatime)
```

However it looks like only `/run/nginx` is actually being used so there
doesn't seen to be a need to mount and wipe the whole of `/run`
@Crazybus Crazybus requested a review from nik9000 May 10, 2019 12:54
@nik9000
Copy link
Member

nik9000 commented May 13, 2019 via email

@nik9000 nik9000 merged commit 47a2655 into master May 28, 2019
@nik9000
Copy link
Member

nik9000 commented May 28, 2019

Thanks for the fix @Crazybus! Sorry I didn't merge it when you proposed it.

@nik9000 nik9000 deleted the run_away branch October 11, 2019 16:42
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