Devuan bug report logs - #802
openrc: openrc-run: to many broken options

version graph

Package: openrc; Maintainer for openrc is (unknown); Source for openrc is src:openrc.

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

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Mark Hindley <mark@hindley.org.uk>
Subject: bug#802: marked as done (openrc: openrc-run: to many broken options)
Message-ID: <handler.802.D802.170116851428766.ackdone@bugs.devuan.org>
References: <ZWXFeKobYanfpsRZ@hindley.org.uk>
 <CANXYM9yNJpozDTbDTjFYnx+Bog5OTgOcABcY2AfuWkif-R_MrQ@mail.gmail.com>
X-Devuan-PR-Message: closed 802
X-Devuan-PR-Package: openrc
X-Devuan-PR-Keywords: debian
Reply-To: 802@bugs.devuan.org
Date: Tue, 28 Nov 2023 10:50:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1701168601-28789-0"
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Nov 2023 10:48:24 +0000
with message-id <ZWXFeKobYanfpsRZ@hindley.org.uk>
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@bugs.devuan.org
immediately.)


-- 
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)]
From: Lorietta <lorietta2023@gmail.com>
To: submit@bugs.devuan.org
Subject: openrc: openrc-run: to many broken options
Date: Sun, 19 Nov 2023 16:32:19 +1100
[Message part 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
To: 802-done@bugs.devuan.org
Subject: Re: bug#802: openrc: openrc-run: to many broken options
Date: Tue, 28 Nov 2023 10:48:24 +0000
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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Jul 1 20:57:36 2024;