Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi
  • Đã giải quyết
  • Đã lưu trữ

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… (xem thêm)

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---

Được hỏi bởi scoobienator 1 năm trước

Được trả lời bởi cor-el 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

I can't save files in Firefox

Firefox worked perfectly, but since a few days I can't download anything. I'm using Mozilla Firefox snap for Ubuntu 22.04, version 110.0.1 (64 bits) canonical-002 - 1.0 W… (xem thêm)

Firefox worked perfectly, but since a few days I can't download anything. I'm using Mozilla Firefox snap for Ubuntu 22.04, version 110.0.1 (64 bits) canonical-002 - 1.0 With Chrome everything works perfectly so I assume it's a problem from Firefox.

When I open a PDF, a MP3 or any file, the "save" option doesn't display anything. Usually it opened a dialog where I could choose the folder where I wanted to download the file, but now I have nothing.

I have only 4 extensions: - adblocker ultimate - duckduckgo privacy essentials - vuejs dev tools - zotero connector

I always had them and I never encountered any problem.

Được hỏi bởi DJ Caësar 9114 1 năm trước

Được trả lời bởi DJ Caësar 9114 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

when I exit firefox with two windows open sometimes only one window appears on relaunch

I often use two firefox windows each with several tabs opened Problem is when I quit in this state sometimes only one of those multiple windows gets opened on the next l… (xem thêm)

I often use two firefox windows each with several tabs opened

Problem is when I quit in this state sometimes only one of those multiple windows gets opened on the next launch

To quit I do a `ctrl + q` or right click `Quit` from launcher bar

Is there a setting to tell firefox to always relaunch with the same set of windows ?

I use sync and this happens when using the same computer for the exit then relaunch of firefox

firefox release 112.0a1 (2023-03-05) (64-bit)

Ubuntu 22.04

Được hỏi bởi EventHorizon 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Flashing video on https://abcnews.go.com/

Hi, I have noticed that when using the latest release of Mozilla Firefox on Windows 10 and Ubuntu 22.04 LTS, when I go to ABCnews.go.com and click into a story, there is… (xem thêm)

Hi, I have noticed that when using the latest release of Mozilla Firefox on Windows 10 and Ubuntu 22.04 LTS, when I go to ABCnews.go.com and click into a story, there is an autostarting video. But instead of either waiting until I click on it or autostarting normally, it flashes wildly. I have disabled all extensions and the problem persists. Has anyone else encountered this? And more importantly, does anyone have a fix for this issue?

Bob Reed

Được hỏi bởi neutronJK 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Can't install Firefox snap

I'm following a tutorial to install cinnamon desktop which includes Firefox snap on my Ubuntu LXD container, but the installation with snap fails. Does anyone know why it… (xem thêm)

I'm following a tutorial to install cinnamon desktop which includes Firefox snap on my Ubuntu LXD container, but the installation with snap fails. Does anyone know why it happens and how to fix it?

Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_amd64.deb ... => Installing the firefox snap ==> Checking connectivity with the snap store ==> Installing the firefox snap error: cannot perform the following tasks: - Setup snap "firefox" (2487) security profiles (cannot setup udev for snap "firefox": cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles for auto-connections (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) dpkg: error processing archive /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb (--unpack):

new firefox package pre-installation script subprocess returned error exit status 1

Errors were encountered while processing:

/var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

Được hỏi bởi Hey232 1 năm trước

Được trả lời bởi Hey232 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Firefox snap app does not recognize custom cursor.

I can't get Firefox to use some custom cursors. Firefox is only recognizing the cursors that came installed with Ubuntu. Any of the cursors I installed will default to DM… (xem thêm)

I can't get Firefox to use some custom cursors. Firefox is only recognizing the cursors that came installed with Ubuntu. Any of the cursors I installed will default to DMZ-White, but Firefox is using those cursors that came installed with Ubuntu. I tried defining the default cursor in /usr/share/icons/default/index.theme but did nothing as well. Also I tried with the cursor in /usr/share/icons and in /home/name/.icons and firefox cannot get in any of those.

I don't know if it's something wrong with my cursors or it's some inner thing with Firefox, any one has a guess? Incompatibility or something missing from the cursor?

Được hỏi bởi tisppereira 1 năm trước

Được trả lời bởi cor-el 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Ubuntu crashes while moving a Firefox tab with mouse

Hello Volunteers, Ubuntu crashes while moving around a Firefox tab with a mouse, IF the mouse cursor goes thru the top bar of the laptop screen. I am using Firefox V 113… (xem thêm)

Hello Volunteers,

Ubuntu crashes while moving around a Firefox tab with a mouse, IF the mouse cursor goes thru the top bar of the laptop screen. I am using Firefox V 113.0.2, Build ID: 20230522193126 on Ubuntu 23.04. This could be an Ubuntu problem or a Firefox problem.

Thanks Dilip Deodhar

Được hỏi bởi DD 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Download Window Closes Immediately and Some Buttons Don't Work - Need Help

Hello, Firefox friends! I'm having some issues with Firefox on my Ubuntu system and I'm really hoping someone can help me fix them. Problem with Downloads: When I tr… (xem thêm)

Hello, Firefox friends!

I'm having some issues with Firefox on my Ubuntu system and I'm really hoping someone can help me fix them.

   Problem with Downloads: When I try to download something and click on a link, a new tab opens. But then it immediately closes and nothing downloads.
   Button Issues: Some buttons within Firefox just don't seem to work.

I've tried a few things already:

   Checked for Firefox and Ubuntu updates
   Ran Firefox in Troubleshoot Mode
   No antivirus because I'm on Ubuntu

If anyone has faced similar issues or knows how to fix this, please help!

Thank you so much!

Được hỏi bởi damianczap 10 tháng trước

Được trả lời bởi zeroknight 10 tháng trước

  • Đã giải quyết

Firefox manual update with Linux Ubuntu

I have a System 76 laptop running Ubuntu 14.04 LTS. The LTS (Long Term Support) ended years ago with Firefox 66. All of that works fine still. My problem is: 1. The worl… (xem thêm)

I have a System 76 laptop running Ubuntu 14.04 LTS. The LTS (Long Term Support) ended years ago with Firefox 66. All of that works fine still. My problem is: 1. The world is telling me to upgrade my browser. 2. Mozilla tells me "Note: If you use your Linux distribution's packaged version of Firefox, you will need to wait for an updated package to be released to its package repository. This article only applies if you installed Firefox manually (without using your distribution's package manager)." 3. There will never be an updated package because LTS has ended. 4. IS THERE A WAY TO MANUALLY INSTALL A NEWER BROWSER LIKE FIREFOX 123?

Được hỏi bởi Jim 4 tháng trước

Được trả lời bởi Jim 4 tháng trước

  • Đã giải quyết
  • Đã lưu trữ

How to open local files in Firefox 100 snap?

I'm on Ubuntu 22.04 which is using the snap package of Firefox. It seems that I cannot open local files in the /tmp directory. When I place a test.html file there and ru… (xem thêm)

I'm on Ubuntu 22.04 which is using the snap package of Firefox.

It seems that I cannot open local files in the /tmp directory. When I place a test.html file there and run `firefox /tmp/test.html`, it returns a file not found error. Why?

I don't have the problem with files in my home directory.

Được hỏi bởi simon.eu 2 năm trước

Được trả lời bởi jonzn4SUSE 2 năm trước

  • Đã giải quyết

Lose focus on some websites when pressing the Control key

I am using Firefox 127 on Ubuntu. When I press the Control key, I often lose focus in the window I am currently viewing. This is annoying as it prevents me from copy-pas… (xem thêm)

I am using Firefox 127 on Ubuntu.

When I press the Control key, I often lose focus in the window I am currently viewing. This is annoying as it prevents me from copy-pasting for example.

Sometimes the focus is back when I release Control, sometimes it is lost and I have to click again on the text field. It does not happen on all websites, for example support.mozilla.org works well, but it happens on duckduckgo or overleaf.

It does not seem to be the same as existing issues such as [the "show mouse when press Ctrl" of Ubuntu] (it is disabled) or an addon (the problem still happens in safe mode).

In case it is useful, when I press Control the tab bar background goes slightly darker, see attached images.

Thanks for your help :) Nicolas

Được hỏi bởi nnadisic 3 tuần trước

Được trả lời bởi jonzn4SUSE 2 tuần trước

  • Đã giải quyết
  • Đã lưu trữ

Log ins lost every time I start FireFox - only started happening recently.

I've checked a couple of the "similar topics" before posting here. I'm not sure if I am having the same problem or something else. Back Story: I have a "few" windows an… (xem thêm)

I've checked a couple of the "similar topics" before posting here. I'm not sure if I am having the same problem or something else.

Back Story: I have a "few" windows and tabs open in FireFox. I would finish what I was doing, shut down and then the next time I booted up and loaded FireFox, all sessions would be restored and all log ins honoured (kept). That is: I was still logged in.

(Moving to now) Yesterday I powered up and ALL sites were logged out. About 20 log ins were needed. Hmmmmm... gmail, and the rest.

"Ok... something happened. No problems, things should be ok from now. I've logged in, so all is sweet."

Today I power up: All logs ins lost. Had to go through it all again.

Gmail is throwing security alerts at me hand over fist. Yeah, that is good in some ways. I get that part. But I've logged in.

Seems - my thoughts - that the cookies aren't being saved. But why? I haven't touched them or their settings.

Yes, I did do a clean out of older cookies. But left the gmail ones, and other sites I know I use. I have `adblocker ultimate` installed.

Now I am logged in, if I open the `cookies` and look I should see them there for the sites to which I am logged in - yes?


To be clear: When I am done, I do NOT `exit` FireFox. All windows, tabs, sessions are left. I just shut down the machine. Then next time I load FireFox and they are re-loaded and log ins are maintained.

Được hỏi bởi teeny_weeny 2 năm trước

Được trả lời bởi cor-el 2 năm trước

  • Đã giải quyết
  • Đã lưu trữ

firefox and Ubuntu 22.04

Firefox unter ubuntu 22 hat keinen Zugriff auf die lokalen Dateien (z.B. /usr/share) Der 'open' auf '/usr' scheitert mit 'read'-Zugriffsrecht. Ganz egal, was in '/etc/ap… (xem thêm)

Firefox unter ubuntu 22 hat keinen Zugriff auf die lokalen Dateien (z.B. /usr/share) Der 'open' auf '/usr' scheitert mit 'read'-Zugriffsrecht.

Ganz egal, was in '/etc/apparmor.d/usr.bin.firefox' respektive in '/etc/apparmor.d/local/usr.bin.firefox' spezifiziert wird, das Zugriffsrecht für '/usr' ist immer 'read'.

Wie kann man auf die Dateien unter '/usr/share' zugreifen?

Mit freundlichen Grüßen

Thomas

Được hỏi bởi thomas.rechsteiner 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Slow Start Up on Ubuntu 22.04 wXFCE

Hello, I've spent several hours today trying to fix FireFox slow start up on my system. After start up (about 2 full minutes), everything works normally. The hardware i… (xem thêm)

Hello,

I've spent several hours today trying to fix FireFox slow start up on my system. After start up (about 2 full minutes), everything works normally. The hardware is an ASUS A88xm-A MB, A10-6800K processor, 16G DDR3, runs OS and programs off an SSD. I worked through all the slow startup suggestions, ran memtest (0 Errors, 1 Pass), disabled all add ons, (even the OpenH264 video codec (I use the onboard HDMI, no graphics card)), turned off hardware acceleration, etc. When starting in troubleshoot mode, less than 30 seconds, (acceptable), but I really don't know where to begin with the "More Troubleshooting Information" when I look at the table generated by it. There have been no other problems to date with the system, and the long start-up time began with 20.04 Ubuntu (about a minute), then got worse when I upgraded to 22.04 to try to solve THAT problem. Currently running FF 104.0, and the update page says wait for a distro update if that is how it was installed. I believe 104.0 is the latest Linux 64b version though. All updates to the system are done as soon as I'm notified of them. there have been none since the upgrade a few days ago.

Any suggestions? Gotta get some sleep now... TIA, Dave

Được hỏi bởi dkosewick 1 năm trước

Được trả lời bởi dkosewick 1 năm trước

  • Đã khóa
  • Đã lưu trữ

Firefox can't find printer

I am running Unix Ubuntu 22.04 with Firefox 104.0.01 (64 bit). My Canon LBP 6230DW works fine in my word processor and in Chrome, but it does not show up in the Printer d… (xem thêm)

I am running Unix Ubuntu 22.04 with Firefox 104.0.01 (64 bit). My Canon LBP 6230DW works fine in my word processor and in Chrome, but it does not show up in the Printer destination field when I am in Firefox. The only print option is to "Save as PDF." How do I get the Canon to be a print destination in Firefox?

This is my second request because I can't find my original question. jonzn4SUSE has asked me to upload print screens, which are attached. Carl ([email removed from public])

Được hỏi bởi CMayer1 1 năm trước

Lần cuối trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Can't attach or download files

If I try to attach or download (only with the Always ask you where to save files option turned on) a file in any website, the browser doesn't open the Files window. Drag… (xem thêm)

If I try to attach or download (only with the Always ask you where to save files option turned on) a file in any website, the browser doesn't open the Files window. Drag and drop works. I am able to choose the download folder from the settings and upload any folder, though.

I'm running Firefox 103.0.1 on Linux Ubuntu 22.04 LTS.

Được hỏi bởi gabrielegagliardi23 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Firefox 104 displays blank page on some websites

Hello, I've upgraded my Ubuntu distribution from Ubuntu 20.04 to 22.04 yesterday. This forced me to update my Firefox version, I am now running the 104.0.2. I now have th… (xem thêm)

Hello, I've upgraded my Ubuntu distribution from Ubuntu 20.04 to 22.04 yesterday. This forced me to update my Firefox version, I am now running the 104.0.2. I now have the following issue: on some websites, the page loads normally but as soon as it's loaded, the page becomes entirely blank. This doesn't seem to be a website issue, as it actually appears normal for a very short instant before it disappears. A website for which this happens is: https://www.lalibre.be/ (I only encountered the issue on another website but it's from the same editor). I tried in a private window and it works normally! I tried in the normal window after deactivating all the addons, it still doesn't work. I tried with or without the Firefox account logged in, it doesn't work. Until now, it's only these 2 websites from the same editor, but as I said, they worked fine yesterday, they work fine on other browsers and they work fine in Firefox private mode. Any idea where this might come from?

Được hỏi bởi vanecx 1 năm trước

Được trả lời bởi jonzn4SUSE 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

very small cursor on Firefox via snap after upgrading to ubuntu 22.04.1 LTS

HELLO very small cursor on Firefox windows (on all other windows the cursor size is normal) via snap after upgrading to ubuntu 22.04.1 LTS. how can i change it? Thank yo… (xem thêm)

HELLO very small cursor on Firefox windows (on all other windows the cursor size is normal) via snap after upgrading to ubuntu 22.04.1 LTS. how can i change it? Thank you

Được hỏi bởi haimco2022 1 năm trước

Được trả lời bởi haimco2022 1 năm trước

  • Đã giải quyết
  • Đã lưu trữ

Scrolling Is Delayed about 2 Seconds

I am using a Dell Inspiron 3847 with the standard keyboard which came the system years ago Recently, when viewing a large online page, when I try to scroll down, the sc… (xem thêm)

I am using a Dell Inspiron 3847 with the standard keyboard which came the system years ago

Recently, when viewing a large online page, when I try to scroll down, the scroll doesn't start until about two seconds after I press my scroll key (which is the lower-middle key of the 4 keys between my right-hand "Ctrl" key and the "0" of the 10-key keyboard at the far right of the keyboard).

This delay started happening a few weeks ago. I do not know whether something I did caused it.

How can I scroll my view starting immediately, rather than having to wait two seconds for it to start?

Được hỏi bởi jwill 1 năm trước

Được trả lời bởi jwill 1 năm trước