@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 Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1714244

Title:
  [snap] apparmor denials on /etc/chromium-browser/policies/

Status in chromium-browser package in Ubuntu:
  Fix Committed

Bug description:
  [1565519.440403] audit: type=1400 audit(1504185084.568:68574811):
  apparmor="ALLOWED" operation="open" profile="snap.chromium.chromium"
  name="/etc/chromium-browser/policies/managed/" pid=19433 comm
  ="chromium-browse" requested_mask="r" denied_mask="r" fsuid=1000
  ouid=0

  [1565519.440527] audit: type=1400 audit(1504185084.568:68574812):
  apparmor="ALLOWED" operation="open" profile="snap.chromium.chromium"
  name="/etc/chromium-browser/policies/recommended/" pid=19433 comm
  ="chromium-browse" requested_mask="r" denied_mask="r" fsuid=1000
  ouid=0

  Those denials don't appear to prevent the app from running. Still,
  they should be investigated and fixed if possible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1714244/+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

Reply via email to