WIP: Bug 1717216 - allow the snap package to read policies in /etc/firefox/policies/. r=mkaply DONTBUILD
authorOlivier Tilloy <olivier@tilloy.net>
Mon, 21 Jun 2021 21:10:03 +0000
changeset 584026 a2d65d785d3058f6e003ea77730da68195617a66
parent 584025 eb6840adae8ca3eb79ff03a9ad92a87698e87ea3
child 584027 40387250a18a4c71ab6808c799192cf5bcf70dea
push id38557
push usermalexandru@mozilla.com
push dateTue, 22 Jun 2021 21:29:07 +0000
treeherdermozilla-central@536a892dd51f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkaply
bugs1717216
milestone91.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
WIP: Bug 1717216 - allow the snap package to read policies in /etc/firefox/policies/. r=mkaply DONTBUILD CLOSED TREE Differential Revision: https://phabricator.services.mozilla.com/D118394
taskcluster/docker/firefox-snap/firefox.snapcraft.yaml.in
--- a/taskcluster/docker/firefox-snap/firefox.snapcraft.yaml.in
+++ b/taskcluster/docker/firefox-snap/firefox.snapcraft.yaml.in
@@ -37,16 +37,19 @@ apps:
       - u2f-devices
       - unity7
       - upower-observe
 
 plugs:
   browser-sandbox:
     interface: browser-support
     allow-sandbox: true
+  etc-firefox-policies:
+    interface: system-files
+    read: [/etc/firefox/policies]
 
 parts:
   firefox:
     plugin: dump
     source: source
     stage-packages:
       - libxt6
       - libdbus-glib-1-2