brave / browser-laptop

[DEPRECATED] Please see https://github.com/brave/brave-browser for the current version of Brave
https://www.brave.com
Other
7.95k stars 977 forks source link

brave not starting due: cannot change mount namespace of snap #15338

Closed jangorecki closed 5 years ago

jangorecki commented 5 years ago

After months of very good experience using Brave just now it stopped opening. To reproduce

  1. clicking brave icon from launcher
  2. or starting brave from shell

The latter produce:

main.go:224: cannot change mount namespace of snap "brave" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/brave/44/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.96" (uid=1000 pid=3645 comm="/snap/brave/44/opt/brave.com/brave/brave --no-sand" label="snap.brave.brave (enforce)") interface="org.freedesktop.DBus.Peer" member="Ping" error name="(unset)" requested_reply="0" destination="org.freedesktop.secrets" (uid=1000 pid=2072 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")
[3645:3906:1215/113150.934071:ERROR:rewards_service_impl.cc(133)] Failed to read file: /home/jan/snap/brave/44/.config/BraveSoftware/Brave-Browser/Default/ledger_state
[3645:4057:1215/113202.916344:ERROR:udev_watcher.cc(60)] Failed to begin udev enumeration.

Version 0.56.12 Chromium: 70.0.3538.77 (Official Build) unknown (64-bit)

snap info brave
name:      brave
summary:   A browser with your interests at heart.
publisher: Brave Software (brave*)
contact:   https://community.brave.com/
license:   unset
description: |
  Browse faster by blocking ads and trackers that violate your privacy and
  cost you time and money.
commands:
  - brave
snap-id:      uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
tracking:     stable
refresh-date: today at 10:26 IST
channels:                              
  stable:    v0.56.12-5.dev (44) 160MB -
  candidate: ^                         
  beta:      ^                         
  edge:      ^                         
installed:   v0.56.12-5.dev (44) 160MB -
jangorecki commented 5 years ago

looks like snap issue. similar ones https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1794953 should be already fixed in 2.36 (I am running 2.36.2) also report on chromium: https://forum.snapcraft.io/t/call-for-testing-chromium-based-on-core18/8377/13 and finally found some brave report: https://dev.getsol.us/T6899 but no solution

bsclifton commented 5 years ago

@jangorecki can you please try the snap version for the NEW version of Brave? https://github.com/brave/brave-browser/issues/1007

Please leave comments/questions in that issue 😄 Thanks!