Showing questions tagged: Show all questions
  • Solved
  • Archived

Excessive apparmor log entries on Ubuntu platform

OS version: Ubuntu 22.04.1 LTS (jammy), 64-bit (amd64, x86_64). Firefox version: 110.0 (64-bit) (NOTE: the issue was noticed with version 109.0, too) Firefox package wa… (read more)

OS version: Ubuntu 22.04.1 LTS (jammy), 64-bit (amd64, x86_64). Firefox version: 110.0 (64-bit) (NOTE: the issue was noticed with version 109.0, too)

Firefox package was installed on Ubuntu through 'APT', using the Mozilla Team repository (https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/). It caught my attention that an excessive amount of Firefox related 'DENIED' AppArmor log messages is generated during the browser activity.

According to messages, Firefox is occasionally denied read access to '/sys/devices/' area and read/write access to 'oom_score_adj' target in '/proc/'. Could somebody clarify why would that access be required for regular browser operations? I'm a bit puzzled as I haven't noticed anything similar with the older Ubuntu and Firefox versions. A complete suppression of those messages is also an option as long as there's no negative impact on application's performance.

I already posted this question to Ubuntu forum but seems like nobody there could provide an explanation. I'd appreciate any input or hint.

Following is the sample of referred log messages:

---SNIP--- [Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.813:39): apparmor="DENIED" operation="capable" profile="firefox" pid=2231 comm="firefox" capability=21 capname="sys_admin"

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.877:40): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.877:41): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.877:42): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.877:43): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.885:44): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.885:45): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.885:46): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Fri Feb 24 19:14:50 2023] audit: type=1400 audit(1674000890.885:47): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=2235 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 . . . . . . [Fri Feb 24 19:16:22 2023] audit: type=1400 audit(1674000983.040:56): apparmor="DENIED" operation="open" profile="firefox" name="/proc/2347/oom_score_adj" pid=2231 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

[Fri Feb 24 19:16:35 2023] audit: type=1400 audit(1674000995.296:57): apparmor="DENIED" operation="open" profile="firefox" name="/proc/2347/oom_score_adj" pid=2231 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

[Fri Feb 24 19:16:39 2023] audit: type=1400 audit(1674000999.280:58): apparmor="DENIED" operation="open" profile="firefox" name="/proc/2347/oom_score_adj" pid=2231 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

[Fri Feb 24 19:16:41 2023] audit: type=1400 audit(1674001001.768:59): apparmor="DENIED" operation="open" profile="firefox" name="/proc/2455/oom_score_adj" pid=2231 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

[Fri Feb 24 19:16:41 2023] audit: type=1400 audit(1674001001.768:60): apparmor="DENIED" operation="open" profile="firefox" name="/proc/2458/oom_score_adj" pid=2231 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000 ---SNIP---

Asked by scoobienator 1 year ago

Answered by cor-el 1 year ago

  • Solved
  • Archived

Unable to launch Firefox profile from "/" directory in Ubuntu22

OS - Ubuntu22 Firefox - Default firefox on ubuntu22 (Mozilla Firefox 103.0.1) Use case - 1. Custom profile folder (named prof1) contains pref.js and chrome folder with c… (read more)

OS - Ubuntu22 Firefox - Default firefox on ubuntu22 (Mozilla Firefox 103.0.1)

Use case - 1. Custom profile folder (named prof1) contains pref.js and chrome folder with custom css file. 2. prof1 is created in -> "/customData/profiles/prof1" 3. The folder "/customData" has full rwx permissions and is owned by $USER (not by root)

Output -> 1. When launching firefox mentioning the profile -> "$ firefox --profile /customData/profiles/prof1"

The browser does not load, but there is an error box saying Profile Missing Your Firefox profile cannot be loaded. It may be missing or inaccessible.


Questions -> 1. Is it possible to load firefox profile from root directory ? 2. If custom profile folder is created in "/home", then it is launching and working perfectly. How is this possible when the permissions and owner is same as the one in "/customData"

Asked by sagnik.sourendrapal 1 year ago

Answered by cor-el 1 year ago

  • Solved
  • Archived

Unable to play Videos on Reddit

Hi, I am running Firefox 108.0 on Ubuntu 20.04.5 and videos on Reddit don't play, they just buffer (?). Youtube works fine. I've tried the suggestions on this page: http… (read more)

Hi,

I am running Firefox 108.0 on Ubuntu 20.04.5 and videos on Reddit don't play, they just buffer (?). Youtube works fine. I've tried the suggestions on this page: https://support.mozilla.org/en-US/kb/fix-common-audio-and-video-issues#search but nothing seems to work.

Thanks

Asked by ghostsview 1 year ago

Answered by ghostsview 1 year ago

  • Solved
  • Archived

What is Firefox WikiSpecies Storage Limit?

I use Firefox to download, copy, and store WikiSpecies pictures. Currently, my .../Documents/WikiSpecies/Animalia_Plantae_8 directory holds what it says are 90,876 items… (read more)

I use Firefox to download, copy, and store WikiSpecies pictures.

Currently, my .../Documents/WikiSpecies/Animalia_Plantae_8 directory holds what it says are 90,876 items, totalling 11.5 GB. I have plenty of unused space in that directory (over 91 GB), so space is not an issue.

Lately, when I try to install a new picture, I keep getting a warning that the picture is already stored. This MAY be because I am running out of new pictures, but I can't tell.

Is there any capacity limit to a WikiSpecies directory?

Asked by jwill 2 years ago

Answered by jonzn4SUSE 1 year ago

  • Solved
  • Archived

Firefox Save Image/File not work

Any Safe ...As.. in my Firefox isn't working. Nor from right mouse click, nor from menu-file. Currently I'm with 108 under XFCE(Ubuntu). But the troubles was may be after… (read more)

Any Safe ...As.. in my Firefox isn't working. Nor from right mouse click, nor from menu-file. Currently I'm with 108 under XFCE(Ubuntu). But the troubles was may be after 98. I've disabled all extensions - persist. I tried also Troubleshooting mode - still persist. I've tried reinstalling - persist. Where have to look? With Chromium I do not have such troubles. Thank you!

Asked by lbakalov 1 year ago

Answered by lbakalov 1 year ago

  • Solved
  • Archived

Firefox crashes when I attempt to download or upload a file

Whenever a website prompts for me to upload or download a file and I except Firefox crashes, quitting in its entirety. This still occurs in "Troubleshoot" mode so I assu… (read more)

Whenever a website prompts for me to upload or download a file and I except Firefox crashes, quitting in its entirety. This still occurs in "Troubleshoot" mode so I assume it is not any of my extensions. Here is a crash report from when this occurred if it helps. Another odd observation I made is that I am able to upload a file if I use a "drag-and-drop" feature on a website.

Asked by Reuben Braybrook 1 year ago

Answered by jonzn4SUSE 1 year ago

  • Solved
  • Archived

I can't Download any photo from by firefox

Hey! I can't Download any photo from right-click and => Save file as... When I press "Save file as..." there's no ant event or something, It's like Button but with out… (read more)

Hey! I can't Download any photo from right-click and => Save file as... When I press "Save file as..." there's no ant event or something, It's like Button but with out any action.

I use Ubuntu "Ubuntu 22.04.1 LTS" Firefox version 107.0.1

I need help please...

Asked by KUJI8 1 year ago

Answered by KUJI8 1 year ago

  • Solved
  • Archived

Copy-pasting of files not working in Ubuntu 22.04

Hey there, Intro: I recently switched to Linux and (because Brave is so broken) also to Firefox and I am liking it so far. Problem: Unfortunately I can't copy-paste fil… (read more)

Hey there,

Intro: I recently switched to Linux and (because Brave is so broken) also to Firefox and I am liking it so far.

Problem: Unfortunately I can't copy-paste files from Ubuntu Files (Nautilus) to Firefox (I tested image files and also sounds files, neither is working).

Test with Firefox: 1. Download a random photo (e.g. from Unsplash) 2. Select the file and hit ctrl + c in Files/Nautilus 3. I go to the clipboard inspector 4. I hit ctrl + v 5. The image does not show up in the output (see screenshot)

Test with Brave: 1. Do the same as above 2. The image does show up in the output (see screenshot)

Notes: - I am using Linux Ubuntu 22.04 with Wayland - Firefox Version 107.0 (64-bit) for Ubuntu Canonical - 1.0 - I have no extensions installed - I am not using the snap version (so I can scroll smoothly) ... I think I used apt-get install but not 100% sure

Asked by Stephan 1 year ago

Answered by Stephan 1 year ago

  • Solved
  • Archived

snap firefox v107 cannot find my default printer

Hi, wonderful crew I have this annoying issue: when I want to print a page and I open the Print menu from the "hamburger" button, the preview open but on the printer lis… (read more)

Hi, wonderful crew I have this annoying issue: when I want to print a page and I open the Print menu from the "hamburger" button, the preview open but on the printer list I can see only the PDF printer, not my default printer or any other printer. Also if I click on the link "Print thru the system printer window" I see only "Print on file" and "Print on LPR" I tried the same on Chomium and there I can see my default printer My system is a Ubuntu desktop 22.04 recently updated from 20.04 LTS Thank for your work

Asked by gbonline 1 year ago

Answered by gbonline 1 year ago

  • Solved
  • Archived

Browser crashing on some webpages

I'm using Firefox 106.0.1 on Ubuntu 22.10 from Mozilla's official PPA but when I open some websites the browser crashes with the message "Exiting due to channel error.". … (read more)

I'm using Firefox 106.0.1 on Ubuntu 22.10 from Mozilla's official PPA but when I open some websites the browser crashes with the message "Exiting due to channel error.". I found the error could be related to libwebp with LTO enabled, may be it is, but I rebuilt the Ubuntu's package without LTO and one website stopped crashing, dell.com support page, but several others still crash, like amd.com.

Asked by marcoshalano 2 years ago

Answered by marcoshalano 1 year ago