[SOLVED] Chromium won't start; sandbox missing SUID perm

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
cpoakes
White ninja
White ninja
Posts: 10
Joined: 08 Sep 2013, 18:51
Distribution: Debian
Location: Arizona

[SOLVED] Chromium won't start; sandbox missing SUID perm

Post#1 by cpoakes » 14 Sep 2013, 09:30

The Porteus v2.1 chromium package (chromium-25.0.1323.1-i686-1sl.xzm) will not start. From the command line, the error message is:

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 /usr/lib/chromium/chromium_sandbox is owned by root and has mode 4755.

Inspection shows that /usr/lib/chromium/chromium_sandbox does NOT have SUID (4755) perms.

The error was verified from base only, no magic and no rootcopy using 003-lxde.xzm. Chromium was activated by hand from a root console. Inspection (before installing cups dependency) shows that /usr/lib/chromium/chromium_sandbox indeed is not installed with correct permissions. I note that the script in /var/log/scripts has a chmod 4755... but it is apparently not executed.

Work around:

Code: Select all

sudo chmod 4755 /usr/lib/chromium/chromium_sandbox
or launch chromium with:

Code: Select all

chromium --no-sandbox
Last edited by cpoakes on 06 Oct 2013, 10:00, edited 1 time in total.

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#2 by wread » 14 Sep 2013, 13:08

Try this version. It works for me!

Regards!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#3 by brokenman » 14 Sep 2013, 18:28

Where are you downloading these porteus packages from?

In the official porteus repo (using porteus package manager) the i486 version is chromium-28.0.1497.1-x86_64-5sl and is tested as working on my machine.
How do i become super user?
Wear your underpants on the outside and put on a cape.

cpoakes
White ninja
White ninja
Posts: 10
Joined: 08 Sep 2013, 18:51
Distribution: Debian
Location: Arizona

Re: Chromium won't start; sandbox missing SUID permission

Post#4 by cpoakes » 14 Sep 2013, 21:09

Ciao Brokenman

In my PPM, this is the repo:
PREPO=http://ponce.cc/porteus/i486/modules-14.0

And while the x86_64 version at this location is v28, the i486 (labeled i686) version there is most certainly not. At this very moment the PPM is still offering v25. Oh no! Now there are two bugs... a broken version and a wrong version.

I will be glad to retest and close if when v28 gets uploaded.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#5 by brokenman » 19 Sep 2013, 13:44

I apologise. After checking the PACKAGES.TXT from the server file I see you are correct. I will update the repo shortly.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#6 by brokenman » 20 Sep 2013, 21:07

Updated the 32bit repo. Please test when you get a chance.
How do i become super user?
Wear your underpants on the outside and put on a cape.

cpoakes
White ninja
White ninja
Posts: 10
Joined: 08 Sep 2013, 18:51
Distribution: Debian
Location: Arizona

Re: Chromium won't start; sandbox missing SUID permission

Post#7 by cpoakes » 23 Sep 2013, 05:59

This is still broken brokenman. The message remains:

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 /usr/lib/chromium/chromium_sandbox is owned by root and has mode 4755.

ls -l is:

-r-xr-xr-x 1 root root 14K Aug 22 09:08 /usr/lib/chromium/chromium_sandbox

There is an appropriate looking chmod 4755 in the script named
var/log/scripts/chromium-29.0.1547.57-i486-1sl ; I don't know why it doesn't work. Module was both tried using "activate" from optional, and starting from modules.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#8 by brokenman » 26 Sep 2013, 02:06

I've manually chmod'd the sandbox in the package. In future packages I will add a startup script that should ensure the permission upon activation.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Chromium won't start; sandbox missing SUID permission

Post#9 by wread » 02 Oct 2013, 02:29

@cpoakes
do as I said and you will enjoy chromium.....
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

cpoakes
White ninja
White ninja
Posts: 10
Joined: 08 Sep 2013, 18:51
Distribution: Debian
Location: Arizona

Re: Chromium won't start; sandbox missing SUID permission

Post#10 by cpoakes » 06 Oct 2013, 09:59

Thanks brokenman, the version from the repository is operating correctly.

Post Reply