Devuan bug report logs -
#802
openrc: openrc-run: to many broken options
Reported by: Lorietta <lorietta2023@gmail.com>
Date: Sun, 19 Nov 2023 05:34:01 UTC
Severity: normal
Tags: debian
Found in version 0.45.2-2
Fixed in version 0.52.1-1
Done: Mark Hindley <mark@hindley.org.uk>
Full log
🔗
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the openrc package:
#802: openrc: openrc-run: to many broken options
It has been closed by Mark Hindley <mark@hindley.org.uk>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hindley.org.uk> by
replying to this email.
--
802: https://bugs.devuan.org/cgi/bugreport.cgi?bug=802
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
Version: 0.52.1-1
I have uploaded openrc 0.52.1-1 to Debian which addresses this by warning about
and ignoring openrc-run options that are incompatible with src:dpkg's
start-stop-daemon.
Mark
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Package: openrc
Version: 0.45.2-2
Severity: normal
X-Debbugs-Cc: e697e365587869@beaconmessenger.com
Dear Maintainer,
When writing an init script with the openrc-run interpreter, and the
start-stop-daemon supervisor (used by default),
you cannot pass options such as 'output_log' and 'error_log',
because the Debian version of start-stop-daemon is incompatible with the
start-stop-daemon version from Gentoo.
openrc-run tries to pass options to start-stop-daemon that are known in
Gentoo,
but not understood by Debian's start-stop-daemon.
in this case, '--stdout' and '--stderror'. The Gentoo's start-stop-daemon
'--stderror' option has no equivalent in Debian,
the '--stdout' option can be replaced with '-O' or '--output'.
the same problem can be observed when using other options.
here is the complete list:
'output_log' (can be replaced with '--output' in Debian)
'error_log' (has no equivalent in Debian)
'output_logger' (has no equivalent in Debian)
'error_logger' (has no equivalent in Debian)
'capabilities' (has no equivalent in Debian)
For example, service 'myservice' with 'output_log=/var/log/myservice.log':
$ rc-service myservice start
Starting myservice ...
start-stop-daemon: unrecognized option "--stdout"
Try "start-stop-daemon --help" for more information.
Failed to start myservice
ERROR: myservice failed to start
I did not submit this bug to the Debian BTS because Debian has officially
switched to systemd
and I doubt that this bug report will be noticed there.
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 5 (daedalus)
Release: 5
Codename: daedalus
Architecture: x86_64
Kernel: Linux 6.1.0-13-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: 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), PID 1: openrc-init
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>
ii sysvinit-core 3.06-4devuan3
-- 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]
-- debconf-show failed
[Message part 5 (text/html, inline)]
Send a report that this bug log contains spam.