[Bug 2052982] [NEW] regression in debconf-copydb when writing to stdout

Dan Bungert 2052982 at bugs.launchpad.net
Mon Feb 12 23:03:28 UTC 2024


Public bug reported:

While debugging a FTBFS in Ubiquity, I observed that the usage of
debconf-copydb regressed when using version 1.5.85 of debconf.  The
previous-in-ubuntu version 1.5.82 of debconf was OK.

That invocation looks roughly like:
debconf-copydb templatedb pipe --config=Name:pipe --config=Driver:Pipe --config=InFd:none ...

Bisecting debconf from there found commit 5db857ade00953496bfdb7edb884296bebc41885:
"Avoid two-argument open"

Further tracing found the following change to Debconf/DbDriver/Pipe.pm around line 120:
- open ($fh, '>-');
+ open ($fh, '>', \*STDOUT);

An additional symptom of this problem is GLOB files with names that look like:
GLOB(0x0123456789ab)

** Affects: debconf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: ubiquity (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debconf in Ubuntu.
https://bugs.launchpad.net/bugs/2052982

Title:
  regression in debconf-copydb when writing to stdout

Status in debconf package in Ubuntu:
  New
Status in ubiquity package in Ubuntu:
  New

Bug description:
  While debugging a FTBFS in Ubiquity, I observed that the usage of
  debconf-copydb regressed when using version 1.5.85 of debconf.  The
  previous-in-ubuntu version 1.5.82 of debconf was OK.

  That invocation looks roughly like:
  debconf-copydb templatedb pipe --config=Name:pipe --config=Driver:Pipe --config=InFd:none ...

  Bisecting debconf from there found commit 5db857ade00953496bfdb7edb884296bebc41885:
  "Avoid two-argument open"

  Further tracing found the following change to Debconf/DbDriver/Pipe.pm around line 120:
  - open ($fh, '>-');
  + open ($fh, '>', \*STDOUT);

  An additional symptom of this problem is GLOB files with names that look like:
  GLOB(0x0123456789ab)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/2052982/+subscriptions




More information about the foundations-bugs mailing list