Bug#1120303: kea-dhcp-ddns-server: setcap in the init script
Hi, On Mon 02/Dec/2025 23:31:51 +0100 Stefan Klein wrote: I made https://salsa.debian.org/debian/isc-kea/-/merge_requests/64 to fix that. Would you be so kind to review the changes, Paride Legovini? I don't usually use capabilities, and guessed that change after browsing the docs. Now that I look at my init files, I see this: 520-north:~# grep "setcap " /etc/init.d/* /etc/init.d/kea-dhcp4-server: setcap "cap_net_bind_service,cap_net_raw=+ep" $DAEMON /etc/init.d/kea-dhcp6-server: setcap "cap_net_bind_service" $DAEMON /etc/init.d/kea-dhcp-ddns-server: setcap "cap_net_bind_service=pe" $DAEMON I registered at Debian Salsa Gitlab in order to review the patch, but it seems to take time. (sorry to bother you again with that sysv-init topic) Never mind. Thank you for taking care Ale
Bug#1120303: kea-dhcp-ddns-server: setcap in the init script
Hi, thank you, Alessandro Vesely, for spotting the missing setcap flags. I must have forgetten adding these after copying from the systemd service file. I made https://salsa.debian.org/debian/isc-kea/-/merge_requests/64 to fix that. Would you be so kind to review the changes, Paride Legovini? (sorry to bother you again with that sysv-init topic) Regards, Stefan
Bug#1120303: kea-dhcp-ddns-server: setcap in the init script
Control: severity -1 wishlist On 2025-11-07 12.55, Alessandro Vesely wrote: > The script contains a line like so: > > setcap "cap_net_bind_service" $DAEMON > > When launched, it complains the syntax for setcap is wrong. > > Replacing that like so: > > setcap "cap_net_bind_service=pe" $DAEMON > > runs the binary. (Tweaking permissions of /run/kea) Hi, the problematic line comes from a patch submitted in #1055438 (Cc: Stefan Klein for awareness). Patches for for alternative init systems are welcome, ideally as Salsa MRs [1]. Thanks, Paride [1] https://salsa.debian.org/debian/isc-kea
Bug#1120303: kea-dhcp-ddns-server: setcap in the init script
Package: kea-dhcp-ddns-server Version: 2.6.3-1 Severity: normal Dear Maintainer, The script contains a line like so: setcap "cap_net_bind_service" $DAEMON When launched, it complains the syntax for setcap is wrong. Replacing that like so: setcap "cap_net_bind_service=pe" $DAEMON runs the binary. (Tweaking permissions of /run/kea) Best Ale PS: 606-north:init.d# ls -l /etc/kea/kea-dhcp-ddns.conf -rw-r--r-- 1 root root 3025 Jun 2 19:00 /etc/kea/kea-dhcp-ddns.conf -- System Information: Distributor ID: Devuan Description:Devuan GNU/Linux 6 (excalibur) Release:6 Codename: excalibur Architecture: x86_64 Kernel: Linux 6.12.48+deb13-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 Shell: /bin/sh linked to /usr/bin/bash Init: sysvinit (via /sbin/init) Versions of packages kea-dhcp-ddns-server depends on: ii init-system-helpers 1.68devuan1 ii kea-common 2.6.3-1 ii libc62.41-12 ii libgcc-s114.2.0-19 ii libstdc++6 14.2.0-19 kea-dhcp-ddns-server recommends no packages. Versions of packages kea-dhcp-ddns-server suggests: ii kea-doc 2.6.3-1 -- Configuration Files: /etc/kea/kea-dhcp-ddns.conf [Errno 13] Permission denied: '/etc/kea/kea-dhcp-ddns.conf' -- no debconf information

