Skip to content
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

image: Chown Kolibri and Endless Key data #165

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

dbnicholson
Copy link
Member

tmpfiles.d configuration is provided for both that changes ownership to kolibri:kolibri for both at runtime. However, if there's an overlayfs on /var like there is when booting an ISO, all the files are copied to the upper tmpfs. That's likely to OOM the system when either is filled with preloaded data.

One possibility is to run the tmpfiles.d configuration here. For simplicity, we just run chown here. For Kolibri, a separate hook is added since the content generation is split across 3 hooks.

https://phabricator.endlessm.com/T35498

I haven't run this at all, but I believe it's correct.

tmpfiles.d configuration is provided for both that changes ownership to
kolibri:kolibri for both at runtime. However, if there's an overlayfs on
/var like there is when booting an ISO, all the files are copied to the
upper tmpfs. That's likely to OOM the system when either is filled with
preloaded data.

One possibility is to run the tmpfiles.d configuration here. For
simplicity, we just run `chown` here. For Kolibri, a separate hook is
added since the content generation is split across 3 hooks.

https://phabricator.endlessm.com/T35498
@dbnicholson dbnicholson requested a review from wjt June 14, 2024 22:45
@wjt wjt merged commit 3d3f36d into master Jun 17, 2024
2 checks passed
@wjt wjt deleted the T35498-kolibri-data-chown branch June 17, 2024 10:31
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