subgraph / subgraph-os-issues

Subgraph OS issues repository
73 stars 10 forks source link

Chromium oz sandboxed doesn't work on Debian #336

Open taonik opened 6 years ago

taonik commented 6 years ago

I've built and installed the oz package succesfully on Debian 9.3 (no hardened kernel), I've tested it and works fine with offline apps (e.g. evince), while it's giving me hard time with (the clearnet and) Chromium.

oz-daemon version: 0.2.6-1 amd64 chromium version: 64.0.3282.119-1~deb9u1 amd64

I've kept chromium.json intact and I've to say that last time I've tried it on SubgraphOS there were no problems, maybe it can be related to the new Chromium version.

oz logs:

20:17:50 ▶ INFO 059 [chromium] Hostname set to (chromium.local)
20:17:50 ▶ DEBU 05a [chromium] dbus-uuid: 88773f8035942f950e17028d5aad238e
20:17:50 ▶ INFO 05b [chromium] xpra work dir is /home/user/.Xoz/chromium
20:17:50 ▶ INFO 05c [chromium] Starting xpra server
20:17:50 ▶ DEBU 05d [chromium] (xpra-server) I /usr/bin/xpra [/usr/bin/xpra --no-daemon --mmap --no-sharing --bell --system-tray --xsettings --cursors --encoding=rgb --clipboard --no-microphone --no-speaker --no-notifications --no-mdns --input-method=keep --bind=/home/user/.Xoz/chromium --socket-dir=/home/user/.Xoz/chromium start :0]
20:17:50 ▶ DEBU 05e [chromium] (xpra-server) Warning: invalid option: 'html'
20:17:50 ▶ DEBU 064 [chromium] (xpra-server) X.Org X Server 1.19.2
20:17:50 ▶ DEBU 065 [chromium] (xpra-server) Release Date: 2017-03-02
20:17:50 ▶ DEBU 066 [chromium] (xpra-server) X Protocol Version 11, Revision 0
20:17:50 ▶ DEBU 067 [chromium] (xpra-server) Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
20:17:50 ▶ DEBU 068 [chromium] (xpra-server) Current Operating System: Linux chromium 4.14.x.x86_64 #1 SMP Thu Feb 8 20:01:16 UTC 2018 x86_64
20:17:50 ▶ DEBU 069 [chromium] (xpra-server) Kernel command line: root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat
20:17:50 ▶ DEBU 06a [chromium] (xpra-server) Build Date: 16 October 2017  08:19:45AM
20:17:50 ▶ DEBU 06b [chromium] (xpra-server) xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support) 
20:17:50 ▶ DEBU 06c [chromium] (xpra-server) Current version of pixman: 0.34.0
20:17:50 ▶ DEBU 06d [chromium] (xpra-server)    Before reporting problems, check http://wiki.x.org
20:17:50 ▶ DEBU 06e [chromium] (xpra-server)    to make sure that you have the latest version.
20:17:50 ▶ DEBU 06f [chromium] (xpra-server) Markers: (--) probed, (**) from config file, (==) default setting,
20:17:50 ▶ DEBU 070 [chromium] (xpra-server)    (++) from command line, (!!) notice, (II) informational,
20:17:50 ▶ DEBU 071 [chromium] (xpra-server)    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
20:17:50 ▶ DEBU 072 [chromium] (xpra-server) (++) Log file: "/home/user/.xpra/Xorg.:0.log", Time: Sat Mar 17 20:17:50 2018
20:17:50 ▶ DEBU 073 [chromium] (xpra-server) (++) Using config file: "/etc/xpra/xorg.conf"
20:17:50 ▶ DEBU 074 [chromium] (xpra-server) (==) Using system config directory "/usr/share/X11/xorg.conf.d"
20:17:50 ▶ DEBU 075 [chromium] (xpra-server) 2018-03-17 20:17:50,372 created unix domain socket: /home/user/.Xoz/chromium/chromium-0
20:17:50 ▶ DEBU 076 [chromium] (xpra-server) 2018-03-17 20:17:50,796 Warning: all the compressors are disabled,
20:17:50 ▶ DEBU 077 [chromium] (xpra-server) 2018-03-17 20:17:50,796  unless you have a gigabit connection or better, performance will suffer
20:17:50 ▶ DEBU 078 [chromium] (xpra-server) 2018-03-17 20:17:50,913 Failed to launch ldconfig -p: [Errno 2] No such file or directory
20:17:51 ▶ DEBU 079 [chromium] (xpra-server) 2018-03-17 20:17:51,517 xpra X11 version 0.17.6-r14322
20:17:51 ▶ DEBU 07a [chromium] (xpra-server) 2018-03-17 20:17:51,517  running with pid 10 on Linux
20:17:51 ▶ DEBU 07b [chromium] (xpra-server) 2018-03-17 20:17:51,518  on display :0
20:17:51 ▶ DEBU 07c [chromium] (xpra-server) 2018-03-17 20:17:51,638 xpra is ready.
20:17:51 ▶ INFO 07d [chromium] XPRA started
20:17:51 ▶ INFO 07e oz-init (chromium) is ready
20:17:51 ▶ INFO 07f [chromium] Run program message received: &{Args:[] Pwd:/home/user Path:/usr/lib/chromium/chromium}
20:17:51 ▶ NOTI 080 [chromium] RejectUserArgs true, discarding user supplied command arguments: []
20:17:51 ▶ INFO 081 [chromium] (xpra-client-stderr) I /usr/bin/xpra [/usr/bin/xpra --no-daemon --mmap --no-sharing --bell --system-tray --xsettings --cursors --encoding=rgb --clipboard --no-microphone --no-speaker --no-notifications --title=@title@ --compress=0 --no-keyboard-sync --no-tray --socket-dir=/home/user/.Xoz/chromium attach :0]
20:17:51 ▶ DEBU 082 [chromium] (stderr) [0317/141751.743274:FATAL:v8_initializer.cc(311)] Couldn't mmap v8 natives data file, status code is 1
20:17:51 ▶ DEBU 083 [chromium] (stderr) #0 0x64ec514d23ee <unknown>
20:17:51 ▶ DEBU 084 [chromium] (stderr) #1 0x64ec514ed02c <unknown>
20:17:51 ▶ DEBU 085 [chromium] (stderr) #2 0x64ec52bbbeea <unknown>
20:17:51 ▶ DEBU 086 [chromium] (stderr) #3 0x64ec51277445 <unknown>
20:17:51 ▶ DEBU 087 [chromium] (stderr) #4 0x64ec5127f202 <unknown>
20:17:51 ▶ DEBU 088 [chromium] (stderr) #5 0x64ec512765bf <unknown>
20:17:51 ▶ DEBU 089 [chromium] (stderr) #6 0x64ec4fd68496 ChromeMain
20:17:51 ▶ DEBU 08a [chromium] (stderr) #7 0x72f4e33f72e1 __libc_start_main
20:17:51 ▶ DEBU 08b [chromium] (stderr) #8 0x64ec4fd682ea _start
20:17:51 ▶ DEBU 08c [chromium] (stderr) 
20:17:51 ▶ DEBU 08d [chromium] Child process pid=44 exited from init with status -1
20:17:51 ▶ INFO 08e [chromium] Shutting down sandbox after child exit.