Subject: bug#817: openrc: supervise-daemon: enable capabilities support

From: meow <[email-masked]>
Date: Mon, 25 Dec 2023 04:29:34 +0000

Subject: supervise-daemon: enable capabilities support
Package: openrc
X-Debbugs-Cc: [email-masked]
Version: 0.45.2-2
Severity: normal

Dear Maintainer,
There was already a similar report on Debian's BTS, but this one is different.
Earlier you (Mark) already realized that enabling support
capabilities is the right decision that will have a positive impact on
security. then a problem arose - 
Debian should supply a version
start-stop-daemon from dpkg to maintain compatibility.
so, I suggest enabling capabilities support and leaving it only
in supervise-daemon. 
this will not affect compatibility in any way, but will allow
improve security and ease of use!

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
Architecture: x86_64
Kernel: Linux 6.1.0-16-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: OpenRC (via /run/openrc)

Versions of packages openrc depends on:
ii  insserv      1.24.0-1

ii  libaudit1    1:3.0.9-1

ii  libc6        2.36-9+deb12u3
ii  libeinfo1    0.45.2-2
ii  libpam0g     1.5.2-6+deb12u1

ii  librc1       0.45.2-2
ii  libselinux1  3.4-1+b6

openrc recommends no packages.

Versions of packages openrc suggests:
pn  policycoreutils  <none>
pn  sysvinit-core    <none>

-- Configuration Files:
/etc/init.d/agetty [Errno 13] Permission denied: '/etc/init.d/agetty'

/etc/init.d/cgroups [Errno 13] Permission denied: '/etc/init.d/cgroups'
/etc/init.d/rc [Errno 13] Permission denied: '/etc/init.d/rc'
/etc/init.d/rcS [Errno 13] Permission denied: '/etc/init.d/rcS'
/etc/init.d/savecache [Errno 13] Permission denied: '/etc/init.d/savecache'
/etc/rc.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /lib/rc/sh/supervise-daemon.sh (from openrc package)
debsums: changed file /sbin/supervise-daemon (from openrc package)