Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
Date: Fri, 28 Jun 2019 09:05:48
Message-Id: 20190628090540.GP86865@gentoo.org
In Reply to: Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix.. by Michael Fothergill
1 On 28-06-2019 10:00:04 +0100, Michael Fothergill wrote:
2 > I ran the command you suggested (should it be the chown command for a group -
3 > would the chgrp command be help here?):
4 >
5 > root@fart:/home/mikef/gentoo# chown root:
6 > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
7 > root@fart:/home/mikef/gentoo# 
8 >
9 > It still gives the same error:
10 >
11 > mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
12 > [2223:2223:0628/084737.606858:FATAL:setuid_sandbox_host.cc(157)] The SUID
13 > sandbox helper binary was found, but is not configured correctly. Rather than
14 > run without sandboxing I'm aborting now. You need to make sure that
15 > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by root
16 > and has mode 4755.
17
18 This seems pretty clear. Run
19
20 ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
21
22 That should show the file is owned by root, and that it has rwxr-xr-x
23 with an s somewhere.
24
25 Fabian
26
27 >
28 > I added an extra line into the package.use file when I was trying to get xorg to
29 > work as non root:
30 >
31 > mikef@fart:~/gentoo/etc/portage$ more package.use
32 > x11-base/xorg-server -suid
33 > # required by www-client/chromium-74.0.3729.169::gentoo
34 > # required by chromium (argument)
35 > >=dev-libs/libxml2-2.9.9-r1 icu
36 > # required by www-client/chromium-74.0.3729.169::gentoo
37 > # required by chromium (argument)
38 > >=media-libs/harfbuzz-2.5.1 icu
39 > # required by www-client/chromium-74.0.3729.169::gentoo
40 > # required by chromium (argument)
41 > >=sys-libs/zlib-1.2.11-r2 minizip
42 > # required by www-client/chromium-74.0.3729.169::gentoo
43 > # required by chromium (argument)
44 > >=net-libs/nodejs-11.14.0 inspector
45 > # required by x11-misc/xdg-utils-1.1.3-r1::gentoo
46 > # required by www-client/chromium-74.0.3729.169::gentoo
47 > # required by chromium (argument)
48 > >=app-text/xmlto-0.0.28-r1 text
49 > # required by x11-libs/gtk+-3.24.8::gentoo
50 > # required by x11-themes/adwaita-icon-theme-3.30.1::gentoo
51 > # required by x11-libs/gtk+-2.24.32-r1::gentoo
52 > # required by x11-themes/gtk-engines-adwaita-3.28::gentoo
53 > >=x11-libs/cairo-1.16.0-r3 X
54 > # required by www-client/chromium-74.0.3729.169::gentoo
55 > # required by chromium (argument)
56 > =net-libs/nodejs-10.15.3 inspector
57 > # required by www-client/chromium-74.0.3729.169::gentoo
58 > # required by chromium (argument)
59 > =net-libs/nodejs-8.16.0 inspector
60 > # required by www-client/chromium-74.0.3729.169::gentoo
61 > # required by chromium (argument)
62 > =net-libs/nodejs-8.12.0 inspector
63 > mikef@fart:~/gentoo/etc/portage$ 
64 >
65 > It is affecting the suid function....
66 >
67 > I commented it out but it did not help.
68 >
69 > Regards
70 >
71 > MF
72 >
73 >
74 > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
75 --
76 Fabian Groffen
77 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies