What happened to preseed/late_command?
Josef Wolf
jw at raven.inka.de
Wed Dec 12 23:27:44 GMT 2007
On Wed, Dec 12, 2007 at 07:45:58PM +0000, Colin Watson wrote:
> On Wed, Dec 12, 2007 at 06:37:43PM +0100, Josef Wolf wrote:
> > On Wed, Dec 12, 2007 at 09:58:30AM +0000, Colin Watson wrote:
> > > Could you give a more concrete example? Perhaps it's the commands
> > > you're running that are problematic?
> >
> > I've created a customized install CD based on gutsy alternate CD. To
> > load my preseed file, I changed the append line in isolinux.cfg (I break
> > the line to improve readability)
>
> Since I routinely lint people's preseeding for them, I'll do so now ...
Thanks for your efforts, Colin!
I will do some tests and try to make sure I really understand. As soon
as I think I understand (or I notice I need more information), I will
report (or ask more questions). For now, I just skip your suggestions,
but I'll come back on them. Please don't be offended from this delay.
Thank you very much!
> OK, this looks correct to me. Could you search for "Name:
> preseed/late_command" in /var/log/installer/cdebconf/questions.dat and
> copy-and-paste that whole paragraph, so we can see how your preseed file
> was interpreted?
I could not let my hands off in the meantime. I have reinstalled with
DEBCONF_DEBUG=5. The result was the same, but I got more debug info.
Here is the paragraph from questions.dat:
Name: preseed/late_command
Template: preseed/late_command
Owners: d-i
This is the paragraph from templates.dat
Name: preseed/late_command
Type: string
Description: for internal use; can be preseeded
Extended_description: Shell command or commands to run in the d-i environment as late as possible
And here comes the section from syslog (with debconf debugging turned on)
Dec 12 18:16:17 debconf: --> PROGRESS INFO finish-install/progress/preseed
Dec 12 18:16:17 debconf: <-- 10 finish-install/progress/preseed does not exist
Dec 12 18:16:17 debconf: --> SUBST finish-install/progress/fallback SCRIPT preseed
Dec 12 18:16:17 debconf: Adding [SCRIPT] -> [preseed]
Dec 12 18:16:17 debconf: <-- 0
Dec 12 18:16:17 debconf: --> PROGRESS INFO finish-install/progress/fallback
Dec 12 18:16:17 debconf: <-- 0 OK
Dec 12 18:16:17 finish-install: info: Running /usr/lib/finish-install.d/07preseed
Dec 12 18:16:17 debconf: --> GET preseed/late_command
Dec 12 18:16:17 debconf: <-- 0
Dec 12 18:16:17 debconf: --> PROGRESS STEP 1
Dec 12 18:16:17 debconf: <-- 0 OK
Dec 12 18:16:17 debconf: --> PROGRESS INFO finish-install/progress/bind-mount
Dec 12 18:16:17 debconf: <-- 10 finish-install/progress/bind-mount does not exist
Dec 12 18:16:17 debconf: --> SUBST finish-install/progress/fallback SCRIPT bind-mount
Dec 12 18:16:17 debconf: Adding [SCRIPT] -> [bind-mount]
Dec 12 18:16:17 debconf: <-- 0
Dec 12 18:16:17 debconf: --> PROGRESS INFO finish-install/progress/fallback
Dec 12 18:16:17 debconf: <-- 0 OK
Dec 12 18:16:17 finish-install: info: Running /usr/lib/finish-install.d/10bind-mount
Dec 12 18:16:17 debconf: --> PROGRESS STEP 1
Dec 12 18:16:17 debconf: <-- 0 OK
Dec 12 18:16:17 debconf: --> PROGRESS INFO finish-install/progress/clock-setup
More information about the Ubuntu-installer
mailing list