mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1866] conky issues #1260
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#1260
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 @mjsurette on GitHub (Apr 6, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1866
I have installed Parrot Studio 3.11 on my computer. It uses firejail version 0.9.52.
I have some problems with my conky script and firejail.
Here is my .config/firejail/conky.profile
My conky.conf works as expected under openSUSE Tumbleweed on the same machine.
Running it under Parrot with
firejail --noprofile conkygives:
The private-bin allows the scripts inside my conky.conf to run, however there must be some other limitations. Here are the issues I'm having:
who |awk '{print $1}'
will print my username in a terminal but prints nothing in my conky.conf
who -b |awk '{print $3 " " $4}'
works in both contexts.
Other issues I'm having problems with are some of the conky built-in variables.
top and top_mem in particular only report the processes related to conky. I would like to expand this to all of the current user's processes.
fs_used and fs_free work properly for '/' but report the numbers di gives for '/sys/fs/cgroup' when asked for '/home'
Any guidance on how to remove these restrictions would be very much appreciated.
Mike
@Fred-Barclay commented on GitHub (Apr 6, 2018):
I think Parrot OS automatically starts many programs inside firejail - i.e. running
conkyin Parrot OS is equivalent to runningfirejail conkyon OpenSUSE.So, when you run
firejail conkyon Parrot OS, you're really runningfirejail firejail conky, thus firejail tries to sandbox another firejail instance, causing the error message about the existing sandbox.You can check by starting
conkyand then callingfirejail --list. If you see conky as one of the listed programs, then it's being sandboxed automatically. 😄@mjsurette commented on GitHub (Apr 7, 2018):
Yes, Parrot OS does sandbox everything. I haven't been able to start conky without one. I like the idea of having everything sandboxed, but not losing functionality.
My concern is about restoring this functionality. I really can't see how to run conky without the sandboxing it.
Mike
@mjsurette commented on GitHub (Apr 8, 2018):
I followed the procedure outlined at https://l3net.wordpress.com/2015/04/13/firejail-seccomp-guide/
After adding 75 items to the seccomp.keep line, there were no more syslog entries. The behaviour was exactly the same as when I had the unadorned seccomp.
Does this mean that something other than firejail is blocking my desired functionality? Is there somewhere else that I can look?
Mike
@smitsohu commented on GitHub (Apr 9, 2018):
whoandtopproviding only limited information inside the sandbox is by design and currently not configurable. EDIT: It is possible though to allowwhoto read /var/log/wtmp with the--writable-var-logoption, if that's considered an acceptable alternative.If you prefer to disable firejail just delete /usr/local/bin/conky, which is a symlink pointing to the firejail binary.
@mjsurette commented on GitHub (Apr 15, 2018):
Yes, that does the trick. I would prefer to have it jailed, but life is full comprimises.
Thank you for the help.
Mike