[GH-ISSUE #1167] Midori profile broken on Arch #799

Closed
opened 2026-05-05 06:52:19 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @CommodoreCrunch on GitHub (Mar 28, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1167

Ever since the jump from Midori 0.5.11-4 to 0.5.11-5 on Arch Linux, the browser hasn't launched properly with Firejail enabled. It doesn't fully render and it quickly freezes before fully launching.

As best I can tell, the only difference between 0.5.11-4 and 0.5.11-5 is a switch from webkitgtk to webkit2gtk.

Here's the output I get, in case that's useful:

Redirecting symlink to /usr/bin/midori
Reading profile /etc/firejail/midori.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Parent pid 8292, child pid 8293
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Child process initialized
**
GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1)

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:2:31: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:3:39: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:4:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:5:33: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:6:30: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:26:20: The :insensitive pseudo-class is deprecated. Use :disabled instead.
**
GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1)
**
GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1)
^C
Parent received signal 2, shutting down the child process...

Parent is shutting down, bye...

Child received signal 15, shutting down the sandbox...

Originally created by @CommodoreCrunch on GitHub (Mar 28, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1167 Ever since the jump from Midori 0.5.11-4 to 0.5.11-5 on Arch Linux, the browser hasn't launched properly with Firejail enabled. It doesn't fully render and it quickly freezes before fully launching. As best I can tell, the only difference between 0.5.11-4 and 0.5.11-5 is a switch from webkitgtk to webkit2gtk. Here's the output I get, in case that's useful: Redirecting symlink to /usr/bin/midori Reading profile /etc/firejail/midori.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-devel.inc Parent pid 8292, child pid 8293 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Child process initialized ** GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1) (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:2:31: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:3:39: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:4:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:5:33: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:6:30: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version (midori4:2): Gtk-WARNING **: Theme parsing error: gtk3.css:26:20: The :insensitive pseudo-class is deprecated. Use :disabled instead. ** GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1) ** GLib:ERROR:gspawn.c:1181:do_exec: assertion failed: (read_null != -1) ^C Parent received signal 2, shutting down the child process... Parent is shutting down, bye... Child received signal 15, shutting down the sandbox...
gitea-mirror 2026-05-05 06:52:19 -06:00
Author
Owner

@netblue30 commented on GitHub (Mar 29, 2017):

They moved to webkit and gtk3. I put in git a new profile here: https://github.com/netblue30/firejail/blob/master/etc/midori.profile. Give it a try, thanks.

<!-- gh-comment-id:290093901 --> @netblue30 commented on GitHub (Mar 29, 2017): They moved to webkit and gtk3. I put in git a new profile here: https://github.com/netblue30/firejail/blob/master/etc/midori.profile. Give it a try, thanks.
Author
Owner

@CommodoreCrunch commented on GitHub (Mar 29, 2017):

Totally works. Thank you!

<!-- gh-comment-id:290205713 --> @CommodoreCrunch commented on GitHub (Mar 29, 2017): Totally works. Thank you!
Author
Owner

@netblue30 commented on GitHub (Mar 31, 2017):

Cool, the next version will have it by default.

<!-- gh-comment-id:290777144 --> @netblue30 commented on GitHub (Mar 31, 2017): Cool, the next version will have it by default.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#799
No description provided.