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 #20 received at 921@bugs.devuan.org (full text, mbox, reply):

Received: (at 921) by bugs.devuan.org; 3 Nov 2025 22:56:04 +0000
Return-Path: <rehbein.alexander@googlemail.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.39)
	for <debbugs@localhost> (single-drop); Mon, 03 Nov 2025 22:56:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id GbJdI+gyCWk7FQAAmSBk0A
	(envelope-from <rehbein.alexander@googlemail.com>)
	for <bugs@devuan.org>; Mon, 03 Nov 2025 22:55:36 +0000
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.a=rsa-sha256 header.s=20230601 header.b=MFa569O9;
	dkim-atps=neutral
Received: by email.devuan.org (Postfix, from userid 109)
	id 6BCF4123; Mon, 03 Nov 2025 22:55:36 +0000 (UTC)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::b135; helo=mail-yx1-xb135.google.com; envelope-from=rehbein.alexander@googlemail.com; receiver=bugs.devuan.org 
Received: from mail-yx1-xb135.google.com (mail-yx1-xb135.google.com [IPv6:2607:f8b0:4864:20::b135])
	by email.devuan.org (Postfix) with ESMTPS id D9E102B
	for <921@bugs.devuan.org>; Mon, 03 Nov 2025 22:55:33 +0000 (UTC)
Received: by mail-yx1-xb135.google.com with SMTP id 956f58d0204a3-63f9beb2730so2684570d50.0
        for <921@bugs.devuan.org>; Mon, 03 Nov 2025 14:55:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20230601; t=1762210532; x=1762815332; darn=bugs.devuan.org;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:from:to:cc:subject:date:message-id:reply-to;
        bh=6OJ3M4gvf+SsgLSSmjrmqG4Ok2Orr5EaWt3rUzYsX0o=;
        b=MFa569O97m5q/mjXbR7NwFoaYqeRwqAfXa/JaHYKSySdIYXL6mLNNZyWRSEO6Ggj4l
         RnStfhgJGWHMBpc0BMaHoG3aj9Lue3C/v/2HsZReVDyXgg4qPHsUREf2whf2uTJ85tuZ
         zuO444dxDxmL70wDVT11NSjfeW53vlRE1RQYU9l5ACWGy2Bt3KdLwbC9eLb3dK7kZUmP
         NdJozXjQog9KeTKBTWgbZGYBdhgQFZLeow0Zk7mD5DklH4tFqe58Z6bDQ+6/P+cS554t
         4qGA+vAyf8hXElVPXgHoFHhrWtOThS3mfNi0qZJG5zoCZGARDAO9hzKfHOEsDbwmBOW0
         1/IA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1762210532; x=1762815332;
        h=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=6OJ3M4gvf+SsgLSSmjrmqG4Ok2Orr5EaWt3rUzYsX0o=;
        b=H17JLeWl0NrUZ+CG/K8ZXRUyCMDryV9os/+wzu7WcS8L4uMx/K4HOW9m0tKZQ0/Q0V
         MIQJg43acuYrRDLs5l7NxPKM/Ke/ojAyorM3FaBDn22hLCUPB/4pKuPkftVy6fN/HPph
         4MFEoQXO0Z6HT96g9WQozQpkmeAy9rB9iosaGl9Qglr+D5pCD8L1GWbtkVIM9H5buB5m
         ijHEjCY00H+Lnu87Vv8+hjRMx+Wuo3V2WUFvjpmY4TXFfjELjMFEDObiHjgzV//4Yq31
         NxaOLMdbZYYJ8NBYJbGBz8a1zp35R/vjL9NVcub1nS//uAl4E2zmB5ZsqLjYVOnrHgkp
         Fq9A==
X-Forwarded-Encrypted: i=1; AJvYcCWshiL2uSizRU9ipRwLvJlXWUYLm9HvXS52KgiDWxPTQjvFAsuXK7keJw59xZw5MiXmJ/A=@bugs.devuan.org
X-Gm-Message-State: AOJu0YwMh3p/bFMozSsdmcLt/R7R2sM72/Py/JDQtTKPChaAyqiHXzi8
	XfJorKFr2GGTQe25DoqhxVKq1b33OIYyseC5GDN6fUhnUjZoMaI1IpbVTRHayHHbQGAczUjNE70
	A04latovV8PBG6eaYJxqTcMfgi5M6y7w=
X-Gm-Gg: ASbGncuQXESJKrmnTwkY7vmIMFyLzd4QertQ/NcdwO4HNsy8tKreCYC2nn1OxYS5BG0
	VEIe/sk9cIxwShYM2vx6CctK2gIYmm7KKZ87gJ7hDKwCVgfBFxVN3bW6v0F04PExxVCsvBQphRn
	aatL6Td3NS8LgfsD/xk79904HkTvgHI6J5BZ5jnRU80XrgeyEoKhxxp1J0xsx7y7djk3W8sknps
	U+8QDOfNs5sqKpV4ugSkvV12OkSpaEglPTrbWDZJ+lgzcJX3iLkhbMPhYt4WRHMqPXgHYU=
X-Google-Smtp-Source: AGHT+IFaK9UR3LQOPwGkZBqSmU5VJoCqzAmofluA27sNnpcdS/HVfrH3BtbRdz0BwZOZKZOM2V0OLlQbXo/r013KjrA=
X-Received: by 2002:a53:e206:0:b0:63e:18d6:72c1 with SMTP id
 956f58d0204a3-63f9232c109mr8532902d50.46.1762210531577; Mon, 03 Nov 2025
 14:55:31 -0800 (PST)
MIME-Version: 1.0
References: <176193010207.1104.13037963498210612981.reportbug@localhost>
 <aQah4S2Qh1EVHgQz@arden.ab8.net> <aQcQUxVNjIzYdEMn@hindley.org.uk>
In-Reply-To: <aQcQUxVNjIzYdEMn@hindley.org.uk>
From: Alexander Rehbein <rehbein.alexander@googlemail.com>
Date: Mon, 3 Nov 2025 23:55:20 +0100
X-Gm-Features: AWmQ_blZ8WAVDU8Y_HSfY3P09kg-qV94dWdPpWimJtQdJkf8LLe2WuRnSwA_9qU
Message-ID: <CADtKqNKdnwJKk+uu+z93=8kkeOsRBLysqUk69kBRZc4jrqFmdg@mail.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
To: Mark Hindley <mark@hindley.org.uk>
Cc: Andrew Bower <andrew@bower.uk>, 921@bugs.devuan.org
Content-Type: multipart/alternative; boundary="000000000000c115330642b89c16"
[Message part 1 (text/plain, inline)]
Hi Mark,

yes I could look into it (not that experienced with all the workflows/I'll
have to look things up first).

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, 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.

Thank you

Alexander

On Sun, Nov 2, 2025 at 9:03 AM Mark Hindley <mark@hindley.org.uk> wrote:

> 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
>
[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: Fri Nov 7 23:34:57 2025;