Hi Georgia,

Thanks for your nice feedback. Indeed, realpath leads to /opt as you
said.

FIY, when I updated the AppArmor conf file as I mentioned, it worked, but
no more after a reboot.
By the way, I had to suspend apparmor since it blocks all my usual
internet, not only Chrome.
I haven't yet found why apparmor suddenly has this idiot behavior, while I
didn't change anything on my own, but usual apt upgrades.
Unfortunately, this is not the only issue since a few weeks, my trackpad
lost its settings working well for years, as well as suspend mode, nvidia
card fails, ...
No working fixes found on askubuntu, launchpad, archlinux, github, nvidia,
reddit, workarounds, etc.
I really have no idea about what happened, I didn't touch my configs files
from a while.
If I need to reinstall  from scratch, it may be that I'll move back to a
debian... when I switched from debian to ubuntu 20 years ago!
My hypothesis is actually that Cinnamon wm is not supported by Ubuntu (?).
I'm gonna try.
If this is the case, I would prefer Mate rather than Ubuntu default wm.

Thanks again.
All the best,
Fred


Le mar. 18 févr. 2025 à 18:40, Georgia Garcia <481...@bugs.launchpad.net> a
écrit :

> Hi Fred,
>
> What is the output of "realpath /usr/bin/google-chrome" in our machine?
> Here I have
>
> $ realpath /usr/bin/google-chrome
> /opt/google/chrome/google-chrome
>
> which is already covered by the rule
>
> /opt/google/chrome{,-beta,-unstable}/google-chrome{,-beta,-unstable} Cx
> -> sanitized_helper,
>
> AppArmor resolves symbolic links on mediation, so the final path is the
> one that should be in policy.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/481661
>
> Title:
>   Add Google Chrome to ubuntu-browsers
>
> Status in apparmor package in Ubuntu:
>   Fix Released
>
> Bug description:
>   Binary package hint: apparmor
>
>   Test: Install Google Chrome from their official package, set as default
> browser, and try to open link in a pdf such as
> http://acroeng.adobe.com/Test_Files/Acrobat_Sanity/weblink_url_test.pdf
> in evince
>   Expectation: evince launches google-chrome to load the url
>   What happens: AppArmor prevents evince from executing google-chrome
>   Solution: add " /opt/google/chrome/google-chrome Ux," to
> /etc/apparmor.d/abstractions/ubuntu-browsers
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/481661/+subscriptions
>
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/481661

Title:
  Add Google Chrome to ubuntu-browsers

Status in apparmor package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: apparmor

  Test: Install Google Chrome from their official package, set as default 
browser, and try to open link in a pdf such as 
http://acroeng.adobe.com/Test_Files/Acrobat_Sanity/weblink_url_test.pdf in 
evince
  Expectation: evince launches google-chrome to load the url
  What happens: AppArmor prevents evince from executing google-chrome
  Solution: add " /opt/google/chrome/google-chrome Ux," to 
/etc/apparmor.d/abstractions/ubuntu-browsers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/481661/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to