Package: firefox-esr
Version: 78.6.1esr-1~deb10u1
Severity: normal

Dear maintainer.

My firefox-esr is a little bit confused the correct location of "policies.json".
Mozilla's page 
https://support.mozilla.org/en-US/kb/managing-policies-linux-desktops 
says:
    1. Create a file called policies.json with your policies.
    2. Place this file in firefox/distribution where "firefox" 
       is the installation directory for Firefox. (This will
       vary per distribution). 
In the Debian, place is definetely under /etc. Firefox-esr's debian package
creates /etc/firefox-esr :
pi@raspberrypi:~ $ dpkg -L firefox-esr  |grep etc
/etc
/etc/firefox-esr
/etc/firefox-esr/firefox-esr.js

but try to read policies.json from /etc/firefox:
pi@raspberrypi:~ $ grep "/etc/fi" firefox.strace 
faccessat(AT_FDCWD, "/etc/firefox/policies/policies.json", F_OK) = -1 ENOENT 
(No such file or directory)

and this is the problem, because it is not documented or it is not the 
directory created by
debian installer. And anyway, strace should not be a end user tool to find out 
location of
fundamendal configuration files.

My suggestion is:
1. Place this file to /etc/firefox-esr/polcies
2. Document it 
3. (Optionally) Put into this policies.json
   {"policies":{"DisableAppUpdate":true}}
   because an end-user-program should not to try
   update itself. It is matter of a package manager.

Thanks in advance 

-- Package-specific info:


-- Addons package information

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 5.10.5-v8+ (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_DK, LC_CTYPE=en_DK (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firefox-esr depends on:
ii  debianutils         4.8.6.1
ii  fontconfig          2.13.1-2
ii  libatk1.0-0         2.30.0-2
ii  libc6               2.28-10
ii  libcairo-gobject2   1.16.0-4+rpt1
ii  libcairo2           1.16.0-4+rpt1
ii  libdbus-1-3         1.12.20-0+deb10u1
ii  libdbus-glib-1-2    0.110-4
ii  libevent-2.1-6      2.1.8-stable-4
ii  libffi6             3.2.1-9
ii  libfontconfig1      2.13.1-2
ii  libfreetype6        2.9.1-3+deb10u2
ii  libgcc1             1:8.3.0-6
ii  libgdk-pixbuf2.0-0  2.38.1+dfsg-1
ii  libglib2.0-0        2.58.3-2+deb10u2
ii  libgtk-3-0          3.24.5-1+rpt2
ii  libpango-1.0-0      1.42.4-8~deb10u1
ii  libstdc++6          8.3.0-6
ii  libx11-6            2:1.6.7-1+deb10u1
ii  libx11-xcb1         2:1.6.7-1+deb10u1
ii  libxcb-shm0         1.13.1-2
ii  libxcb1             1.13.1-2
ii  libxcomposite1      1:0.4.4-2
ii  libxdamage1         1:1.1.4-3+b3
ii  libxext6            2:1.3.3-1+b2
ii  libxfixes3          1:5.0.3-1
ii  libxrender1         1:0.9.10-1
ii  procps              2:3.3.15-2
ii  zlib1g              1:1.2.11.dfsg-1

Versions of packages firefox-esr recommends:
ii  libavcodec58  7:4.1.6-1~deb10u1+rpt1

Versions of packages firefox-esr suggests:
pn  fonts-lmodern          <none>
pn  fonts-stix | otf-stix  <none>
ii  libcanberra0           0.30-7
ii  libgssapi-krb5-2       1.17-3+deb10u1
ii  libgtk2.0-0            2.24.32-3+rpt1
ii  pulseaudio             12.2-4+deb10u1+rpi3

-- no debconf information

Reply via email to