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

Bug#996016: marked as done (libreoffice: fails to send email with Thunderbird set as mailer in KDE)



Your message dated Sun, 10 Oct 2021 22:03:47 +0200
with message-id <51b3f72f-f9f1-8162-2d20-6467acb8130b@debian.org>
and subject line Re: Bug#996016: libreoffice: fails to send email
has caused the Debian Bug report #996016,
regarding libreoffice: fails to send email with Thunderbird set as mailer in KDE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
996016: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996016
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libreoffice
Severity: normal

Dear Maintainer,

When I created a document in libreoffice and when I would send it as mail attachment, Libreoffice simply doesn't open my mailprogram defined in KDE. When I start libreoffice in a shell, I got error messages when sending the document as mail. In fact, I defined Thunderbird as my mail program in KDE->Settings.
The error message I got is:

moz=/usr/bin/thunderbird
FOPTS=-L
Befehlzeile: if file -L /usr/bin/thunderbird | grep script > /dev/null && grep [NM]PL /usr/bin/thunderbird > /dev/null
/usr/lib/libreoffice/program/senddoc: 64: file: Permission denied
3
$1=/usr/bin/thunderbird
/usr/bin/thunderbird -compose subject='FEO',attachment='file:///tmp/lu3553l027nu.tmp/lu3553l027nx.tmp/FEO.ods'
$2=subject='FEO',attachment='file:///tmp/lu3553l027nu.tmp/lu3553l027nx.tmp/FEO.ods'
/usr/lib/libreoffice/program/senddoc: 77: /usr/bin/thunderbird: Permission denied

I modified the script senddoc with several echo commands to get an output which component is causing the error. As you can see, I got a permission denied on /usr/bin/thunderbird. I checked the permissions and those seemed to be ok, and when I start thunderbird directly in the shell, it will start. So I disabled apparmor. I completely uninstalled it and after a reboot, the sending by mail attachment works as expected.

This is only an ugly workaround to get it work again, so help please.

Thank you

-- System Information:
Debian Release: 11.1
APT prefers stable
APT policy: (700, 'stable'), (500, 'stable-updates'), (500, 'stable-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_LU.UTF-8, LC_CTYPE=de_LU.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

Versions of packages libreoffice recommends:
ii fonts-crosextra-caladea 20130214-2.1
ii fonts-crosextra-carlito 20130920-1.1
ii fonts-dejavu 2.37-2
ii fonts-liberation 1:1.07.4-11
ii fonts-liberation2 2.1.3-1
ii fonts-linuxlibertine 5.3.0-6
ii fonts-noto-core 20201225-1
ii fonts-noto-extra 20201225-1
ii fonts-noto-mono 20201225-1
ii fonts-noto-ui-core 20201225-1
pn fonts-sil-gentium-basic <none>
ii libreoffice-java-common 1:7.0.4-4
pn libreoffice-nlpsolver <none>
ii libreoffice-report-builder 1:7.0.4-4
pn libreoffice-script-provider-bsh <none>
pn libreoffice-script-provider-js <none>
pn libreoffice-script-provider-python <none>
ii libreoffice-sdbc-mysql 1:7.0.4-4
ii libreoffice-sdbc-postgresql 1:7.0.4-4
pn libreoffice-wiki-publisher <none>

Versions of packages libreoffice suggests:
ii cups-bsd 2.3.3op2-3+deb11u1
ii default-jre [java8-runtime] 2:1.11-72
ii firefox-esr 78.15.0esr-1~deb11u1
ii ghostscript 9.53.3~dfsg-7+deb11u1
ii gnupg 2.2.27-2
pn gpa <none>
ii gstreamer1.0-libav 1.18.4-3
ii gstreamer1.0-plugins-bad 1.18.4-3
ii gstreamer1.0-plugins-base 1.18.4-2
ii gstreamer1.0-plugins-good 1.18.4-2
ii gstreamer1.0-plugins-ugly 1.18.4-2
ii hunspell-de-at [hunspell-dictionary] 20161207-9
ii hunspell-de-ch [hunspell-dictionary] 20161207-9
ii hunspell-de-de [hunspell-dictionary] 20161207-9
ii hunspell-en-us [hunspell-dictionary] 1:2019.10.06-1
ii hyphen-de [hyphen-hyphenation-patterns] 1:7.1.0~rc3-3
ii imagemagick 8:6.9.11.60+dfsg-1.3
ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3
ii libgl1 1.3.2-1
pn libofficebean-java <none>
pn libreoffice-gnome | libreoffice-plasma <none>
pn libreoffice-grammarcheck <none>
ii libreoffice-help-de [libreoffice-help] 1:7.0.4-4
ii libreoffice-l10n-de [libreoffice-l10n] 1:7.0.4-4
pn libreoffice-librelogo <none>
ii libsane1 1.0.31-4.1
ii libxrender1 1:0.9.10-1
ii myspell-fr-gut [myspell-dictionary] 1:1.0-32.1
ii mythes-de [mythes-thesaurus] 20160424-4
ii mythes-de-ch [mythes-thesaurus] 20160424-4
pn openclipart2-libreoffice | openclipart-libreoffice <none>
ii openjdk-11-jre [java8-runtime] 11.0.12+7-2
pn pstoedit <none>
ii thunderbird 1:78.14.0-1~deb11u1
pn unixodbc <none>

--- End Message ---
--- Begin Message ---
Hi,

Am 10.10.21 um 21:52 schrieb Alex:
>
> On 10.10.21 21:10, Rene Engelhard wrote:
>>
>> Although best is to keep it as sensible-lomua which then runs xdg-open
>>>> case `basename "$MAILER"` in
>>>>       sensible-lomua)
>>>>           if [ -x /usr/bin/xdg-email ] ; then
>>>>               MAILER=/usr/bin/xdg-email
>> [...]
>>
>>
>> And as said sensible-lomua (which is the default setting in LO) is more
>> or less a redirection also defaulting to actually calling xdg-email
>> anyway.
>>
>>
>> Can we close this as "user configuration error"? :)
>
>
> Yes, you can. [...]

Doing, thanks.


Regards,


Rene

--- End Message ---

Reply to: