[Bug 1714244] Re: [snap] apparmor denials on /etc/chromium-browser/policies/
@Olivier Ah, sorry, thank you for explaining this. This isn't what I want to do, I was just trying to strip back to the basics of what https://www.chromium.org/administrators/linux-quick-start said to do and demonstrate that it wasn't working. I changed my policy so it says { "RestoreOnStartupURLs": "www.chromium.org" } Now when I open chromium, it doesn't go to www.chromium.org. When I go to chrome://policy it reports RestoreOnStartupURLs has value www.chromium.org but says there is an error "Expected list value". I changed it to { "RestoreOnStartupURLs": ["www.chromium.org"] } And it works. It is a shame the example code given on https://www.chromium.org/administrators/linux-quick-start doesn't function any more. What got me to this point was trying to set { "EnableMediaRouter": false } to stop chromium from monitoring network ports. Previously I couldn't get chromium to acknowledge a policy is set, but now I see I am able to set policy, but this one is not enforced. Still, I think this is a different problem to this thread. Thanks again! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1714244 Title: [snap] apparmor denials on /etc/chromium-browser/policies/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1714244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1714244] Re: [snap] apparmor denials on /etc/chromium-browser/policies/
@Olivier Thank you for working on this, but chromium policies do not appear to be working for me. I have Chromium Version 86.0.4240.183 (Official Build) snap (64-bit) running on Ubuntu Budgie. Following https://www.chromium.org/administrators/linux-quick-start to test if policies are being enforced I set up a policy test_policy.json which contains { "HomepageLocation": "www.chromium.org" } I made this policy in /var/snap/chromium/current/policies/managed which I saw referenced in https://git.launchpad.net/~chromium-team/chromium-browser/+git/snap-from-source/commit/?id=6f2b87da50bce971f4baadae348331e1bd024cb8 but it did not work. By "did not work", I mean when I restart chromium my homepage is not www.chromium.org. Also I noticed that when I open chromium and go to chrome://policy it says HomepageLocation is set to Policy Value: www.chromium.org Source: Platform Applies to: Machine Level: Mandatory Status: OK Which seems fine, but then the homepage is not that so it seems the policy is not being applied. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1714244 Title: [snap] apparmor denials on /etc/chromium-browser/policies/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1714244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs