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

Chromium fails on CentOS #10809

Closed
a1russell opened this issue Nov 3, 2015 · 4 comments
Closed

Chromium fails on CentOS #10809

a1russell opened this issue Nov 3, 2015 · 4 comments
Labels
2.status: duplicate This is a duplicate of another issue or PR

Comments

@a1russell
Copy link
Contributor

On a CentOS 6.7 system, I've installed the Nix package manager according the appropriate documentation, i.e. I executed bash <(curl https://nixos.org/nix/install). This is a single-user installation.

The first package I installed was chromium. However, upon trying to launch chromium, I get this error:

[4140:4140:1103/111112: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 /nix/store/13psa5rxjsdxk1ghnkf5q9n25985v7ly-chromium-45.0.2454.101/libexec/chromium/chrome-sandbox is owned by root and has mode 4755.
Aborted (core dumped)

Of course, since this is a single-user installation, that file is owned by me rather than root. Doesn't look to be in the correct mode, either:

$ ls -l /nix/store/13psa5rxjsdxk1ghnkf5q9n25985v7ly-chromium-45.0.2454.101/libexec/chromium/chrome-sandbox 
-r-xr-xr-x 1 me mygroup 22947 Dec 31  1969 /nix/store/13psa5rxjsdxk1ghnkf5q9n25985v7ly-chromium-45.0.2454.101/libexec/chromium/chrome-sandbox
@a1russell a1russell changed the title Chromium fails on single-user installation Chromium fails on CentOS Nov 4, 2015
@a1russell
Copy link
Contributor Author

I installed a multi-user system today, too, and I get the same error. The file is at least owned by root this time, but still the incorrect mode.

@vcunat
Copy link
Member

vcunat commented Nov 4, 2015

Chromium needs either suid or a recent enough kernel. In nix store we don't allow suid. I suspect the CentOS kernel is too old. See #895 for details. I consider this a duplicate – better discuss on the original issue.

@vcunat vcunat closed this as completed Nov 4, 2015
@vcunat vcunat added the 2.status: duplicate This is a duplicate of another issue or PR label Nov 4, 2015
@redi-russela
Copy link

Ah, I wasn't sure. Different error message and different title on #895.

@vcunat
Copy link
Member

vcunat commented Nov 4, 2015

Different error message

I think the sandbox used to be optional in chromium but isn't anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants