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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1949466

Title:
  apparmor warning when using chromedriver snap

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to