Unbound crash with chroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unbound (Debian) |
Fix Released
|
Unknown
|
|||
unbound (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
if chroot a value has been entered in unbound.conf, unbound cannot create a chroot and fails. An empty value for chroot works without problems.
Jul 01 11:27:41 ldhost unbound[18800]: [18800:0] notice: init module 0: iterator
Jul 01 11:27:41 ldhost unbound[18800]: [18800:0] warning: root hints /etc/unbound/
Jul 01 11:27:41 ldhost unbound[18800]: [18800:0] fatal error: sd_notify failed /run/systemd/
Jul 01 11:27:41 ldhost systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
however, this problem only seems to arise from starting with systemd. If you start unbound in the terminal with unbound -d -c /etc/unbound/
Changed in unbound (Debian): | |
status: | Unknown → New |
Changed in unbound (Debian): | |
status: | New → Fix Released |
Thanks for this bug report. There is a Debian bug for this issue which I linked to this report. As unbound is currently a sync from Debian and the impact of this bug is limited the fix should ideally land in Debian. Ubuntu will then pick it up with the next sync of the package.