[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-12 Thread Avamander
The rulesets still don't explicitly forbid this syscall and it still gets massively logged into dmesg, making it totally unusable. ``` audit: type=1326 audit(1610482813.754:1835962): auid=1000 uid=1000 gid=1000 ses=4 pid=2201984 comm="chrome" exe="/snap/chromium/1444/usr/lib/chromium-browser/chr

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-15 Thread Ian Johnson
The relevant syscall is `sched_setaffinity`, which when used with a first argument of `0` is allowed in the default policy. Can someone who is experiencing this bug run an strace to determine what argument chromium is trying to use with sched_setaffinity ? We allow any sched_setaffinity arguments w

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-16 Thread Avamander
It doesn't break it visibly. I would prefer if it were allowed to set its affinity, but if that can't be done, silencing is a must. This is incredibly spammy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-16 Thread Avamander
> Can someone who is experiencing this bug run an strace to determine what argument chromium is trying to use with sched_setaffinity ? I'm not sure how its possible to strace a snap container ran under a specific user. Could you provide the command? -- You received this bug notification because

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-16 Thread Oliver Grawert
snap run --strace chromium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Title: [snap] chromium spams dmesg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-23 Thread Avamander
[pid 1278569] sched_setaffinity(1278640, 128, [18, 19, 20, 21, 22, 23] [pid 1278569] <... sched_setaffinity resumed>) = -1 EPERM (Operation not permitted) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bu

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-23 Thread Avamander
[pid 1278591] sched_setaffinity(1278591, 128, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-25 Thread Ian Johnson
So I did a bit of looking and it appears that Chromium only calls sched_setaffinity for it's renderer threads on Android (maybe?). I'm not super familiar with Chromium source code so it's a bit difficult for me to tell, but I tried playing videos etc. which might trigger some sort of rendering code

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-25 Thread Avamander
> @avamander, do you have a reproducer for this? I'm just using it on a Ryzen 9 3900x and Radeon R7 360. I have GPU acceleration enabled to the extent it is possible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-25 Thread Avamander
I see sched_setaffinity also used in base/cpu_affinity_posix.cc, so I doubt it's only beneficial on ARM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Title: [snap] chromium spams dmesg To

[Bug 1900679] Re: [snap] chromium spams dmesg

2021-01-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: chromium-browser (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Ti

[Bug 1900679] Re: snap chromium spams dmesg

2020-10-22 Thread Olivier Tilloy
This is not chromium-specific, those are audit messages emitted by apparmor (see https://gitlab.com/apparmor/apparmor/-/wikis/AppArmorAuditing for details). Installing auditd might help. ** Changed in: chromium-browser (Ubuntu) Status: New => Incomplete ** Changed in: chromium-browser (Ub

[Bug 1900679] Re: snap chromium spams dmesg

2020-10-22 Thread Avamander
Your rulesets are bad, it's not apparmor's fault. ** Changed in: chromium-browser (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Title: snap chromium s

[Bug 1900679] Re: [snap] chromium spams dmesg

2020-10-22 Thread Olivier Tilloy
** Summary changed: - snap chromium spams dmesg + [snap] chromium spams dmesg ** Tags added: snap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Title: [snap] chromium spams dmesg To manag

[Bug 1900679] Re: [snap] chromium spams dmesg

2020-10-23 Thread Dylan Aïssi
** Package changed: snap (Ubuntu) => snapd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900679 Title: [snap] chromium spams dmesg To manage notifications about this bug go to: https://bu