Your message dated Thu, 29 Aug 2013 17:48:28 +0200 with message-id <[email protected]> and subject line has caused the Debian Bug report #699689, regarding /usr/bin/fai-debconf: package reconfiguration has a problem to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 699689: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699689 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fai-client Version: 4.0.6 Severity: important Dear Maintainer, I tried to use a file debconf/DEFAULT to set the timezone for the package tzdata. The contents of the file (extracted from the output of debconf-get-selections on an installed computer) are appended below. However, this causes a problem during the fai driven installation of a client and consequently the timezone is not set correctly: ---- from fai.log --- Calling task_debconf Adding debconf data from /var/lib/fai/config/debconf/DEFAULT Reconfiguring package tzdata cp: target `/etc/localtime.dpkg-new' is not a directory Current default time zone: ' Europe/UTC' Local time is now: Sun Feb 3 14:39:28 UTC 2013. Universal Time is now: Sun Feb 3 14:39:28 UTC 2013. debconf: DbDriver "_ENV_stack": unable to save changes to: tzdata/Areas tzdata/Zones/Etc tzdata/Areas --------------------- The file $LOGDIR/debconf.data shows a copy of my debconf/DEFAULT file. It seems as if the error 'debconf' message above may be related to the following line in /usr/bin/fai-debconf's reconfigure_packages() subroutine: DEBCONF_DB_OVERRIDE="File{$tmpdb readonly:true}" DEBIAN_FRONTEND=noninteractive $ROOTCMD /usr/sbin/dpkg-reconfigure $p I don't quite understand the effect of the 'readonly:true' stanca, but read-only mode may be a reason for the 'unable to save changes to' message. Of course, this problem only affects packages which were already installed during the bootstrapping of the base system, not those installed later. For now I'll resort to a custom configuration script for the timezone setting, but the issue appears to be affecting any configuration of a package already installed prior to the debconf task being run. Thank you for having a look at it, w.w. -- debconf/DEFAULT: ---------------- tzdata tzdata/Areas select Europe tzdata tzdata/Zones/Africa select tzdata tzdata/Zones/America select tzdata tzdata/Zones/Antarctica select tzdata tzdata/Zones/Arctic select tzdata tzdata/Zones/Asia select tzdata tzdata/Zones/Atlantic select tzdata tzdata/Zones/Australia select tzdata tzdata/Zones/Canada select tzdata tzdata/Zones/Etc select tzdata tzdata/Zones/Europe select Berlin tzdata tzdata/Zones/Indian select tzdata tzdata/Zones/Pacific select tzdata tzdata/Zones/SystemV select tzdata tzdata/Zones/US select ---------------- -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable'), (300, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages fai-client depends on: ii file 5.11-2 ii iproute 20120521-3 ii libapt-pkg-perl 0.1.26+b1 ii perl 5.14.2-16 Versions of packages fai-client recommends: ii debconf-utils 1.5.49 ii libgraph-perl 1:0.91-1 Versions of packages fai-client suggests: pn logtail <none> -- Configuration Files: /etc/fai/fai.conf changed: FAI_CONFIG_SRC=nfs://mucha/nfs4/mucha/system/fai/cfg/config-default LOGUSER=admin FAI_LOGPROTO=ssh LOGSERVER=mucha LOGREMOTEDIR=failog MNTPOINT=/media/mirror FAI=/var/lib/fai/config FAI_SASETTINGSNFS=monet:/monet/system/cn/standard/root/workstation/settings FAI_SASETTINGS=/var/lib/fai/sa/settings FAI_SAHOSTCONFNFS=monet:/monet/system/cn/standard/etc/hostconfig FAI_SAHOSTCONF=/var/lib/fai/sa/hostconfig -- no debconf information
--- End Message ---
--- Begin Message ---Do not use debconf preseeding for setting the timezone. FAI uses the script FAIBASE/10-misc and the variable TIMEZONE and does excatly the same as the tzdata package does when configuring the timezone. So, there's no need to use debconf preseeding for this part. -- regards Thomas
--- End Message ---

