[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946131: Apparmor breaks Send -> Email depending on settings



Package: libreoffice
Version: 1:6.3.2-1+b1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attempting to use any of the email options under File->Send results in
(in the terminal I started LibreOffice from, just silently doing nothing
as far as the GUI is concerned):

/usr/lib/libreoffice/program/senddoc: line 62: /usr/bin/file: Permission denied
/usr/lib/libreoffice/program/senddoc: line 70: /usr/bin/thunderbird: Permission denied

This is because I have Thunderbird selected in Options→Internet→Email,
which has a nice 'Browse...' button to select an arbitrary program. That
isn't really compatible with the AppArmor profile. (When I set it to
sensible-lomua instead of /usr/bin/thunderbird it worked, still using
thunderbird, but through xdg-email instead, I presume.)

I'm not sure how to fix this other than add a bunch of possible email
programs to the AppArmor program and a warning to the settings box that
if you pick a weird one, you'll need to edit the AppArmor profile. Not
ideal, and AFAIK you need root to edit the profile.

(And of course, File→Send→Email* ought to show a proper error message
when they fail.)

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (130, 'unstable-debug'), (130, 'unstable'), (120, 'experimental-debug'), (120, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libreoffice depends on:
ii  libreoffice-base                1:6.3.2-1+b1
ii  libreoffice-calc                1:6.3.2-1+b1
ii  libreoffice-core                1:6.3.2-1+b1
ii  libreoffice-draw                1:6.3.2-1+b1
ii  libreoffice-impress             1:6.3.2-1+b1
ii  libreoffice-math                1:6.3.2-1+b1
ii  libreoffice-report-builder-bin  1:6.3.2-1+b1
ii  libreoffice-writer              1:6.3.2-1+b1
ii  python3-uno                     1:6.3.2-1+b1

Versions of packages libreoffice recommends:
ii  fonts-crosextra-caladea             20130214-2
ii  fonts-crosextra-carlito             20130920-1
ii  fonts-dejavu                        2.37-1
ii  fonts-liberation                    1:1.07.4-10
ii  fonts-liberation2                   2.00.5-2
ii  fonts-linuxlibertine                5.3.0-4
ii  fonts-noto-core                     20181227-1
ii  fonts-noto-mono                     20181227-1
ii  fonts-noto-ui-core                  20181227-1
ii  fonts-sil-gentium-basic             1.102-1
ii  libreoffice-java-common             1:6.3.2-1
ii  libreoffice-nlpsolver               0.9+LibO6.3.2-1
pn  libreoffice-report-builder          <none>
ii  libreoffice-script-provider-bsh     1:6.3.2-1
ii  libreoffice-script-provider-js      1:6.3.2-1
ii  libreoffice-script-provider-python  1:6.3.2-1
pn  libreoffice-sdbc-mysql              <none>
ii  libreoffice-sdbc-postgresql         1:6.3.2-1+b1
ii  libreoffice-wiki-publisher          1.2.0+LibO6.3.2-1

Versions of packages libreoffice suggests:
ii  cups-bsd                                    2.3.0-5
ii  default-jre [java6-runtime]                 2:1.11-72
ii  firefox                                     70.0.1-1+b1
ii  ghostscript                                 9.27~dfsg-3.1
ii  gnupg                                       2.2.17-3
pn  gpa                                         <none>
ii  gstreamer1.0-libav                          1:1.16.1-dmo1
ii  gstreamer1.0-plugins-bad                    1:1.16.1-dmo2
ii  gstreamer1.0-plugins-base                   1.16.1-dmo1
ii  gstreamer1.0-plugins-good                   1.16.1-dmo1
ii  gstreamer1.0-plugins-ugly                   1:1.16.1-dmo1
ii  hunspell-en-us [hunspell-dictionary]        1:2018.04.16-1
ii  hyphen-en-us [hyphen-hyphenation-patterns]  2.8.8-7
ii  imagemagick                                 8:6.9.10.23+dfsg-2.1+b2
ii  imagemagick-6.q16 [imagemagick]             8:6.9.10.23+dfsg-2.1+b2
ii  libgl1                                      1.1.0-1+b1
pn  libreoffice-gnome | libreoffice-kde5        <none>
pn  libreoffice-grammarcheck                    <none>
ii  libreoffice-help-en-us [libreoffice-help]   1:6.3.2-1
pn  libreoffice-l10n                            <none>
ii  libreoffice-librelogo                       1:6.3.2-1
pn  libreoffice-officebean                      <none>
ii  libsane                                     1.0.27-3.2+b1
ii  libxrender1                                 1:0.9.10-1
pn  myspell-dictionary                          <none>
ii  mythes-en-us [mythes-thesaurus]             1:6.3.1-1
ii  openclipart-libreoffice                     1:0.18+dfsg-15
ii  openjdk-11-jre [java6-runtime]              11.0.5+10-2
ii  pstoedit                                    3.74-1+b1
ii  thunderbird                                 1:60.9.0-1
ii  unixodbc                                    2.3.6-0.1+b1

Versions of packages libreoffice-core depends on:
ii  fontconfig                      2.13.1-2+b1
ii  fonts-opensymbol                2:102.11+LibO6.3.2-1
ii  libboost-locale1.67.0           1.67.0-13
ii  libc6                           2.29-3
ii  libcairo2                       1.16.0-4
ii  libclucene-contribs1v5          2.3.3.4+dfsg-1+b1
ii  libclucene-core1v5              2.3.3.4+dfsg-1+b1
ii  libcmis-0.5-5v5                 0.5.2-1
ii  libcups2                        2.3.0-5
ii  libcurl3-gnutls                 7.66.0-1
ii  libdbus-1-3                     1.12.16-2
ii  libdconf1                       0.34.0-1
ii  libeot0                         0.01-5+b1
ii  libepoxy0                       1.5.3-0.1
ii  libexpat1                       2.2.9-1
ii  libexttextcat-2.0-0             3.4.5-1
ii  libfontconfig1                  2.13.1-2+b1
ii  libfreetype6                    2.10.1-2
ii  libgcc1                         1:9.2.1-8
ii  libglib2.0-0                    2.62.1-1
ii  libgpgmepp6                     1.13.1-1
ii  libgraphite2-3                  1.3.13-11
ii  libgstreamer-plugins-base1.0-0  1.16.1-dmo1
ii  libgstreamer1.0-0               1.16.1-1
ii  libharfbuzz-icu0                2.6.2-1
ii  libharfbuzz0b                   2.6.2-1
ii  libhunspell-1.7-0               1.7.0-2+b1
ii  libhyphen0                      2.8.8-7
ii  libice6                         2:1.0.9-2
ii  libicu63                        63.2-2
ii  libjpeg62-turbo                 1:1.5.2-2+b1
ii  liblcms2-2                      2.9-3+b1
ii  libldap-2.4-2                   2.4.48+dfsg-1+b1
ii  libmythes-1.2-0                 2:1.2.4-3+b1
ii  libneon27-gnutls                0.30.2-3
ii  libnspr4                        2:4.21-2
ii  libnss3                         2:3.47-1
ii  libnumbertext-1.0-0             1.0.5-3
ii  liborcus-0.14-0                 0.14.1-6
ii  libpng16-16                     1.6.37-1
ii  libpoppler82                    0.71.0-6
ii  librdf0                         1.0.17-1.1+b1
ii  libreoffice-common              1:6.3.2-1
ii  librevenge-0.0-0                0.0.4-6+b1
ii  libsm6                          2:1.2.3-1
ii  libstdc++6                      9.2.1-8
ii  libx11-6                        2:1.6.8-1
ii  libxext6                        2:1.3.3-1+b2
ii  libxinerama1                    2:1.1.4-2
ii  libxml2                         2.9.4+dfsg1-7+b3
ii  libxmlsec1                      1.2.28-2
ii  libxmlsec1-nss                  1.2.28-2
ii  libxrandr2                      2:1.5.1-1
ii  libxrender1                     1:0.9.10-1
ii  libxslt1.1                      1.1.32-2.1
ii  uno-libs3                       6.3.2-1+b1
ii  ure                             6.3.2-1+b1
ii  zlib1g                          1:1.2.11.dfsg-1+b1

Versions of packages libreoffice-core recommends:
ii  gstreamer1.0-libav         1:1.16.1-dmo1
ii  gstreamer1.0-plugins-bad   1:1.16.1-dmo2
ii  gstreamer1.0-plugins-base  1.16.1-dmo1
ii  gstreamer1.0-plugins-good  1.16.1-dmo1
ii  gstreamer1.0-plugins-ugly  1:1.16.1-dmo1
ii  libpaper-utils             1.1.28+b1

Versions of packages libreoffice-writer depends on:
ii  libabw-0.1-1           0.1.3-1
ii  libc6                  2.29-3
ii  libe-book-0.1-1        0.1.3-1+b2
ii  libepubgen-0.1-1       0.1.1-1
ii  libetonyek-0.1-1       0.1.9-1
ii  libgcc1                1:9.2.1-8
ii  libicu63               63.2-2
ii  libmwaw-0.3-3          0.3.15-2
ii  libodfgen-0.1-1        0.1.7-1
ii  libreoffice-base-core  1:6.3.2-1+b1
ii  libreoffice-core       1:6.3.2-1+b1
ii  librevenge-0.0-0       0.0.4-6+b1
ii  libstaroffice-0.0-0    0.0.6-1
ii  libstdc++6             9.2.1-8
ii  libwpd-0.10-10         0.10.3-1
ii  libwpg-0.3-3           0.3.3-1
ii  libwps-0.4-4           0.4.10-1
ii  libxml2                2.9.4+dfsg1-7+b3
ii  uno-libs3              6.3.2-1+b1
ii  ure                    6.3.2-1+b1
ii  zlib1g                 1:1.2.11.dfsg-1+b1

Versions of packages libreoffice-writer recommends:
ii  libreoffice-math  1:6.3.2-1+b1

Versions of packages libreoffice-writer suggests:
ii  default-jre [java6-runtime]     2:1.11-72
ii  fonts-crosextra-caladea         20130214-2
ii  fonts-crosextra-carlito         20130920-1
ii  libreoffice-base                1:6.3.2-1+b1
ii  libreoffice-java-common         1:6.3.2-1
ii  openjdk-11-jre [java6-runtime]  11.0.5+10-2

Versions of packages libreoffice-calc depends on:
ii  coinor-libcoinmp1v5    1.8.3-2+b11
ii  libc6                  2.29-3
ii  libetonyek-0.1-1       0.1.9-1
ii  libgcc1                1:9.2.1-8
ii  libicu63               63.2-2
ii  libmwaw-0.3-3          0.3.15-2
ii  libodfgen-0.1-1        0.1.7-1
ii  liborcus-0.14-0        0.14.1-6
ii  libreoffice-base-core  1:6.3.2-1+b1
ii  libreoffice-core       1:6.3.2-1+b1
ii  librevenge-0.0-0       0.0.4-6+b1
ii  libstaroffice-0.0-0    0.0.6-1
ii  libstdc++6             9.2.1-8
ii  libwps-0.4-4           0.4.10-1
ii  libxml2                2.9.4+dfsg1-7+b3
ii  lp-solve               5.5.0.15-4+b1
ii  uno-libs3              6.3.2-1+b1
ii  ure                    6.3.2-1+b1

Versions of packages libreoffice-calc suggests:
ii  beignet-opencl-icd  1.3.2-6+b10
ii  ocl-icd-libopencl1  2.2.12-2

Versions of packages libreoffice-base depends on:
ii  libc6                     2.29-3
ii  libgcc1                   1:9.2.1-8
ii  libreoffice-base-core     1:6.3.2-1+b1
ii  libreoffice-base-drivers  1:6.3.2-1+b1
ii  libreoffice-core          1:6.3.2-1+b1
ii  libstdc++6                9.2.1-8
ii  uno-libs3                 6.3.2-1+b1
ii  ure                       6.3.2-1+b1

Versions of packages libreoffice-base recommends:
ii  default-jre [java6-runtime]     2:1.11-72
ii  libreoffice-java-common         1:6.3.2-1
ii  libreoffice-writer              1:6.3.2-1+b1
ii  openjdk-11-jre [java6-runtime]  11.0.5+10-2

Versions of packages libreoffice-base suggests:
pn  libreoffice-report-builder  <none>
ii  unixodbc                    2.3.6-0.1+b1

Versions of packages libreoffice-draw depends on:
ii  libavahi-client3     0.7-4+b1
ii  libavahi-common3     0.7-4+b1
ii  libc6                2.29-3
ii  libcdr-0.1-1         0.1.5-1
ii  libdbus-1-3          1.12.16-2
ii  libfreehand-0.1-1    0.1.2-2
ii  libgcc1              1:9.2.1-8
ii  libglib2.0-0         2.62.1-1
ii  libmspub-0.1-1       0.1.4-1+b2
ii  libmwaw-0.3-3        0.3.15-2
ii  libodfgen-0.1-1      0.1.7-1
ii  libpagemaker-0.0-0   0.0.4-1
ii  libqxp-0.0-0         0.0.2-1
ii  libreoffice-core     1:6.3.2-1+b1
ii  librevenge-0.0-0     0.0.4-6+b1
ii  libstaroffice-0.0-0  0.0.6-1
ii  libstdc++6           9.2.1-8
ii  libvisio-0.1-1       0.1.7-1
ii  libwpg-0.3-3         0.3.3-1
ii  libxml2              2.9.4+dfsg1-7+b3
ii  libzmf-0.0-0         0.0.2-1+b2
ii  uno-libs3            6.3.2-1+b1
ii  ure                  6.3.2-1+b1
ii  zlib1g               1:1.2.11.dfsg-1+b1

Versions of packages libreoffice-impress depends on:
ii  libc6                2.29-3
ii  libepoxy0            1.5.3-0.1
ii  libetonyek-0.1-1     0.1.9-1
ii  libgcc1              1:9.2.1-8
ii  libmwaw-0.3-3        0.3.15-2
ii  libodfgen-0.1-1      0.1.7-1
ii  libreoffice-core     1:6.3.2-1+b1
ii  libreoffice-draw     1:6.3.2-1+b1
ii  librevenge-0.0-0     0.0.4-6+b1
ii  libstaroffice-0.0-0  0.0.6-1
ii  libstdc++6           9.2.1-8
ii  uno-libs3            6.3.2-1+b1
ii  ure                  6.3.2-1+b1

Versions of packages libreoffice-impress suggests:
ii  bluez  5.50-1+b1

Versions of packages libreoffice-math depends on:
ii  fonts-opensymbol  2:102.11+LibO6.3.2-1
ii  libc6             2.29-3
ii  libgcc1           1:9.2.1-8
ii  libreoffice-core  1:6.3.2-1+b1
ii  libstdc++6        9.2.1-8
ii  uno-libs3         6.3.2-1+b1
ii  ure               6.3.2-1+b1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iHMEARECADMWIQTlAc7j4DAtSNRJJ0z7P4jCVepZ/gUCXecxahUcYW50aG9ueUBk
ZXJvYmVydC5uZXQACgkQ+z+IwlXqWf64UwCdEwM3/lkzP3n2DKZoYhp6kajae+4A
mwWGREdqb9bXNOHdz/WZ928qXlRb
=BuJo
-----END PGP SIGNATURE-----

Reply to: