[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323262: marked as done (dexconf: Please add support for preseeding fontserver config)



Your message dated Sun, 08 Jan 2006 20:38:03 -0500
with message-id <20060109013803.GA16482@localdomain>
and subject line Closing
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Aug 2005 19:06:51 +0000
>From pre@saruman.uio.no Mon Aug 15 12:06:51 2005
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E4kIN-0008NE-00; Mon, 15 Aug 2005 12:06:51 -0700
Received: from mail-mx6.uio.no ([129.240.10.47])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1E4kIJ-0005YT-Id
	for submit@bugs.debian.org; Mon, 15 Aug 2005 21:06:47 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx6.uio.no with esmtp (Exim 4.43)
	id 1E4kIG-0006bO-V9; Mon, 15 Aug 2005 21:06:44 +0200
Received: from pre by saruman.uio.no with local (Exim 4.44)
	id 1E4kIG-0003SS-2h; Mon, 15 Aug 2005 21:06:44 +0200
To: submit@bugs.debian.org
Subject: dexconf: Please add support for preseeding fontserver config
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1E4kIG-0003SS-2h@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Mon, 15 Aug 2005 21:06:44 +0200
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.628, required 12,
	autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.19,
	UIO_MAIL_IS_INTERNAL -5.00)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


Package: xserver-common, xserver-xfree86, xserver-xorg
Version: 6.8.2.dfsg.1-5
Severity: wishlist
Tags: patch

When booting a thin client, there is a need to configure the font
server automatically at boot time.  To make this happen, we preseed
the configuration at boot time, and call dexconf to generate a new
configuration.

One of the values we want to set this way is the URL to the font
server on the thin client network.  This is at present not possible do
to in dexconf.  Please add a hidden debconf question to make it
possible to specify the font server URL.

This patch should make it possible.  There are two changes needed to
make this happen:

 - Use the debconf value of this template to add an extra FontPath if
   it is present.

 - Add new template $TEMPLATE_BASE/config/fontpath/fontserver to each
   server package (xserver-xorg and xserver-xfree86).  This template
   should be identical for all packages implementing this feature.

--- /usr/src/chroot-sid/usr/bin/dexconf 2005-08-10 11:14:39.000000000 +0200
+++ /tmp/dexconf.new    2005-08-15 20:41:53.579316901 +0200
@@ -247,10 +247,21 @@

 fetch $TEMPLATE_BASE/config/write_files_section
 if [ "$RET" = "true" ]; then
+  db_get $TEMPLATE_BASE/config/fontpath/fontserver
+  if [ -n "$RET" ] ; then
+    FONTSERVER="$RET"
+  else
+    FONTSERVER=""
+  fi
   exec 4>"$DEXCONFTMPDIR/Files"
   cat >&4 <<SECTION
 Section "Files"
        FontPath        "unix/:7100"                    # local font server
+SECTION
+  if [ -n "$FONTSERVER" ] ; then
+      echo "   FontPath        \"$FONTSERVER\"" >&4
+  fi
+  cat >&4 <<SECTION
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"


Here is a proposed debconf template for this variable:

  Template: xserver-xorg/config/fontpath/fontserver
  Type: string
  Description: Extra fontpath URL
   This is an internal (hidden) debconf question.  It should not be
   translated.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xserver-common depends on:
ii  debconf [debconf-2.0]     1.4.57         Debian configuration management sy
ii  libc6                     2.3.5-3        GNU C Library: Shared libraries an
ii  x11-common                6.8.2.dfsg.1-5 X Window System (X.Org) infrastruc

xserver-common recommends no packages.

-- debconf information:
  xserver-common/xwrapper/nice_value/error:
  xserver-common/xwrapper/allowed_users: Console Users Only
  xserver-common/xwrapper/actual_allowed_users: console
  xserver-common/xwrapper/nice_value: -10

---------------------------------------
Received: (at 323262-done) by bugs.debian.org; 9 Jan 2006 01:40:51 +0000
>From david_nusinow@verizon.net Sun Jan 08 17:40:51 2006
Return-path: <david_nusinow@verizon.net>
Received: from vms046pub.verizon.net ([206.46.252.46])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Evlz5-0000qB-9W
	for 323262-done@bugs.debian.org; Sun, 08 Jan 2006 17:38:07 -0800
Received: from squee ([129.44.187.7])
 by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep
 9 2005)) with ESMTPA id <0ISS006UDXVFQ1D7@vms046.mailsrvcs.net> for
 323262-done@bugs.debian.org; Sun, 08 Jan 2006 19:38:04 -0600 (CST)
Received: by squee (Postfix, from userid 1000)	id 1AEC846DAA; Sun,
 08 Jan 2006 20:38:03 -0500 (EST)
Date: Sun, 08 Jan 2006 20:38:03 -0500
From: David Nusinow <david_nusinow@verizon.net>
Subject: Closing
To: 323262-done@bugs.debian.org
Message-id: <20060109013803.GA16482@localdomain>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_00,ONEWORD,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

This was fixed with the upload of 6.9 to unstable. Closing.

 - David Nusinow



Reply to: