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

docs: add contributor security user namespace instructions #29458

Merged
merged 3 commits into from May 2, 2024

Conversation

MikeMcC399
Copy link
Contributor

Additional details

Issue

Executing yarn start on Ubuntu 24.04 as described in the CONTRIBUTING > Getting Started section results in an error message similar to the following:

$ cypress open --dev --global
[9406:0427/165943.833191:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/mike/cypress/packages/electron/dist/Cypress/chrome-sandbox is owned by root and has mode 4755.

The Ubuntu 24.04 Release notes > Unprivileged user namespace restrictions section describes the breaking change in security rules which causes this issue.

Change

Add a paragraph to CONTRIBUTING > Requirements for Ubuntu 24.04 linking to Ubuntu 24.04 Release notes > Unprivileged user namespace restrictions describing how to disable the user namespace restrictions for the entire system as a workaround for the issue.

This may or may not be the long-term solution.

Steps to test

Follow the instructions in Ubuntu 24.04 Release notes > Unprivileged user namespace restrictions and run yarn start on Ubuntu 24.04.

How has the user experience changed?

Contributors will be able to run Cypress after building from source on Ubuntu 24.04.

PR Tasks

cc: @AtofStryker

@cypress-app-bot
Copy link
Collaborator

CONTRIBUTING.md Outdated Show resolved Hide resolved
MikeMcC399 and others added 2 commits May 2, 2024 17:04
Co-authored-by: Bill Glesias <bglesias@gmail.com>
@jennifer-shehane jennifer-shehane merged commit ed4f88f into cypress-io:develop May 2, 2024
28 of 31 checks passed
@MikeMcC399 MikeMcC399 deleted the docs/user-namespace branch May 2, 2024 15:37
jj497 pushed a commit to jj497/cypress that referenced this pull request May 5, 2024
…o#29458)

* docs: add contributor security user namespace instructions

* modify grammar

Co-authored-by: Bill Glesias <bglesias@gmail.com>

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
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.

None yet

4 participants