← Back to team overview

desktop-packages team mailing list archive

[Bug 1414753] [NEW] Chromium browser 39.0.2171.65 does not load policies

 

Public bug reported:

Following the information I gathered from

http://www.chromium.org/administrators/linux-quick-start
http://www.chromium.org/administrators/linux-quick-start
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1373802

I tried to set a simple policy for the browser.
All I did is create a file "policy.json" in /etc/chromium-
browser/policies/managed with the following content:

{
  "HomepageLocation": "www.chromium.org"
}

However when starting chromium there is no sign of the policy: "about:policy" 
does not show any policy being set. Running 'strings /usr/lib/chromium-
browser/chromium-browser|grep policies' gives me:

/etc/chromium/policies
/etc/chromium-browser/policies

so everything should be fine. To be sure I also tried setting the policy in 
/etc/chromium/policies. I also tried to set the policy in "recommended"  in 
both paths. I also tested running chromium under a new user account, but it 
did not change anything. The policy is simply not set. Either I am doing 
something wrong or this is not working.
To be on the safe side I also tried a different content:

{
  "RestoreOnStartup": 4,
  "RestoreOnStartupURLs": ["http://www.chromium.org";
}

Did not work either.

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Chromium browser 39.0.2171.65 does not load policies

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  Following the information I gathered from

  http://www.chromium.org/administrators/linux-quick-start
  http://www.chromium.org/administrators/linux-quick-start
  https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1373802

  I tried to set a simple policy for the browser.
  All I did is create a file "policy.json" in /etc/chromium-
  browser/policies/managed with the following content:

  {
    "HomepageLocation": "www.chromium.org"
  }

  However when starting chromium there is no sign of the policy: "about:policy" 
  does not show any policy being set. Running 'strings /usr/lib/chromium-
  browser/chromium-browser|grep policies' gives me:

  /etc/chromium/policies
  /etc/chromium-browser/policies

  so everything should be fine. To be sure I also tried setting the policy in 
  /etc/chromium/policies. I also tried to set the policy in "recommended"  in 
  both paths. I also tested running chromium under a new user account, but it 
  did not change anything. The policy is simply not set. Either I am doing 
  something wrong or this is not working.
  To be on the safe side I also tried a different content:

  {
    "RestoreOnStartup": 4,
    "RestoreOnStartupURLs": ["http://www.chromium.org";
  }

  Did not work either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1414753/+subscriptions


Follow ups

References