You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildstream.apache.org by GitBox <gi...@apache.org> on 2020/12/30 10:23:54 UTC

[GitHub] [buildstream] BuildStream-Migration-Bot opened a new issue #19: Artifacts can get corrupted while running integration commands

BuildStream-Migration-Bot opened a new issue #19:
URL: https://github.com/apache/buildstream/issues/19


   [See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/19)
   In GitLab by [[Gitlab user @tristanvb]](https://gitlab.com/tristanvb) on Apr 29, 2017, 06:57
   
   During each build, and at other times; we stage artifacts to a sandbox and then run a series of integration commands in the sandbox where the rootfs needs to be read-write. Integration commands can include things like `ldconfig`, `fc-cache`, `glib-compile-schemas` etc.
   
   Because the ostree artifacts are extracted with hardlinks, and the individual extracts are subsequently staged using hardlinks; the sandbox directory rootfs is consequently populated with hardlinks which link back into the ostree repositories, so modifying those files in place will result in corruption of artifacts.
   
   To address this, the current plan is to use fusepy in the sandbox implementation to provide a copy-on-write experience for any hardlinked files. This should only be necessary while the sandbox is running with a read-write rootfs, in other scenarios once the rootfs is integrated then the rootfs is read-only and this is not necessary.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [buildstream] BuildStream-Migration-Bot closed issue #19: Artifacts can get corrupted while running integration commands

Posted by GitBox <gi...@apache.org>.
BuildStream-Migration-Bot closed issue #19:
URL: https://github.com/apache/buildstream/issues/19


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [buildstream] BuildStream-Migration-Bot commented on issue #19: Artifacts can get corrupted while running integration commands

Posted by GitBox <gi...@apache.org>.
BuildStream-Migration-Bot commented on issue #19:
URL: https://github.com/apache/buildstream/issues/19#issuecomment-752406496






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [buildstream] BuildStream-Migration-Bot commented on issue #19: Artifacts can get corrupted while running integration commands

Posted by GitBox <gi...@apache.org>.
BuildStream-Migration-Bot commented on issue #19:
URL: https://github.com/apache/buildstream/issues/19#issuecomment-752406399


   In GitLab by [[Gitlab user @samthursfield]](https://gitlab.com/samthursfield) on Jun 6, 2017, 10:36
   
   A few years ago Adam Coldrick implemented this feature for Morph using overlayfs or unionfs-fuse. This never got merged to master.
   
   The proposed changes are here -- long since abandoned but maybe useful as they were tested and working at one point.
   
   1. https://gerrit.baserock.org/#/c/290/
   2. https://gerrit.baserock.org/#/c/289/
   3. https://gerrit.baserock.org/#/c/288/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [buildstream] BuildStream-Migration-Bot commented on issue #19: Artifacts can get corrupted while running integration commands

Posted by GitBox <gi...@apache.org>.
BuildStream-Migration-Bot commented on issue #19:
URL: https://github.com/apache/buildstream/issues/19#issuecomment-752406623






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [buildstream] BuildStream-Migration-Bot commented on issue #19: Artifacts can get corrupted while running integration commands

Posted by GitBox <gi...@apache.org>.
BuildStream-Migration-Bot commented on issue #19:
URL: https://github.com/apache/buildstream/issues/19#issuecomment-752406468


   In GitLab by [[Gitlab user @tristanvb]](https://gitlab.com/tristanvb) on Jun 7, 2017, 10:29
   
   mentioned in commit 70914c8192e23de0d73e844670672c9eb0abc461


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org