Debian Bug report logs - #939379
debconf: Specifying frontend in debconf.conf not effective

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Konstantinos Dalamagkidis <[email protected]>

Date: Wed, 4 Sep 2019 09:39:03 UTC

Severity: normal

Found in version debconf/1.5.61

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debconf Developers <[email protected]>:
Bug#939379; Package debconf. (Wed, 04 Sep 2019 09:39:09 GMT) (full text, mbox, link).


Acknowledgement sent to Konstantinos Dalamagkidis <[email protected]>:
New Bug report received and forwarded. Copy sent to Debconf Developers <[email protected]>. (Wed, 04 Sep 2019 09:39:09 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Konstantinos Dalamagkidis <[email protected]>
To: [email protected]
Subject: debconf: Specifying frontend in debconf.conf not effective
Date: Wed, 4 Sep 2019 11:36:42 +0200
[Message part 1 (text/plain, inline)]
Package: debconf
Version: 1.5.61
Severity: normal

Dear Maintainer,

I wanted to configure the use of the noninteractive backend in
debconf.conf on a system currently running oldstable. According to the
documentation, setting:

Frontend: noninteractive

should have been sufficient, but this had no visible effect. Only when
I also added "Frontend_forced: true" did my configuration take effect.

This is not related to #738956.

Best regards
Konstantinos
[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Debconf Developers <[email protected]>:
Bug#939379; Package debconf. (Wed, 04 Sep 2019 11:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debconf Developers <[email protected]>. (Wed, 04 Sep 2019 11:03:07 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Colin Watson <[email protected]>
To: Konstantinos Dalamagkidis <[email protected]>, [email protected]
Subject: Re: Bug#939379: debconf: Specifying frontend in debconf.conf not effective
Date: Wed, 4 Sep 2019 11:36:54 +0100
On Wed, Sep 04, 2019 at 11:36:42AM +0200, Konstantinos Dalamagkidis wrote:
>    I wanted to configure the use of the noninteractive backend in
>    debconf.conf on a system currently running oldstable. According to the
>    documentation, setting:
> 
>    Frontend: noninteractive
> 
>    should have been sufficient, but this had no visible effect. Only when
>    I also added "Frontend_forced: true" did my configuration take effect.

I believe that this only makes a difference for dpkg-reconfigure, which
normally overrides noninteractive to dialog if the frontend was only set
in the config file or the database, as opposed to the command line or
the environment.

While I didn't write this code, I would be inclined to say that the
basis for this is that the command line and the environment can normally
be expected to be more "immediate" single-use kinds of configuration
sources, while config files and databases are persistent configuration
sources that it's more reasonable for dpkg-reconfigure to override
temporarily.

I think the best fix for this would be to clarify the documentation to
indicate that Frontend_forced must also be set if you really want to use
noninteractive for everything including dpkg-reconfigure.  Would this be
OK for you?

-- 
Colin Watson                                       [[email protected]]



Information forwarded to [email protected], Debconf Developers <[email protected]>:
Bug#939379; Package debconf. (Wed, 04 Sep 2019 12:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debconf Developers <[email protected]>. (Wed, 04 Sep 2019 12:15:03 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: Colin Watson <[email protected]>, [email protected]
Subject: Re: Bug#939379: debconf: Specifying frontend in debconf.conf not effective
Date: Wed, 4 Sep 2019 14:03:32 +0200 (CEST)
> On September 4, 2019 at 12:36 PM Colin Watson <[email protected]> wrote:
> 
> 
> On Wed, Sep 04, 2019 at 11:36:42AM +0200, Konstantinos Dalamagkidis wrote:
> >    I wanted to configure the use of the noninteractive backend in
> >    debconf.conf on a system currently running oldstable. According to the
> >    documentation, setting:
> > 
> >    Frontend: noninteractive
> > 
> >    should have been sufficient, but this had no visible effect. Only when
> >    I also added "Frontend_forced: true" did my configuration take effect.
> 
> I believe that this only makes a difference for dpkg-reconfigure, which
> normally overrides noninteractive to dialog if the frontend was only set
> in the config file or the database, as opposed to the command line or
> the environment.
> 
> While I didn't write this code, I would be inclined to say that the
> basis for this is that the command line and the environment can normally
> be expected to be more "immediate" single-use kinds of configuration
> sources, while config files and databases are persistent configuration
> sources that it's more reasonable for dpkg-reconfigure to override
> temporarily.
> 
> I think the best fix for this would be to clarify the documentation to
> indicate that Frontend_forced must also be set if you really want to use
> noninteractive for everything including dpkg-reconfigure.  Would this be
> OK for you?

Hi Colin,

indeed the problem was with dpkg-reconfigure and yes a note in the 
documentation is more than sufficient.

Since you will be touching the documentation, you could also highlight
that those options need to be in the first stanza (see #738956). At
first glance, one might think that they belong to the database entries.

Thank you
Konstantinos



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 09:33:17 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.