mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #178] How to use Unbound profile #125
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#125
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 @rogshdo on GitHub (Nov 29, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/178
Whenever I try to jail Unbound, the jail shuts down within a few seconds of launching.
I am running firejail 0.9.34 but have grabbed the unbound.profile from current git. Should I try to launch the jail in some other way or do I just need to wait for the 0.9.35 release?
@netblue30 commented on GitHub (Nov 30, 2015):
I have an unbound profile in the master branch. A release will probably come in the next few days, or you can get what I have now and compile it. I usually start unbound as:
If is not starting, you'll need to check the system log to see what is going on. On Debian/Ubuntu, syslog is in /var/log/syslog. I usually keep an xterm open running "sudo tail -f /var/log/syslog" when playing with servers.
@rogshdo commented on GitHub (Nov 30, 2015):
I turned up verbosity's logging level so I get more output now. When I launch unbound, everything is fine until I make a dns query (in this example I
ping google.com).The DNSSEC anchor key is in /etc/unbound. Here is the relevant part of my unbound.conf:
I don't know why the error is complaining aoubt
/keys/dnssec-root-anchor.key.1-0when the key is at/etc/unbound/keys/dnssec-root-anchor.key. Any idea?@netblue30 commented on GitHub (Dec 1, 2015):
I think I know what the problem is: the following directories are mounted read-only by the sandbox: /bin, /sbin, /lib, /lib64, /usr, /etc, and /var.
I would move dnssec-root-anchor.key inside /run directory. They already have over there an unbound.pid file. Usually under /etc you have configuration files that cannot be modified by the application. Things that are changing usually go under /run.