Packages installed during early command don't load debconf templates

Bug #557011 reported by Mario Limonciello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Unassigned
casper (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Binary package hint: casper

When installing a package via an early command (using apt-get install), templates are not getting initialized.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: casper (not installed)
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Tue Apr 6 21:56:30 2010
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: casper

Related branches

Colin Watson (cjwatson)
Changed in casper (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Jerone Young (jerone) wrote :

This causes the inablity for the Dell Recovery to be translated into languages. It can only do english currently due to this bug. Causing with distributing in other countries.

Changed in oem-priority:
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 557011] Re: Packages installed during early command don't load debconf templates

I'm working on this at the moment. I've committed a fix for some
incorrect debconf/apt integration in casper, but I'm still trying to
deal with the core issue, which has involved some experimentation. The
basic problem is that debconf doesn't really do passthrough of template
loading, only of individual templates as needed - but fixing that would
be much too intrusive for Lucid, so I plan to work around it by careful
database juggling in casper instead. This is proving a little
time-consuming, as anything that involves live CD remastering as part of
the test cycle usually does, but I'm making good progress and should be
finished within a day.

Colin Watson (cjwatson)
Changed in casper (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Jerone Young (jerone) wrote :

Business Justification:
            Dell will ship without this bug being fixed for 10.04. They have prepared many templates in different languages with the goal of having recovery solution in every language they ship. Though will ship 10.04 with english only.

           By slipping 10.04. Expectation is that this will be resolved in 10.10. So remains a priority.

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

This bug was fixed in the package casper - 1.233

---------------
casper (1.233) lucid; urgency=low

  * Bring the network up while running preseed/early_command.
  * Fix use of debconf passthrough frontend; DEBCONF_READFD and
    DEBCONF_WRITEFD were backwards, and DEBIAN_HAS_FRONTEND and
    DEBCONF_REDIR needed to be unset or else confmodule scripts would end up
    trying to talk to closed file descriptors.
  * Run debconf-communicate with a read-only template database and separate
    config databases, and copy any changed values back to the master
    databases at the end. This allows us to use the noninteractive frontend
    rather than passthrough when running apt-get in preseed/early_command or
    dpkg to install driver updates, thereby ensuring that the template
    database is properly initialised (LP: #557011).
 -- Colin Watson <email address hidden> Mon, 12 Apr 2010 23:41:09 +0100

Changed in casper (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jerone Young (jerone) wrote :

@Colin
        Did not see your status above. Thanks for working this. Dell would love to see this fixed as they have a lot of upfront work and goal with 10.10 to have translation templates work. But if it is not possible to fix, see justification above.

Revision history for this message
Jerone Young (jerone) wrote :

Fix has been verified and released.

Changed in oem-priority:
status: New → 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.