NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57242: unbound rc.d script does not work with chrooted unbound



>Number:         57242
>Category:       bin
>Synopsis:       unbound rc.d script does not work with chrooted unbound
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 22 12:05:00 +0000 2023
>Originator:     Martin Husemann
>Release:        NetBSD 10.0_BETA
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD plug.duskware.de 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #7: Fri Feb 10 14:39:45 CET 2023 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src-10/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

In a build with MKUNBOUND=yes the /etc/rc.d/unbound script does not properly
work. Unbound is started in a chroot but the pid file path is not properly
adjusted in the script.

>How-To-Repeat:

Install a MKUNBOUND=yes build and configure unbound to run, then query
its status and try to restart it.

 - add "unbound=YES to" /etc/rc.conf
 - /etc/rc.d/unbound start
 - pgrep unbound (note the pid)
 - /etc/rc.d/unbound status (claims it is not running)
 - /etc/rc.d/unbound restart
 - pgrep unbound (note the pid has not changed)

>Fix:
n/a



Home | Main Index | Thread Index | Old Index