rlinetd's update-inetd fails if invoked from a maint script using debconf

Bug #877453 reported by Malcolm Scott
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rlinetd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When upgrading to oneiric with sane-utils and rlinetd installed:

Setting up sane-utils (1.0.22-2ubuntu2) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Need debconf to interact
dpkg: error processing sane-utils (--configure):
 subprocess installed post-installation script returned error exit status 2

The problem is that sane-utils.postinst activates debconf and then calls update-inetd, which in turn calls ucf in an unsupported way. As it is, I cannot upgrade to oneiric with rlinetd and any package with a similar postinst script to that of sane-utils installed.

Related branches

summary: - sane-utils ucf invocation error in postinst script
+ rlinetd's update-inetd fails if invoked from a maint script using
+ debconf
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rlinetd (Ubuntu):
status: New → Confirmed
Revision history for this message
Richard Hansen (rhansen) wrote :

Malcolm: Would you mind reporting this bug to Debian's bug tracker? Ubuntu copies the package directly from Debian.
http://www.debian.org/Bugs/Reporting

Revision history for this message
Robert Luberda (robert-debian) wrote :

In my opinion this is a bug in ucf (or in debconf). rlinetd's version of update-inetd doesn't pass --debcon-ok to ucf, because it cannot guarantee that debconf hasn't been stopped before. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665443

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rlinetd - 0.9-1

---------------
rlinetd (0.9-1) unstable; urgency=low

  * New upstream version.
  * Remove both patches, as they are integrated into upstream version.
  * Pass --debconf-ok to ucf, but first check if debconf has not been stopped
    with a really ugly hack which involvs using timeout command to check if
    debconf can return its version within 15 seconds (closes: #665443,
    LP: #877453, #1222009).
  * Use --disable-silent-rules to unhide compiler command line.
  * Add support for cross-compiling.
  * Standards-Version: 3.9.5 (no changes).

 -- Robert Luberda <email address hidden> Sun, 17 Nov 2013 18:27:45 +0100

Changed in rlinetd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.