*** WARNING: ucf was run from a maintainer script that uses debconf, but the script did not pass --debconf-ok to ucf.

Bug #355800 reported by Sean Sosik-Hamor
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nagios3 (Debian)
Fix Released
Unknown
nagios3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nagios3-common

Intrepid -> Jaunty upgrade

Setting up nagios3-common (3.0.6-2ubuntu1) ...
*** 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.

Creating config file /etc/nagios3/apache2.conf with new version
*** 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.

Creating config file /etc/nagios3/conf.d/host-gateway_nagios3.cfg with new version
 * Starting nagios3 monitoring daemon nagios3
   ...done.

Revision history for this message
Andreas Olsson (andol) wrote :

I can confirm this behavior.

Changed in nagios3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

Uploading a debdiff which adds --debconf-ok to the packages ucf commands.

Revision history for this message
Colin Watson (cjwatson) wrote :

Andreas, I've linked this bug to a corresponding Debian bug, where the changelog entry fixing it says:

   * Call ucf with --debconf-ok in nagios3-common.postrm.
     Depend on ucf >= for this "feature" (Closes: #513905, #515289)

(I think the changelog entry is wrong, since he actually changed the postinst.)

This is more correct than your change in two ways: firstly, it only adds ucf --debconf-ok in the postinst, not the postrm - the postrm doesn't source the debconf confmodule so shouldn't use --debconf-ok; secondly, it sets an appropriate versioned dependency on ucf. Please could you rework your change to be a backport of the Debian change (which you can extract from http://patches.ubuntu.com/by-release/atomic/debian/n/nagios3/nagios3_3.0.6-4.patch), and explicitly mark it as such in the changelog so that developers merging this package in future know that it's safe to discard conflicts in this area in favour of the Debian side? Thanks.

Changed in nagios3 (Debian):
status: Unknown → Fix Released
Revision history for this message
Andreas Olsson (andol) wrote :

@Colin: better?

Revision history for this message
Steve Langasek (vorlon) wrote :

Andreas,

Regrettably this didn't get addressed in time for jaunty; now that karmic is open, it would be better to handle this as a package merge (https://wiki.ubuntu.com/UbuntuDevelopment/Merging). Would you be willing to take care of this?

Revision history for this message
Andreas Olsson (andol) wrote :

@Steve: Seems like as good of an opportunity as any to learn the merging process :) I just need to set up a Karmic system to test on... No immediate hurry I assume?

Revision history for this message
Sebastien Bacher (seb128) wrote :

there is no hurry no but unsubscribing the sponsors for now you can subscribe the team again when you have an update ready for review

Revision history for this message
Sebastien Bacher (seb128) wrote :

there is no hurry no but unsubscribing the sponsors for now you can subscribe the team again when you have an update ready for review and sponsoring

Revision history for this message
Andreas Olsson (andol) wrote :

nagios3 3.0.6-4 has now been synced into Karmic. (bug #376397)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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