Devuan bug report logs - #921
sane-utils: init script prompts for file removal when status is queried by nonroot user

version graph

Package: sane-utils; Maintainer for sane-utils is Devuan developers <devuan-dev@lists.dyne.org>; Source for sane-utils is src:sane-backends.

Reported by: Alexander Rehbein <rehbein.alexander@gmail.com>

Date: Fri, 31 Oct 2025 17:04:01 UTC

Severity: normal

Tags: debian, patch, upstream

Found in version 1.2.1-2

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#921: [devuan-dev] bug#921: sane-utils: init script prompts for file removal when status is queried by nonroot user
Reply-To: Andrew Bower <andrew@bower.uk>, 921@bugs.devuan.org
Resent-From: Andrew Bower <andrew@bower.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Mon, 03 Nov 2025 23:14:01 +0000
Resent-Message-ID: <handler.921.B921.176221152414078@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 921
X-Devuan-PR-Package: sane-utils
X-Devuan-PR-Keywords: debian upstream patch
References: <176193010207.1104.13037963498210612981.reportbug@localhost> <aQah4S2Qh1EVHgQz@arden.ab8.net> <aQcQUxVNjIzYdEMn@hindley.org.uk> <CADtKqNKdnwJKk+uu+z93=8kkeOsRBLysqUk69kBRZc4jrqFmdg@mail.gmail.com> <176193010207.1104.13037963498210612981.reportbug@localhost>
X-Devuan-PR-Source: sane-backends
Received: via spool by 921-submit@bugs.devuan.org id=B921.176221152414078
          (code B ref 921); Mon, 03 Nov 2025 23:14:01 +0000
Received: (at 921) by bugs.devuan.org; 3 Nov 2025 23:12:04 +0000
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.39)
	for <debbugs@localhost> (single-drop); Mon, 03 Nov 2025 23:12:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id JUeJKIc2CWnYFgAAmSBk0A
	(envelope-from <andrew@bower.uk>)
	for <bugs@devuan.org>; Mon, 03 Nov 2025 23:11:03 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 7C6BE123; Mon, 03 Nov 2025 23:11:03 +0000 (UTC)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1098:0:82:1000:0:2:1; helo=mx2.mythic-beasts.com; envelope-from=andrew@bower.uk; receiver=bugs.devuan.org 
Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1])
	by email.devuan.org (Postfix) with ESMTPS id 160AA2B
	for <921@bugs.devuan.org>; Mon, 03 Nov 2025 23:11:01 +0000 (UTC)
Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.96)
	(envelope-from <andrew@bower.uk>)
	id 1vG3hT-00AIsp-32;
	Mon, 03 Nov 2025 23:11:00 +0000
Received: from ajb85 by arden.ab8.net with local (Exim 4.98.2)
	(envelope-from <andrew@bower.uk>)
	id 1vG3hR-000000002DE-3gaJ;
	Mon, 03 Nov 2025 23:10:57 +0000
Date: Mon, 3 Nov 2025 23:10:57 +0000
From: Andrew Bower <andrew@bower.uk>
To: Alexander Rehbein <rehbein.alexander@googlemail.com>
Cc: Mark Hindley <mark@hindley.org.uk>, 921@bugs.devuan.org
Message-ID: <aQk2gXJgc1pVwMuV@arden.ab8.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADtKqNKdnwJKk+uu+z93=8kkeOsRBLysqUk69kBRZc4jrqFmdg@mail.gmail.com>
User-Agent: Mutt/2.2.13 (2024-03-09)
X-BlackCat-Spam-Score: 0
X-Spam-Status: No, score=0.0
On Mon, Nov 03, 2025 at 11:55:20PM +0100, Alexander Rehbein wrote:
>    yes I could look into it (not that experienced with all the workflows/I'll
>    have to look things up first).

Alexander, I'll be happy to support you on the Debian bug when the time
comes if you need it (I wrote the saned integration for runit-services
and contributed a fix upstream to help with daemon management and
cleanup)! (X-Debbugs-CC: is a handy way to involve someone else.)

>    I don't completely understand though... it seemed to me like Debian wasn't
>    supporting SysVInit anymore, so are they even thinking about putting any
>    work into fixing init scripts? It doesn't look like they care really,

It's not quite like that. Mark maintains sysvinit in Debian so at least
one person cares! It's not compulsory for maintainers to maintain
initscripts but many do and we shouldn't assume hostility. They may not
even realise there are users for them and it often just needs users to
contribute to maintaining them. I had some improvements accepted days
ago for a package that at one point had removed them.

> at
>    least for saned I have also noticed that statuses aren't reported
>    correctly when running `service --status-all` without any root privilege.
>    And I think some other things also weren't working correctly, like some
>    scripts wouldn't work but return 0 without root or something among those
>    lines.

A lot of the initscripts are pretty horrendous... or at least are
overcomplicated by predating improvements that can make them easier to
write well.

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 Nov 7 21:35:34 2025;