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


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

Received: (at 921) by bugs.devuan.org; 2 Nov 2025 08:04:34 +0000
Return-Path: <mark@hindley.org.uk>
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); Sun, 02 Nov 2025 08:04:34 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id AUzlMlgQB2nVRAAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Sun, 02 Nov 2025 08:03:36 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 7DFA73C0; Sun, 02 Nov 2025 08:03: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=-3.4 required=5.0 tests=RCVD_IN_VALIDITY_CERTIFIED,
	RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=bugs.devuan.org 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id C04272E
	for <921@bugs.devuan.org>; Sun, 02 Nov 2025 08:03:32 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 72C0CF6;
	Sun,  2 Nov 2025 08:03:31 +0000 (GMT)
Received: (nullmailer pid 31882 invoked by uid 1000);
	Sun, 02 Nov 2025 08:03:31 -0000
Date: Sun, 2 Nov 2025 08:03:31 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Andrew Bower <andrew@bower.uk>, 921@bugs.devuan.org
Cc: Alexander Rehbein <rehbein.alexander@gmail.com>
Subject: Re: [devuan-dev] bug#921: bug#921: sane-utils: init script prompts
 for file removal when status is queried by nonroot user
Message-ID: <aQcQUxVNjIzYdEMn@hindley.org.uk>
References: <176193010207.1104.13037963498210612981.reportbug@localhost>
 <176193010207.1104.13037963498210612981.reportbug@localhost>
 <aQah4S2Qh1EVHgQz@arden.ab8.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aQah4S2Qh1EVHgQz@arden.ab8.net>
X-Debbugs-No-Ack: No Thanks
Control: tags -1 debian

Alexander and Andrew,

Many thanks for this.

On Sun, Nov 02, 2025 at 12:12:17AM +0000, Andrew Bower wrote:
> The root cause of this issue seems to be that saned does not remove
> its pidfile. It would be nice to get that fixed upstream.
> 
> But we can also improve the issue in the initscript like so:

Yes, that seems a good suggestion.

However, src:sane-backends is not forked in Devuan and we use Debian's packages
directly without recompilation. This issue will be evident on a Debian
non-systemd install.

Can you report with your suggested patch(es) to Debian's BTS, please?

Thanks

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