Skip to content

Extend macOS obuilder to support multi-user #135

Description

@tmcgilchrist

Currently obuilder on macOS only supports a single user account, limiting the throughput on the macOS workers.
Extending macOS obuilder to support multiple users should improve throughput and resource usage.

Things to consider:

  • homebrew assumes a single user install, extend the File system redirection to handle multiple users
  • macOS base images might need to be relocatable so they can be shared between users
  • opam root also needs to be sharable

Mark tried putting OPAMROOT on an obuilderfs mounted file system, unfortunately we see issues with opam installing software such as opam install dune and in some cases even opam init. He tested the macOS file system using https://github.com/pjd/pjdfstest and compared the results to a fuse-mounted file system. macOS directly failed 82 of the 8720 tests. When mounted through obuilderfs/macFuse approximately 3500 tests failed. https://ocamllabs.slack.com/archives/D02LTUAT74K/p1665657002246979

As macFuse doesn’t seem to be good enough other alternatives need to be investigated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions