[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
This is still broken in Kubuntu, as of 22.10. I use LO & Thunderbird. The preliminary steps happen, such as creating a PDF--if requested. But the email application (Thunderbird in my case) is never called. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
I can confirm Robert's message : on Ubuntu 20.04 default gnome install, it doesn't attach a file. And the proposed apparmor "fix" + set to thunderbird did the trick. Alsos note that if using "Ubuntu live" from an USB key, with a correctly setup thunderbird, the composer windows of thunderbird does include the file when used from libreoffice's "send file/pdf per email" -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
The same happens on Ubuntu Gnome versions. It looks like apparmour problem. I did next steps to make it work: ln -s /etc/apparmor.d/usr.lib.libreoffice.program.oosplash /etc/apparmor.d/disable/ apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.oosplash ln -s /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin /etc/apparmor.d/disable/ apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin ln -s /etc/apparmor.d/usr.lib.libreoffice.program.senddoc /etc/apparmor.d/disable/ apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.senddoc And after that I had to replace sensible-lomua with thunderbird inside LO Tools -> Settings -> Internet -> E-mail client. I don't know why sensbile-lomua does not exist anymore and nothing else works. Even if I put xdg-email or just thunderbird. Without apparmor changes it does nothing. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libreoffice (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: kmail (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
** Changed in: libreoffice (Ubuntu) Importance: Undecided => Low ** Changed in: kmail (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: New Status in libreoffice package in Ubuntu: New Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
disabling usr.lib.libreoffice.program.senddoc doesn't fix it but does change the nature of the compliant from RW to X disabling usr.lib.libreoffice.program.soffice.bin, in addition, solves the kmail problem and permits running of kmail => apparmour profile problem -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: New Status in libreoffice package in Ubuntu: New Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1899667] Re: LO can't send email, probably an apparmour problem
[] audit: type=1400 audit(): apparmor="DENIED" operation="file_inherit" profile="libreoffice-senddoc" name="x" pid=8106 comm="senddoc" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000 [] audit: type=1400 audit(): apparmor="DENIED" operation="exec" profile ="libreoffice-senddoc" name="/usr/bin/kmail" pid=8116 comm="senddoc" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 cat /etc/apparmor.d/usr.lib.libreoffice.program.senddoc #include profile libreoffice-senddoc /usr/lib/libreoffice/program/senddoc { #include #include /{usr/,}bin/shrmix, /{usr/,}bin/bash rmix, /{usr/,}bin/dash rmix, /{usr/,}bin/sed rmix, /usr/bin/dirname rmix, /usr/bin/basename rmix, /{usr/,}bin/grep rmix, /{usr/,}bin/uname rmix, /usr/bin/xdg-open rPUx, /usr/bin/xdg-emailrPUx, /dev/null rw, /usr/lib/libreoffice/program/uri-encode rmpux, /usr/share/libreoffice/share/config/* r, owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw, } ** Also affects: kmail (Ubuntu) Importance: Undecided Status: New ** Also affects: libreoffice (Ubuntu) Importance: Undecided Status: New ** No longer affects: ubuntu-release-upgrader (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1899667 Title: LO can't send email, probably an apparmour problem Status in kmail package in Ubuntu: New Status in libreoffice package in Ubuntu: New Bug description: LO can't send email: LibreOffice was unable to find a working email configuration. I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.25 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Oct 13 17:01:43 2020 InstallationDate: Installed on 2017-03-26 (1297 days ago) InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago) VarLogDistupgradeXorgFixuplog: INFO:root:/usr/bin/do-release-upgrade running INFO:root:No xorg.conf, exiting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1899667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp