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

Bug#323270: marked as done (dexconf: Please add support for reconfiguring X at boot time)



Your message dated Wed, 17 Aug 2005 10:14:14 +0200
with message-id <E1E5J3u-0007m4-27@saruman.uio.no>
and subject line dexconf: Please add support for reconfiguring X at boot time
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:24:29 +0000
>From pre@saruman.uio.no Mon Aug 15 12:24:29 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 1E4kZQ-0004zQ-00; Mon, 15 Aug 2005 12:24:29 -0700
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1E4kZM-0007Bv-NK
	for submit@bugs.debian.org; Mon, 15 Aug 2005 21:24:24 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx4.uio.no with esmtp (Exim 4.43)
	id 1E4kZJ-00048e-JS; Mon, 15 Aug 2005 21:24:21 +0200
Received: from pre by saruman.uio.no with local (Exim 4.44)
	id 1E4kZJ-000506-3z; Mon, 15 Aug 2005 21:24:21 +0200
To: submit@bugs.debian.org
Subject: dexconf: Please add support for reconfiguring X at boot time
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <[🔎] E1E4kZJ-000506-3z@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Mon, 15 Aug 2005 21:24:21 +0200
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.648, required 12,
	autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.17,
	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
Version: 6.8.2.dfsg.1-5
Severity: wishlist
Tags: patch

When booting live CDs and thin clients, there is a need to
(re)configure X automatically at boot time.  To make this easier and
more convenient with the normal X packages, it would be nice if an
init.d script was provided to do call dexconf at boot time to generate
a new configuration.  Here is a draft init.d script based on the
script included in xdebconfigurator and code fetched from the LTSP
package in Ubuntu.

#! /bin/sh
# /etc/init.d/xserver-common
#
# chkconfig: 2345 52 78
# description: Genererate X configuration at boot time

set -e

ENABLE_AT_BOOT=

if [ -f /etc/default/xserver-common ] ; then
    . /etc/default/xserver-common
fi

do_start() {
    if [ true = "$ENABLE_AT_BOOT" ] ; then
        if [ -z "$xserver_package" ]; then
            # set default xserver
            if [ -d /usr/share/doc/xserver-org/ ]; then
                xserver_package="xserver-xorg"
            elif [ -d /usr/share/doc/xserver-xfree86/ ]; then
                xserver_package="xserver-xfree86"
            else
                echo "WARNING: no known xserver detected"
                return
            fi
        fi
	msg="Generating new config file for $xserver_package."
        logger -p user.info -t xserver-common "$msg"
        echo "xserver-common: $msg"

	# Add code in /etc/default/xserver-common if you want to
	# preseed the values used during reconfiguration.

	dpkg-reconfigure -fnoninteractive $xserver_package
    fi
}

case "$1" in
    start)
        do_start
        ;;
    stop|restart|force-reload|status)
        ;;
    *)
        echo $"Usage: $0 {start|stop|restart|force-reload|status}"
        exit 2
        ;;
esac
exit 0

-- 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 323270-done) by bugs.debian.org; 17 Aug 2005 08:14:23 +0000
>From pre@saruman.uio.no Wed Aug 17 01:14:23 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 1E5J43-0005t6-00; Wed, 17 Aug 2005 01:14:23 -0700
Received: from mail-mx5.uio.no ([129.240.10.46])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1E5J3y-0000EZ-Sw
	for 323270-done@bugs.debian.org; Wed, 17 Aug 2005 10:14:19 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx5.uio.no with esmtp (Exim 4.43)
	id 1E5J3u-0007Q6-N4; Wed, 17 Aug 2005 10:14:14 +0200
Received: from pre by saruman.uio.no with local (Exim 4.44)
	id 1E5J3u-0007m4-27; Wed, 17 Aug 2005 10:14:14 +0200
To: 323270-done@bugs.debian.org
Subject: Re: dexconf: Please add support for reconfiguring X at boot time
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1E5J3u-0007m4-27@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Wed, 17 Aug 2005 10:14:14 +0200
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.782, required 12,
	autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.04,
	UIO_MAIL_IS_INTERNAL -5.00)
Delivered-To: 323270-done@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: xorg-x11
Version: 6.8.2.dfsg.1-5

I just discovered that I have not been paying enough attention to the
package.  This was fixed in xorg-11 version 6.8.2.dfsg.1-5:

  * Add xserver-xorg.init script that will allow people (intended for
    LiveCD's) to generate an xorg.conf on the fly at bootup. Thanks Petter
    Reinholdtsen

Trying to close the bug by using the new version tracking in bts.



Reply to: