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


Message #18 received at 802@bugs.devuan.org (full text, mbox, reply):

Received: (at 802) by bugs.devuan.org; 21 Nov 2023 15:54:05 +0000
Return-Path: <lorietta2023@gmail.com>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 21 Nov 2023 15:54:05 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id KHrHKUTSXGWkAwAAmSBk0A
	(envelope-from <lorietta2023@gmail.com>)
	for <bugs@devuan.org>; Tue, 21 Nov 2023 15:52:36 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 96136722; Tue, 21 Nov 2023 15:52:36 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::341; helo=mail-ot1-x341.google.com; envelope-from=lorietta2023@gmail.com; receiver=<UNKNOWN> 
Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341])
	by email.devuan.org (Postfix) with ESMTPS id 8BDF25A
	for <802@bugs.devuan.org>; Tue, 21 Nov 2023 15:52:30 +0000 (UTC)
Received: by mail-ot1-x341.google.com with SMTP id 46e09a7af769-6ce2d4567caso3322395a34.2
        for <802@bugs.devuan.org>; Tue, 21 Nov 2023 07:52:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1700581947; x=1701186747; darn=bugs.devuan.org;
        h=content-transfer-encoding:mime-version:message-id:subject:to:from
         :date:from:to:cc:subject:date:message-id:reply-to;
        bh=TTGIsFaCkFhA4+83+oaNDYCjYff3EYmwqyRrAfAwXVI=;
        b=XijZK5rqN8/BXLkpITX6W8PwkvQ/s52nabwZNwH+AZW2zPS/gQIJZkN39+k6+5JOxz
         aZ6CtF+/8fLw1zw2facEVWN46afs4uxhZzHcDMVZaS3QAZt21spHWN9B5dIbkFME7vAG
         SJ+n0xwvQ+0RBGkOmEWowRfBu+IIlEieD+/96atKT3fu5QXhlxn71yXKwMsGT4hZknxf
         6K1yIaiFpUMPyECZxk48BVXT2pIg5cnRkbUROHQZVC8r0EtUhikq7tFnVv9jBvKTMc+2
         A7Cz9eQ9aQMLxLwxapc5q2gHudhVLI5uZOJWRo6H9EWpoUjzEbbBvznHWCquIwR+1T6w
         GqNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1700581947; x=1701186747;
        h=content-transfer-encoding:mime-version:message-id:subject:to:from
         :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=TTGIsFaCkFhA4+83+oaNDYCjYff3EYmwqyRrAfAwXVI=;
        b=wRPhBHkqWtOqDGrGdrTBOFpLy1bK02t7pAQ4h2oQIICDz+aZZ2EbWLgpSvB1QeyQ68
         P6SPES9YL/ICC2aU/5jJNYbbPVb9uuM3ZWwMRvDc8f37Nkj9BNX7ny2nziioIusNiPx9
         TPuCEGBt7vRuRM7j5dWOFUKyWYWED/VW+Q4SvnAXqJUbfL32v3StZor3aewkO7e5CInC
         YiwZEIr2Pz4d/DuYneuiKNrp3Z9cxHtc//B9YaSecK2dCIANMoMrmtJxf1GInyKa2wi3
         IuwviRUY+I38eUpK8eUmnqKaVztVB5c0U+5JcT4U/uXtoc8ZjWP9IUkBjkLRx9wIYQkq
         OAIg==
X-Gm-Message-State: AOJu0YwM5KR9Pc9ZNlpyGdfMzbJOp+k3GCROiKAnFOyt1yvrPXgiIs6F
	2t+jO5UmRXc17O6i+KXM07KJBF7NaS/cDg==
X-Google-Smtp-Source: AGHT+IHWoXBQ5J/MO8NPkBmZg/CROc1fcPhjMb9JtX5jnGgr30m4ifd/ED/RqsmEUv46I5xspHG8zQ==
X-Received: by 2002:a05:6870:b69d:b0:1ef:bf3a:3bed with SMTP id cy29-20020a056870b69d00b001efbf3a3bedmr12744655oab.46.1700581946981;
        Tue, 21 Nov 2023 07:52:26 -0800 (PST)
Received: from [127.0.0.1] ([188.113.129.2])
        by smtp.gmail.com with ESMTPSA id g3-20020a056870a70300b001e1754b9fc1sm1742697oam.24.2023.11.21.07.52.25
        for <802@bugs.devuan.org>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 21 Nov 2023 07:52:26 -0800 (PST)
Date: Tue, 21 Nov 2023 16:50:01 +0000
From: meow <lorietta2023@gmail.com>
To: 802@bugs.devuan.org
Subject: Re: [devuan-dev] bug#802: openrc: openrc-run: to many broken options
Message-ID: <E8CFF7B7-A5A8-4C53-A5B6-E34995B4B258@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary=----UBKDVXKGRBGQDLP0KXTCPG2V3XZ983
Content-Transfer-Encoding: 7bit
[Message part 1 (text/plain, inline)]
I think it is worth correcting the behavior when using the option 'output_log'. 
it can be done without difficulty by simply editing the file /lib/rc/sh/start-stop-daemon.sh

should change the line number 48 from '${output_log+--stdout} $output_log '
to {output_log+--output} $output_log '.

this will allow to use the 'output_log' option with start-stop-daemon from Debian.

It is not possible to correct the behavior of the other options because they have no equivalent in the start-stop-daemon implementation from Debian. 

Thank you!

On November 20, 2023 8:20:27 PM UTC, Mark Hindley <mark@hindley.org.uk> wrote:
>This is an initial paragraph to add to README.Debian. Does it help?
>
> Note that Debian's packaging excludes openrc's start-stop-daemon to avoid
> changing the default implementation from src:dpkg. The two implementations
> differ slightly in terms of the options accepted and their spelling. Ensure you
> use options compatible with start-stop-daemon(1) in your scripts.
>
>Can you improve it?
>
>Thanks
>
>Mark
[Message part 2 (text/html, inline)]

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 Nov 25 16:32:08 2024;