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

WIP: make upgrading demo accounts available via a config option. #3614

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 13, 2022

  1. Don't map ourselves to root in the user namespace.

    Doing this is the source of sandstorm-io#3584.
    
    Instead, make sure we've fully entered a new user namespace before
    we have to do anything that would require the capabilities that are
    dropped on exec(). We also need to be in a new pid namespace, since
    we try to mount /proc so it needs to be a procfs that we own. We use
    clone() instead of unshare() for this so we don't have to disturb
    the process hierarchy.
    zenhack committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    2bb450f View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Configuration menu
    Copy the full SHA
    6d4ed35 View commit details
    Browse the repository at this point in the history
  2. WIP: make upgrading demo accounts available via a config option.

    This fixes sandstorm-io#3239 by providing a config option to re-enable the ability
    to upgrade demo accounts to full accounts, which was removed in order to
    allow alpha to act as the demo server when oasis was shut down.
    
    Unfortunately, this seems to break *other* tests. The handful I examined
    resulted in permission errors trying to upload the test app; presumably
    when this is enabled our test accounts are somehow getting marked as
    not allowed to upload their own apps.
    zenhack committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    0c16e31 View commit details
    Browse the repository at this point in the history