Well, clearly keeping those warning messages just means people keep posting bugs like this. I'm not convinced including a bit more explanation will change anything about that. Also, if it's the relatively harmless operation of probing at the cache config or potential NUMA config of a system, what good is it to display the warning in the first place?
We'd want to keep the warnings in general because they can be very useful if for example a video driver gets changed and suddenly tries to access new files. >I don't know whether that's simpler There's no obvious way to do this, as the conclusion that it's an encoder poking around the CPU/NUMA config is what I infer from seeing the combination of all messages, but the sandbox has to make the determination about the accesses one by one. Therefore, what you put as the first line of output is what you can conclude after having seen all output after it - there's a causality issue here. So it's not simpler, it's orders of magnitude more complicated than adding a rule that says ```/sys/devices/system/cpu``` accesses are benign/harmless, don't warn for them. >isn't it possible to just not execute this video decoder? This is only viable if you don't mind random videos on the internet not working in Firefox. We don't ship patented codecs in Firefox because we want to keep the application free, but a lot of videos on the internet use patented codecs, so *something* needs to decode them. In Ubuntu, they are contained in ```ubuntu-restricted-extras``` and Firefox will defer decoding work to them if installed, but sandbox and isolate them because we don't know what exact code is in there. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1983010 Title: Sandbox: attempt to open unexpected file /sys/devices/system/cpu/cpu0/cache/index2/size Status in Mozilla Firefox: New Status in firefox package in Ubuntu: Confirmed Bug description: I use Firefox Beta and launch it from the terminal. While watching Netflix on Firefox, I get the following messages on my terminal: Sandbox: attempt to open unexpected file /sys/devices/system/cpu/cpu0/cache/index2/size Sandbox: attempt to open unexpected file /sys/devices/system/cpu/cpu0/cache/index3/size Sandbox: attempt to open unexpected file /sys/devices/system/cpu/present Sandbox: attempt to open unexpected file /sys/devices/system/cpu Sandbox: Unexpected EOF, op 0 flags 00 path /proc/cpuinfo ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: firefox (not installed) ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39 Uname: Linux 5.15.0-41-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE Date: Thu Jul 28 15:01:35 2022 InstallationDate: Installed on 2022-06-21 (36 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) SourcePackage: firefox UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1983010/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp