mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #718] thunderbird use "wrong" pdf viewer #488
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frank-github on GitHub (Aug 15, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/718
after running thunderbird started by firejail version 0.9.40
I can't view attached pdf files by double click or "open", because thunderbird is not using my preferred pdf viewer anymore. It's starting the ubuntu default pdf viewer evince with the first part of pdf file name (white space in original name like "my test.pdf"
Found in syslog
Aug 16 01:16:24 ubuntu kernel: [228493.464107] audit: type=1400 audit(1471302984.440:780): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/ld.so.preload" pid=1512 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Aug 16 01:16:24 ubuntu kernel: [228493.638309] audit: type=1400 audit(1471302984.616:781): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xfce4/defaults.list" pid=1512 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
anything to do with my problem? not sure, /etc/xfce4/default.list is empty
If I start thunderbird without firejail everything works fine.
any hints and tips are welcome how to config firejail, that thunderbird is using my preferred applications for attached files.
@frank-github commented on GitHub (Aug 16, 2016):
tried it with private-Option: private /home/myuser
now my favourite pdf viewer is started, but with wrong file-name, splitted at white space
@netblue30 commented on GitHub (Aug 17, 2016):
The two audit messages you printed above are from AppArmor, and I would say the messages are normal. I assume you are on a Ubuntu platform - they have all kind of bugs in AppArmor, but in the end, evince manages to start.
I think this is already fixed in the version here on github.
Thunderbird profile is a whitelisted profile, and allows access only to firefox and thunderbird configuration files. Evince will not find its own config files, and many things will go wrong. Do the following test - in a terminal start thunderbird as follows:
If this is working fine, we can go ahead and build a special profile.
@manevich commented on GitHub (Aug 17, 2016):
@netblue30
I suspect it is not, at least in
cf70d33717, this is probably same as one of problems I working on now:first:
firejail firejail cat filename\ with\ spacesresults insecond: no
--shelloptions honoredfirejail --shell=/bin/sh firejail --shell=/bin/shwill start bash.Fix for first problem almost ready. If nothing nasty comes up, I will send pull request today.
@frank-github commented on GitHub (Aug 18, 2016):
@manevich
yes, this is exactly my space problem 👍
@netblue30
starting with --noprofile had the exact same result as
@frank-github commented on GitHub (Aug 19, 2016):
@netblue30
#729 is adressing "space problem"
in this issue we had two problems, "space" and "wrong application started"
is last one fixed too ?
@netblue30 commented on GitHub (Aug 20, 2016):
I have no idea, give it a try. I think the "space problem" is fixed.