Public bug reported:

Hello,

I noticed my logs are flooded by the following messages when using the
chromedriver snap (95.0.4638.69):

AVC apparmor="DENIED" operation="open"
profile="snap.chromium.chromedriver" name="/proc/2749786/mem"
pid=2749786 comm="bef84659f723721" requested_mask="r" denied_mask="r"
fsuid=1001 ouid=1001

I managed to fix it by adding the following line in
/var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :

owner @{PROC}/@{pid}/mem r,

and then running :

sudo apparmor_parser -r
/var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver

However I understand this change will get overwritten every time the
snap is updated, so it would make sense to add this line in the snap
package itself.

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apparmor

** Description changed:

  Hello,
  
- I noticed my logs are flooded by the following messages when using 
chromedriver (95.0.4638.69):
- ```
- AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromedriver" 
name="/proc/2749786/mem" pid=2749786 comm="bef84659f723721" requested_mask="r" 
denied_mask="r" fsuid=1001 ouid=1001
- ```
+ I noticed my logs are flooded by the following messages when using
+ chromedriver (95.0.4638.69):
+ 
+ AVC apparmor="DENIED" operation="open"
+ profile="snap.chromium.chromedriver" name="/proc/2749786/mem"
+ pid=2749786 comm="bef84659f723721" requested_mask="r" denied_mask="r"
+ fsuid=1001 ouid=1001
+ 
  
  I managed to fix it by adding the following line in 
/var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :
- `owner @{PROC}/@{pid}/mem r,``
- and then running `sudo apparmor_parser -r 
/var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver`
+ 
+ owner @{PROC}/@{pid}/mem r,
+ 
+ and then running :
+ 
+ sudo apparmor_parser -r
+ /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver

** Description changed:

  Hello,
  
  I noticed my logs are flooded by the following messages when using
  chromedriver (95.0.4638.69):
  
  AVC apparmor="DENIED" operation="open"
  profile="snap.chromium.chromedriver" name="/proc/2749786/mem"
  pid=2749786 comm="bef84659f723721" requested_mask="r" denied_mask="r"
  fsuid=1001 ouid=1001
  
- 
- I managed to fix it by adding the following line in 
/var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :
+ I managed to fix it by adding the following line in
+ /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :
  
  owner @{PROC}/@{pid}/mem r,
  
  and then running :
  
  sudo apparmor_parser -r
  /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver
+ 
+ However I understand this change will get overwritten every time the
+ snap is updated, so it would make sense to add this line in the snap
+ package itself.

** Summary changed:

- apparmor warning when using chromedriver
+ apparmor warning when using chromedriver snap

** Description changed:

  Hello,
  
- I noticed my logs are flooded by the following messages when using
- chromedriver (95.0.4638.69):
+ I noticed my logs are flooded by the following messages when using the
+ chromedriver snap (95.0.4638.69):
  
  AVC apparmor="DENIED" operation="open"
  profile="snap.chromium.chromedriver" name="/proc/2749786/mem"
  pid=2749786 comm="bef84659f723721" requested_mask="r" denied_mask="r"
  fsuid=1001 ouid=1001
  
  I managed to fix it by adding the following line in
  /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :
  
  owner @{PROC}/@{pid}/mem r,
  
  and then running :
  
  sudo apparmor_parser -r
  /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver
  
  However I understand this change will get overwritten every time the
  snap is updated, so it would make sense to add this line in the snap
  package itself.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1949466

Title:
  apparmor warning when using chromedriver snap

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  Hello,

  I noticed my logs are flooded by the following messages when using the
  chromedriver snap (95.0.4638.69):

  AVC apparmor="DENIED" operation="open"
  profile="snap.chromium.chromedriver" name="/proc/2749786/mem"
  pid=2749786 comm="bef84659f723721" requested_mask="r" denied_mask="r"
  fsuid=1001 ouid=1001

  I managed to fix it by adding the following line in
  /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver :

  owner @{PROC}/@{pid}/mem r,

  and then running :

  sudo apparmor_parser -r
  /var/lib/snapd/apparmor/profiles/snap.chromium.chromedriver

  However I understand this change will get overwritten every time the
  snap is updated, so it would make sense to add this line in the snap
  package itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1949466/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to