Devuan bug report logs - #882
/etc/logrotate.d/lighttpd: Questionable use of invoke-rc.d

version graph

Package: init-system-helpers; Maintainer for init-system-helpers is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for init-system-helpers is src:init-system-helpers.

Reported by: Opty <opty77@gmail.com>

Date: Tue, 1 Apr 2025 12:44:01 UTC

Severity: normal

Tags: debian, moreinfo

Merged with 881, 883, 884

Found in version init-system-helpers/1.65.2devuan1

Full log


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

Received: (at 882) by bugs.devuan.org; 2 Apr 2025 12:43:42 +0000
Return-Path: <opty77@gmail.com>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 02 Apr 2025 12:43:42 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id c74qKLow7WfkGQAAmSBk0A
	(envelope-from <opty77@gmail.com>)
	for <bugs@devuan.org>; Wed, 02 Apr 2025 12:42:34 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 899C44A8; Wed,  2 Apr 2025 12:42:34 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=ViwqpuLS;
	dkim-atps=neutral
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,RCVD_IN_DNSWL_NONE,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4860:4864:20::33; helo=mail-oa1-x33.google.com; envelope-from=opty77@gmail.com; receiver=<UNKNOWN> 
Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33])
	by email.devuan.org (Postfix) with ESMTPS id DB601173
	for <882@bugs.devuan.org>; Wed,  2 Apr 2025 12:42:33 +0000 (UTC)
Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-2c769d35758so688017fac.0
        for <882@bugs.devuan.org>; Wed, 02 Apr 2025 05:42:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1743597752; x=1744202552; darn=bugs.devuan.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=bsRrAW8QrnEfq9F4nQsb5D4P+ctcW4Sy8ROR+7uEqqg=;
        b=ViwqpuLSrQQwBgBAf1KCD0eES5sz3ApJ4tOjdEIYQQdIQobPWrNVHNnMCOQhG590/U
         H3te7VTqSF4D9JBkVqAXpJEYuJu06MZgEv2KQZ8dJFaf7664HWtGTkZyd23cZKvWTbPb
         hHhdexqAvbqoOyQudlaaWV1/HE6jnR1Dvd0Fwe07jVJrRvnGvJh5VCVBD5fedQCZCyQM
         JMHKjzMzIOz4haxrr7+3lN5cj1xwY/eoa671FRQNDWovNhscAFeoR6NDvSZvukHGMX5c
         sGKOfUMEyHIqcLA+bxC9N38gZK0Id6uljxPX4nAXWo2rR4bXx0NmI9Vqr8GcPZrt5Gse
         JLYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1743597752; x=1744202552;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=bsRrAW8QrnEfq9F4nQsb5D4P+ctcW4Sy8ROR+7uEqqg=;
        b=mo4r3irhvF20b5MHrpb0BBmtVrNSvT+Wq6I+vFnKZGVzVjVHg6C47kMhp1AmHGQtZE
         B+Y+XWUj53KYPWohbqWiwaeiltu2zT8TTw0gOtlwGQJyrjzQRcWttE+ZKedNYth6Y1bq
         8dDJeeAS7FfnKO4tnqNW0ne/F8UlFgDK4FCpBZHb9f/ZAzeju1PXkvQT5C7P4UOcBRqI
         DNMI/MXEEJDvnHR9O55YTjbXvniHE0jYl7qwimBN5oZcqvHZ660gpZ4SBwUrx/3q77Db
         QmoChLhHTY567jqpB+h+j3jLJPQlJ3dgs83AUdw3ommCxtxen1+OIV9AdeKwjbXj6Lyp
         oXIg==
X-Gm-Message-State: AOJu0YwTExQZXJacazPv9NAiEpW6tDgtkdih5v1rwMWqYn4R/XaT/oQo
	ydVoCmz5n0hGXASAS1JOGFF+0+nV1RbUhNWy297P30XAJllWaja22mFABQHUyk4VuLtSSMf2bQT
	3FK8dpJMjlNlOLqN8GShv3iGb//Y=
X-Gm-Gg: ASbGncuPFklLYr0DCrBm6X4aZJx4x6Nv4iiP7XexvX9fwzjlnqwSmRe/HLAYZ4h3fRO
	s+CyBKz+oKFWDAcjb42mYh3BSvMfYcadU1aP7+/YU+2y16OZ7FMjEagemdteDmxSZmQ8Sm2hLa3
	erHJ5ybvFDnuz057HZVVGGV5GJJFOaf8ibefbI3kCCrA1i
X-Google-Smtp-Source: AGHT+IGr4TV6/uBaOTEnAYvRnDYLcHmaCmZJj473t8BVyQeqD6mWWdHk1d/CI24MgM1hhiUVhrXO4iViw5tuhB31qFs=
X-Received: by 2002:a05:6870:e40c:b0:27b:56b1:9ded with SMTP id
 586e51a60fabf-2cc3b657471mr1296829fac.5.1743597751085; Wed, 02 Apr 2025
 05:42:31 -0700 (PDT)
MIME-Version: 1.0
References: <Z-wWIAMSDJ_2wbuI@hindley.org.uk> <CAERDJOE5eNxeErD=xLsVPWN5jfodbn06BYHXz5QiCcdz3jmxnQ@mail.gmail.com>
 <CAERDJOHUES6YsTpgN_fEp8K6mf4oXbMrsZqN0MPsHs+bU5BawA@mail.gmail.com> <20250402141208.2942da15@lorenz.fritz.box>
In-Reply-To: <20250402141208.2942da15@lorenz.fritz.box>
From: Opty <opty77@gmail.com>
Date: Wed, 2 Apr 2025 14:42:19 +0200
X-Gm-Features: AQ5f1JqLQ7zVdhNUsFBdx-8u0gB22yMlmq-ikEfdFWFIWwTK9x3XDzMDxxhLpfY
Message-ID: <CAERDJOF5+QSoxQs_5kgNwZONn10o5H7Abg+MaU6-dMKYPikGSA@mail.gmail.com>
Subject: Re: [devuan-dev] bug#882: /etc/logrotate.d/lighttpd: Questionable use
 of invoke-rc.d
To: Lorenzo <plorenzo@disroot.org>
Cc: 882@bugs.devuan.org, Mark Hindley <mark@hindley.org.uk>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Wed, Apr 2, 2025 at 2:12 PM Lorenzo <plorenzo@disroot.org> wrote:
> On Wed, 2 Apr 2025 13:56:10 +0200
> Opty <opty77@gmail.com> wrote:
> > Now that Debian uses systemd by default I considered Devuan a better
> > place for System V style init stuff but I will think about reporting
> > to Debian BTS then.
>
> Please don't: while this may solve your use case it will break other
> more common use cases that are currently working.
> Example:
> lighttpd installed but disabled by the local admin (K links) but if
> service wrapper is used instead of invoke-rc.d the logrotate snippet
> will try to signal lighttpd regardless, which should not happen.

Good, no work for me. :-)

I should have written that I was actually afraid of something like
that in general but 'service' seemed as the best proposal at that
time. See also #881.

Regards,
Opty

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: Fri Apr 4 15:08:02 2025;