:: [devuan-dev] bug#802: marked as don…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Devuan bug Tracking System
Päiväys:  
Vastaanottaja: Mark Hindley
Aihe: [devuan-dev] bug#802: marked as done (openrc: openrc-run: to many broken options)
Your message dated Tue, 28 Nov 2023 10:48:24 +0000
with message-id <ZWXFeKobYanfpsRZ@???>
and subject line Re: bug#802: openrc: openrc-run: to many broken options
has caused the Devuan bug report #802,
regarding openrc: openrc-run: to many broken options
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 owner@???
immediately.)


--
802: https://bugs.devuan.org/cgi/bugreport.cgi?bug=802
Devuan Bug Tracking System
Contact owner@??? with problems
Package: openrc
Version: 0.45.2-2
Severity: normal
X-Debbugs-Cc: e697e365587869@???

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
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