[GH-ISSUE #2214] LibreOffice won't start on Parrot 4.3 #1483

Closed
opened 2026-05-05 08:09:05 -06:00 by gitea-mirror · 14 comments
Owner

Originally created by @maxpostal on GitHub (Oct 24, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2214

Hi,

I have faced with issue on Parrot 4.3:

$libreoffice %U
Reading profile /etc/firejail/libreoffice.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 18644, child pid 18645
Child process initialized in 84.41 ms
Final linking of kernel DynamicKernel failed.

Parent is shutting down, bye...
$firejail --apparmor libreoffice
Reading profile /etc/firejail/libreoffice.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 18747, child pid 18748
Child process initialized in 88.34 ms
Warning: an existing sandbox was detected. /usr/bin/libreoffice will run without any additional sandboxing features
Final linking of kernel DynamicKernel failed.

Parent is shutting down, bye...
Originally created by @maxpostal on GitHub (Oct 24, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2214 Hi, I have faced with issue on Parrot 4.3: ``` $libreoffice %U Reading profile /etc/firejail/libreoffice.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 18644, child pid 18645 Child process initialized in 84.41 ms Final linking of kernel DynamicKernel failed. Parent is shutting down, bye... ``` ``` $firejail --apparmor libreoffice Reading profile /etc/firejail/libreoffice.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 18747, child pid 18748 Child process initialized in 88.34 ms Warning: an existing sandbox was detected. /usr/bin/libreoffice will run without any additional sandboxing features Final linking of kernel DynamicKernel failed. Parent is shutting down, bye... ```
Author
Owner

@smitsohu commented on GitHub (Oct 28, 2018):

Can you please try if firejail --noprofile libreoffice works?

Somethings else to try would be firejail --tracelog libreoffice, and then check journalctl | grep blacklist if there is something related to libreoffice.

Thanks.

<!-- gh-comment-id:433705373 --> @smitsohu commented on GitHub (Oct 28, 2018): Can you please try if `firejail --noprofile libreoffice` works? Somethings else to try would be `firejail --tracelog libreoffice`, and then check `journalctl | grep blacklist` if there is something related to libreoffice. Thanks.
Author
Owner

@SkewedZeppelin commented on GitHub (Oct 28, 2018):

@smitsohu iirc Parrot ships many modified profiles.

@Max1mCom can you also paste in /etc/firejail/libreoffice.profile too?

<!-- gh-comment-id:433721801 --> @SkewedZeppelin commented on GitHub (Oct 28, 2018): @smitsohu iirc Parrot ships many modified profiles. @Max1mCom can you also paste in `/etc/firejail/libreoffice.profile` too?
Author
Owner

@maxpostal commented on GitHub (Oct 29, 2018):

Hello guys, thank you for your help.

Can you please try if firejail --noprofile libreoffice works?
Somethings else to try would be firejail --tracelog libreoffice

These commands are 'freezing' my system:
https://prnt.sc/lbn7r6

And command sudo journalctl | grep blacklist gives me the blank output. I mean, it doesn't output anything.

<!-- gh-comment-id:433794690 --> @maxpostal commented on GitHub (Oct 29, 2018): Hello guys, thank you for your help. > Can you please try if `firejail --noprofile libreoffice` works? > Somethings else to try would be firejail --tracelog libreoffice These commands are 'freezing' my system: https://prnt.sc/lbn7r6 And command `sudo journalctl | grep blacklist` gives me the blank output. I mean, it doesn't output anything.
Author
Owner

@maxpostal commented on GitHub (Oct 29, 2018):

And LibreOffice doesn't work on Parrot right after installation.
I use ru-RU locale.

<!-- gh-comment-id:433794948 --> @maxpostal commented on GitHub (Oct 29, 2018): And LibreOffice doesn't work on Parrot right after installation. I use ru-RU locale.
Author
Owner

@maxpostal commented on GitHub (Oct 29, 2018):

can you also paste in /etc/firejail/libreoffice.profile too?

┌─[✗]─[max@parrot]─[~]
└──╼ $sudo cat /etc/firejail/libreoffice.profile
# Firejail profile for libreoffice
# Description: Office productivity suite
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/libreoffice.local
# Persistent global definitions
include /etc/firejail/globals.local

noblacklist ${HOME}/.java
noblacklist /usr/local/sbin
noblacklist ${HOME}/.config/libreoffice

# libreoffice uses java; if you don't care about java functionality,
# comment the next four lines
noblacklist ${PATH}/java
noblacklist /usr/lib/java
noblacklist /etc/java
noblacklist /usr/share/java

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

include /etc/firejail/whitelist-var-common.inc

# Ubuntu 18.04 uses its own apparmor profile
# uncomment the next line if you are not on Ubuntu
apparmor
caps.drop all
machine-id
netfilter
#nodbus
nodvd
nogroups
#nonewprivs - fix for Ubuntu 18.04/Debian 10
noroot
notv
#protocol unix,inet,inet6  - fix for Ubuntu 18.04/Debian 10
#seccomp  - fix for Ubuntu 18.04/Debian 10
shell none
#tracelog - problems reported by Ubuntu 18.04 apparmor profile in /var/log/syslog

private-dev
private-tmp

noexec ${HOME}
noexec /tmp

join-or-start libreoffice
┌─[max@parrot]─[~]
<!-- gh-comment-id:433795241 --> @maxpostal commented on GitHub (Oct 29, 2018): > can you also paste in `/etc/firejail/libreoffice.profile` too? ``` ┌─[✗]─[max@parrot]─[~] └──╼ $sudo cat /etc/firejail/libreoffice.profile # Firejail profile for libreoffice # Description: Office productivity suite # This file is overwritten after every install/update # Persistent local customizations include /etc/firejail/libreoffice.local # Persistent global definitions include /etc/firejail/globals.local noblacklist ${HOME}/.java noblacklist /usr/local/sbin noblacklist ${HOME}/.config/libreoffice # libreoffice uses java; if you don't care about java functionality, # comment the next four lines noblacklist ${PATH}/java noblacklist /usr/lib/java noblacklist /etc/java noblacklist /usr/share/java include /etc/firejail/disable-common.inc include /etc/firejail/disable-devel.inc include /etc/firejail/disable-passwdmgr.inc include /etc/firejail/disable-programs.inc include /etc/firejail/whitelist-var-common.inc # Ubuntu 18.04 uses its own apparmor profile # uncomment the next line if you are not on Ubuntu apparmor caps.drop all machine-id netfilter #nodbus nodvd nogroups #nonewprivs - fix for Ubuntu 18.04/Debian 10 noroot notv #protocol unix,inet,inet6 - fix for Ubuntu 18.04/Debian 10 #seccomp - fix for Ubuntu 18.04/Debian 10 shell none #tracelog - problems reported by Ubuntu 18.04 apparmor profile in /var/log/syslog private-dev private-tmp noexec ${HOME} noexec /tmp join-or-start libreoffice ┌─[max@parrot]─[~] ```
Author
Owner

@smitsohu commented on GitHub (Oct 29, 2018):

Final linking of kernel DynamicKernel failed.

Maybe some problem with the DKMS.
Can you then please try another one?

If you have not done so yet, please run libreoffice once without firejail. To do this, give the absolute path on the commandline, e.g. /usr/bin/loffice. Afterwards try if you can start it with firejail as normal.

Should this not help, another command would be firejail --noprofile --allow-debuggers --writable-var --noblacklist=/sys/* libreoffice. If that one works, it would be awesome if you could juggle a bit with the options to find the minimal required set.

Thanks.

<!-- gh-comment-id:433892722 --> @smitsohu commented on GitHub (Oct 29, 2018): > Final linking of kernel DynamicKernel failed. Maybe some problem with the DKMS. Can you then please try another one? If you have not done so yet, please run libreoffice _once without_ firejail. To do this, give the absolute path on the commandline, e.g. /usr/bin/loffice. Afterwards try if you can start it with firejail as normal. Should this not help, another command would be `firejail --noprofile --allow-debuggers --writable-var --noblacklist=/sys/* libreoffice`. If that one works, it would be awesome if you could juggle a bit with the options to find the minimal required set. Thanks.
Author
Owner

@maxpostal commented on GitHub (Oct 30, 2018):

Hello,

Thanks a lot.

$firejail --noprofile --allow-debuggers --writable-var --noblacklist=/sys/* libreoffice still freezes interface.

But $/usr/bin/loffice is working.
And after that $loffice is working too.
Libreoffice now is launching as usual.

<!-- gh-comment-id:434177610 --> @maxpostal commented on GitHub (Oct 30, 2018): Hello, Thanks a lot. `$firejail --noprofile --allow-debuggers --writable-var --noblacklist=/sys/* libreoffice` still freezes interface. But `$/usr/bin/loffice` is working. And after that `$loffice` is working too. Libreoffice now is launching as usual.
Author
Owner

@Abdibasidissack commented on GitHub (Jan 8, 2019):

can you explain the steps you've taken to solve it

<!-- gh-comment-id:452220333 --> @Abdibasidissack commented on GitHub (Jan 8, 2019): can you explain the steps you've taken to solve it
Author
Owner

@maxpostal commented on GitHub (Jan 8, 2019):

Hi,
I don't remember exactly.
Just try to run the following command from my previus message:
/usr/bin/loffice

And also try to update your system packages:
sudo apt update && sudo apt upgrade

It's quite the old issue, I think it should be fixed.

<!-- gh-comment-id:452268760 --> @maxpostal commented on GitHub (Jan 8, 2019): Hi, I don't remember exactly. Just try to run the following command from my previus message: `/usr/bin/loffice` And also try to update your system packages: `sudo apt update && sudo apt upgrade` It's quite the old issue, I think it should be fixed.
Author
Owner

@bgagan911 commented on GitHub (Jan 20, 2019):

/usr/bin/loffice
Works!!!!

<!-- gh-comment-id:455849599 --> @bgagan911 commented on GitHub (Jan 20, 2019): `/usr/bin/loffice ` Works!!!!
Author
Owner

@Abdibasidissack commented on GitHub (Jan 20, 2019):

Thank you.
It works.

On Sun, Jan 20, 2019, 12:12 PM bgagan911 <notifications@github.com wrote:

/usr/bin/loffice

Works!!!!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/netblue30/firejail/issues/2214#issuecomment-455849599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq6vVzBJKWlVH_YrW1B37r45JJA4O9cvks5vFDL-gaJpZM4X3yiB
.

<!-- gh-comment-id:455851785 --> @Abdibasidissack commented on GitHub (Jan 20, 2019): Thank you. It works. On Sun, Jan 20, 2019, 12:12 PM bgagan911 <notifications@github.com wrote: > /usr/bin/loffice > > Works!!!! > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/netblue30/firejail/issues/2214#issuecomment-455849599>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/Aq6vVzBJKWlVH_YrW1B37r45JJA4O9cvks5vFDL-gaJpZM4X3yiB> > . >
Author
Owner

@ghost commented on GitHub (May 12, 2019):

I can confirm the problem is still there in Parrot Security 4.6. /usr/bin/loffice did the trick. Thanks! 😙

<!-- gh-comment-id:491584861 --> @ghost commented on GitHub (May 12, 2019): I can confirm the problem is still there in Parrot Security 4.6. `/usr/bin/loffice` did the trick. Thanks! :kissing_smiling_eyes:
Author
Owner

@ContactLeft commented on GitHub (May 22, 2019):

Has this been fixed?

Neither one of these workarounds work for me.

<!-- gh-comment-id:494652031 --> @ContactLeft commented on GitHub (May 22, 2019): Has this been fixed? Neither one of these workarounds work for me.
Author
Owner

@mjell027 commented on GitHub (May 25, 2019):

As @smitsohu already said this worked for me:
If you have not done so yet, please run libreoffice once without firejail.
To do this, give the absolute path on the commandline, e.g. /usr/bin/loffice.

<!-- gh-comment-id:495928501 --> @mjell027 commented on GitHub (May 25, 2019): As @smitsohu already said this worked for me: If you have not done so yet, please run libreoffice once without firejail. To do this, give the absolute path on the commandline, e.g. /usr/bin/loffice.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1483
No description provided.