Your message dated Thu, 27 Feb 2025 00:30:07 +0000
with message-id <[email protected]>
and subject line Bug#1059712: fixed in orphan-sysvinit-scripts 0.18
has caused the Debian Bug report #1059712,
regarding orphan-sysvinit-scripts: dnscrypt-proxy init script not working out 
of the box
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.)


-- 
1059712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059712
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: orphan-sysvinit-scripts
Version: 0.15
Severity: important

Dear Maintainer,

I installed dnscrypt-proxy alongside orphan-sysvinit-scripts. The
service does not start however. The script included in o-s-s passes
the -daemonize flag in line 44. This flag does not exist however on the
sid version of dnscrypt-proxy, thus rendering the script broken.
The systemd unit just calls this: "/usr/sbin/dnscrypt-proxy -config 
/etc/dnscrypt-proxy/dnscrypt-proxy.toml".

Trying to reproduce that by amending the init script [see attachment]
tries to start the service but fails because listen_addresses is empty.
This is as far as I got trying to get the service to run.

best,

werdahias

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages orphan-sysvinit-scripts depends on:
ii  ucf  3.0043+nmu1

orphan-sysvinit-scripts recommends no packages.

orphan-sysvinit-scripts suggests no packages.

-- no debconf information
#!/bin/sh -e

### BEGIN INIT INFO
# Provides:          dnscrypt-proxy
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Should-Start:      $network $syslog
# Should-Stop:       $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop dnscrypt-proxy
# Description:       dnscrypt-proxy is Domain Name resolver with extra security
#        features and enhanced privacy.
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin

. /lib/lsb/init-functions

DNSCRYPT_PROXY_BIN=/usr/sbin/dnscrypt-proxy
DNSCRYPT_PROXY_USER=_dnscrypt-proxy
DNSCRYPT_PROXY_PIDFILE=/run/dnscrypt-proxy.pid
DNSCRYPT_PROXY_CONF=/etc/dnscrypt-proxy/dnscrypt-proxy.toml
DNSCRYPT_PROXY_HOME=/run/dnscrypt-proxy
DNSCRYPT_PROXY_OPTIONS=""
DNSCRYPT_PROXY_LOCAL_ADDRESS="127.0.2.1:53"
DNSCRYPT_PROXY_RESOLVER_NAME=cisco

# Exit if the package is not installed
[ -x "${DNSCRYPT_PROXY_BIN}" ] || exit 0

[ -r "${DNSCRYPT_PROXY_CONF}" ] && . "${DNSCRYPT_PROXY_CONF}"


case "$1" in
    start)
        log_daemon_msg "Starting dnscrypt proxy service..." "dnscrypt-proxy"

        [ -d "${DNSCRYPT_PROXY_HOME}" ] || \
            mkdir -m 0555 "${DNSCRYPT_PROXY_HOME}"
        
        if start_daemon -p "${DNSCRYPT_PROXY_PIDFILE}" ${DNSCRYPT_PROXY_BIN} \
                        --pidfile "${DNSCRYPT_PROXY_PIDFILE}" \
                        -config "${DNSCRYPT_PROXY_CONF}" \
                        $DNSCRYPT_PROXY_OPTIONS; then
            if [ -x /sbin/resolvconf ]; then
                echo "nameserver ${DNSCRYPT_PROXY_LOCAL_ADDRESS}" \
                    | cut -d ':' -f 1 \
                    | /sbin/resolvconf -a lo.dnscrypt-proxy
            fi
            log_success_msg
        else
            log_failure_msg
        fi
        ;;

    stop)
        log_daemon_msg "Stopping dnscrypt proxy service..." "dnscrypt-proxy"

        if [ -x /sbin/resolvconf ]; then
            /sbin/resolvconf -d lo.dnscrypt-proxy
        fi

        if killproc -p "${DNSCRYPT_PROXY_PID}" ${DNSCRYPT_PROXY_BIN}
        then
            log_success_msg
        else
            log_failure_msg
        fi
        ;;

    restart|force-reload)
        $0 stop
        $0 start
        ;;
    
    status)
        ret=0
        status_of_proc -p "${DNSCRYPT_PROXY_PIDFILE}" ${DNSCRYPT_PROXY_BIN} \
                       dnscrypt-proxy 2>/dev/null || ret=$?
        exit $ret
        ;;

    *)
        log_action_msg "Usage: /etc/init.d/dnscrypt-proxy 
{start|stop|restart|force-reload|status}"
        exit 1
        ;;
esac

exit 0

--- End Message ---
--- Begin Message ---
Source: orphan-sysvinit-scripts
Source-Version: 0.18
Done: Matthew Vernon <[email protected]>

We believe that the bug you reported is fixed in the latest version of
orphan-sysvinit-scripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthew Vernon <[email protected]> (supplier of updated 
orphan-sysvinit-scripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 26 Feb 2025 20:26:50 +0000
Source: orphan-sysvinit-scripts
Architecture: source
Version: 0.18
Distribution: unstable
Urgency: medium
Maintainer: Debian sysvinit maintainers 
<[email protected]>
Changed-By: Matthew Vernon <[email protected]>
Closes: 1034833 1042080 1055645 1059712 1065133
Changes:
 orphan-sysvinit-scripts (0.18) unstable; urgency=medium
 .
   * Update dnscrypt-proxy script (Closes: #1059712)
   * Add tomcat10 init script (Closes: #1034833)
   * Add cfengine3 init script (Closes: #1042080)
   * Add pdns-recursor init script (Closes: #1065133)
   * Add mdadm init scripts (Closes: #1055645)
Checksums-Sha1:
 b64a07f57e1668a0ff016d0c44900fb95fb508e1 1869 orphan-sysvinit-scripts_0.18.dsc
 fefcf2cfabb12bd45cce0536c2930c7f34bb224a 20576 
orphan-sysvinit-scripts_0.18.tar.xz
Checksums-Sha256:
 8533dc1f778e5a9fce6023132cc54824f5993bd376d3d179106da0b586466354 1869 
orphan-sysvinit-scripts_0.18.dsc
 0b9ea008aa94ee96da7341981c8bbc930cecb8895aad08cdf4b7f7f5af445cac 20576 
orphan-sysvinit-scripts_0.18.tar.xz
Files:
 2bf6a3efba91a780c828f10eca811687 1869 admin optional 
orphan-sysvinit-scripts_0.18.dsc
 37e04f16fcb420212f123df423d34b46 20576 admin optional 
orphan-sysvinit-scripts_0.18.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEuk75yE35bTfYoeLUEvTSHI9qY8gFAme/lG0THG1hdHRoZXdA
ZGViaWFuLm9yZwAKCRAS9NIcj2pjyK19EACeFBbrR9ZWGeanqQJYtNXHlOOXLvmn
KS7L96bGRCfrzjt46f/n97102H61qY7v6SjXRXLh6X+99xjbgwquTrLIBtaWg8ZQ
4hS+SzVi+cewTOSvuKDEpOGUfUpKgZ+qBc7ToRSrvUeeE0Buwjtiv0AWTEl/Z4oT
CcgK5BUYm4ArY5VEWV3jDNGhTeV3KL7gZ/BYjwBDkxk+bKZtzYx+n8HO2F40jM3J
51zgFbrwSokDszmqKPeOrK6MUGl9ufqE1gYLZWxDK8BvroDQLt/3VKIPH7gonIOP
0KNwqaaqwj1bSocCPyHVAVcG6zN8LVzczFRCoCBJWyFb1PXMhL6o5u7A+Dpd9Jr2
vgT70U6dbBQVW+JF3fAjX37neFanBYs860BswhaWqq33i+1wHn+usfciwvTByeXn
aFyA66ozFrmtTQonTgD1VEkfYWqK9blBADGdqebbw9lpIqKSY35g246GRB0GrqE7
vvRzHIHSVxFynrwJ+V3cGf+EeXtL/XElOrBURKo7BB6A3Np0K6i/Zxyh40cxuGIj
3HR8VNNpuJ+NGI9FNcIRYPrVvE3x6hQvIqp0CzxTnkqv+eBpTsAwTkgLDqTMAXb7
AEt/5Vz4NxUk2BDN1YgovqMB3uebKHIwh5XKQVhBkZZ3SYVZZFiC6/5J223jHneS
z38TXkF/dIxxeA==
=rPKj
-----END PGP SIGNATURE-----

Attachment: pgp5_IY4hp0BO.pgp
Description: PGP signature


--- End Message ---

Reply via email to