Your message dated Wed, 30 Aug 2023 12:44:38 +0300
with message-id <[email protected]>
and subject line Re: Bug#1034494: unbound: Unbound fails to create pid file 
even when pidfile specified in /etc/unbound/unbound.conf or /etc/init.d/unbound
has caused the Debian Bug report #1034494,
regarding unbound: Unbound fails to create pid file even when pidfile specified 
in /etc/unbound/unbound.conf or /etc/init.d/unbound
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1034494: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unbound
Version: 1.13.1-1
Severity: normal




-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
Architecture: armv7l

Kernel: Linux 6.1.21-v7l+ (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_CA.UTF-8), LANGUAGE=en_CA.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages unbound depends on:
ii  adduser         3.118
ii  dns-root-data   2021011101
ii  libc6           2.31-13+rpt2+rpi1+deb11u5
ii  libevent-2.1-7  2.1.12-stable-1
ii  libprotobuf-c1  1.3.3-1+b2
ii  libpython3.9    3.9.2-1+rpi1
ii  libssl1.1       1.1.1n-0+deb11u4+rpt1
ii  libsystemd0     247.3-7+rpi1+deb11u1
ii  lsb-base        11.1.0+rpi1
ii  openssl         1.1.1n-0+deb11u4+rpt1
ii  unbound-anchor  1.13.1-1

unbound recommends no packages.

Versions of packages unbound suggests:
pn  apparmor  <none>

-- Configuration Files:
/etc/init.d/unbound changed:
NAME="unbound"
DESC="DNS server"
DAEMON="/usr/sbin/unbound"
PIDFILE="/run/unbound.pid"
HELPER="/usr/lib/unbound/package-helper"
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
DAEMON_OPTS=""
if [ -f /etc/default/unbound ]; then
    . /etc/default/unbound
fi
case "$1" in
    start)
        log_daemon_msg "Starting $DESC" "$NAME"
        $HELPER chroot_setup
        $HELPER root_trust_anchor_update 2>&1 | logger -p daemon.info -t 
unbound-anchor
        if start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --name 
$NAME --startas $DAEMON -- $DAEMON_OPTS; then
            $HELPER resolvconf_start
            log_end_msg 0
        else
            log_end_msg 1
        fi
        ;;
    stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
        #if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name 
$NAME --retry 5; then
        if start-stop-daemon --stop --quiet --oknodo --remove-pidfile --pidfile 
$PIDFILE --name $NAME --retry 5; then
            $HELPER resolvconf_stop
            $HELPER chroot_teardown
            log_end_msg 0
        else
            log_end_msg 1
        fi
        ;;
    restart|force-reload)
        log_daemon_msg "Restarting $DESC" "$NAME"
        #start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $NAME 
--retry 5
        start-stop-daemon --stop --quiet --remove-pidfile --pidfile $PIDFILE 
--name $NAME --retry 5
        $HELPER resolvconf_stop
        if start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --name 
$NAME --startas $DAEMON -- $DAEMON_OPTS; then
            $HELPER chroot_setup
            $HELPER resolvconf_start
            log_end_msg 0
        else
            log_end_msg 1
        fi
        ;;
    reload)
        log_daemon_msg "Reloading $DESC" "$NAME"
        if start-stop-daemon --stop --pidfile $PIDFILE --name $NAME --signal 1; 
then
            $HELPER chroot_setup
            log_end_msg 0
        else
            log_end_msg 1
        fi
        ;;
    status)
        status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
        ;;
    *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|status|reload|force-reload}" >&2
        exit 1
        ;;
esac
exit 0

/etc/resolvconf/update.d/unbound [Errno 2] No such file or directory: 
'/etc/resolvconf/update.d/unbound'
/etc/unbound/unbound.conf changed:
include: "/etc/unbound/unbound.conf.d/*.conf"
pidfile: "/run/unbound.pid"
interface: 127.0.0.2
port: 53
do-daemonize: yes
username: "unbound"
verbosity: 0
logfile: "/var/log/unbound.log"
log-queries: yes
hide-identity: yes
hide-version: yes
harden-glue: yes
harden-dnssec-stripped: yes
access-control: 0.0.0.0/0 allow
root-hints: "/etc/unbound/root.hints"
cache-max-ttl: 0
prefetch: yes
serve-expired: yes
msg-cache-size: 128m
rrset-cache-size: 256m
do-ip4: yes
do-udp: yes
do-tcp: yes
do-ip6: no
rrset-roundrobin: yes
use-caps-for-id: yes
edns-buffer-size: 1472
prefetch: yes
num-threads: 1
so-rcvbuf: 1m
qname-minimisation: yes
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
private-domain: plex.direct
server:
    tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
forward-zone:
    name: "."
    forward-tls-upstream: yes
    # Cloudflare DNS
    forward-addr: 1.1.1.1@853#cloudflare-dns.com
    forward-addr: 1.0.0.1@853#cloudflare-dns.com
    #forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
    #forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com
    # NordVPN
    #forward-addr: 103.86.96.100@853#dns1.nordvpn.com
    #forward-addr: 103.86.99.100@853#dns2.nordvpn.com
    # Quad9
    #forward-addr: 2620:fe::fe@853#dns.quad9.net
    #forward-addr: 9.9.9.9@853#dns.quad9.net
    #forward-addr: 2620:fe::9@853#dns.quad9.net
    #forward-addr: 149.112.112.112@853#dns.quad9.net


-- no debconf information

--- End Message ---
--- Begin Message ---
Closing this bug report now, since apparently this is not a bug.
Still it'd be interesting to know why do you want unbound to write a pid file, -
it is of no use when unbound is run by systemd.

/mjt

--- End Message ---

Reply via email to