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

Bug#273109: marked as done (base-config: Choosing not to start an display manager leaves menu unexitable)



Your message dated Fri, 24 Sep 2004 07:02:05 -0400
with message-id <E1CAnq1-0007Ks-00@newraff.debian.org>
and subject line Bug#273109: fixed in base-config 2.46
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; 24 Sep 2004 00:05:28 +0000
>From submit@bugs.debian.org Thu Sep 23 17:05:28 2004
Return-path: <submit@bugs.debian.org>
Received: from obitoo.bu.net.au (smtp.bu.net.au) [203.194.23.5] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CAdaa-00048x-00; Thu, 23 Sep 2004 17:05:28 -0700
Received: from localhost (obitoo [127.0.0.1])
	by smtp.bu.net.au (Postfix) with ESMTP id AFBDB2F0BA7;
	Fri, 24 Sep 2004 10:05:25 +1000 (EST)
Received: from smtp.bu.net.au ([127.0.0.1])
	by localhost (obitoo [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 22159-02-3; Fri, 24 Sep 2004 10:05:25 +1000 (EST)
Received: from keitarou (unknown [IPv6:2001:388:f000::2d])
	by smtp.bu.net.au (Postfix) with ESMTP id D27742F05EB;
	Fri, 24 Sep 2004 10:05:24 +1000 (EST)
Received: from localhost (keitarou [127.0.0.1])
	by keitarou (Postfix) with ESMTP id DFB0C25EEBA;
	Fri, 24 Sep 2004 10:05:29 +1000 (EST)
Received: from keitarou ([127.0.0.1])
	by localhost (keitarou [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 30342-01-71; Fri, 24 Sep 2004 10:05:29 +1000 (EST)
Received: by keitarou (Postfix, from userid 1000)
	id D947A25F136; Wed, 22 Sep 2004 21:28:44 +1000 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Paul Hampson <Paul.Hampson@anu.edu.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: base-config: Choosing not to start an display manager leaves menu unexitable
X-Mailer: reportbug 2.99.3
Date: Wed, 22 Sep 2004 21:28:44 +1000
Message-Id: <[🔎] 20040922112844.D947A25F136@keitarou>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at queanbeyan.bubblesworth.net
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at bu.net.au
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: base-config
Version: 2.45
Severity: important

/usr/lib/base-config/menu/finish calls itself with
$0 debconf 0
if no display manager is to be started, or 
$0 debconf 1
if a display manager is to be done.

However, switching against $1, the debconf) option has:
ask_dm="$1"
if [ "$ask_dm" ]; then
	<Ask about display manager>
fi
<This code returns failure if no display manager was chosen but
the above stanza was run.>

Now here, $1 is "debconf" not the "1" or "0" it is obviously
meant to be checking for. _Also_, changing to
ask_dm="$2"
doesn't work since
[ "0" ]
is _true_.

I think what was meant is:
ask_dm="$2"
if [ $ask_dm -eq 1 ]; then
	<Same code here for choosing a display manager to run>
fi
<Same>

The same 
if [ "$ask_dm" ]; then
	...
fi
stanza appears later on in the debconf) section.

This actually occurred to me in 2.40.5 (from Testing), but I've
just looked and the code is the same.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8

Versions of packages base-config depends on:
ii  adduser                 3.59             Add and remove users and groups
ii  apt                     0.5.27           Advanced front-end for dpkg
ii  bsdutils                1:2.12-8         Basic utilities from 4.4BSD-Lite
ii  console-data            2002.12.04dbs-46 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-55    Linux console and font utilities
ii  debconf                 1.4.36           Debian configuration management sy
ii  debianutils             2.10.1           Miscellaneous utilities specific t
ii  gettext-base            0.14.1-5         GNU Internationalization utilities
ii  passwd                  1:4.0.3-30.1     Change and administer password and

-- debconf information excluded

---------------------------------------
Received: (at 273109-close) by bugs.debian.org; 24 Sep 2004 11:08:05 +0000
>From katie@ftp-master.debian.org Fri Sep 24 04:08:05 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CAnvp-00059Z-00; Fri, 24 Sep 2004 04:08:05 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CAnq1-0007Ks-00; Fri, 24 Sep 2004 07:02:05 -0400
From: Joey Hess <joeyh@debian.org>
To: 273109-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#273109: fixed in base-config 2.46
Message-Id: <E1CAnq1-0007Ks-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 24 Sep 2004 07:02:05 -0400
Delivered-To: 273109-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: base-config
Source-Version: 2.46

We believe that the bug you reported is fixed in the latest version of
base-config, which is due to be installed in the Debian FTP archive:

base-config_2.46.dsc
  to pool/main/b/base-config/base-config_2.46.dsc
base-config_2.46.tar.gz
  to pool/main/b/base-config/base-config_2.46.tar.gz
base-config_2.46_all.deb
  to pool/main/b/base-config/base-config_2.46_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 273109@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated base-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 24 Sep 2004 11:57:22 +0200
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.46
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 base-config - Debian base system configurator
Closes: 273109
Changes: 
 base-config (2.46) unstable; urgency=low
 .
   * Joey Hess
     - Fix ask_dm question if there is no window manager installed;
       allow finishing the install in this case. Closes: #273109
   * Nikolai Prokoschenko
     - KOI8-R support in termwrap (copied from Ognyan and Anton)
Files: 
 4d77f6684558043603c0600dbd2d3c83 715 base optional base-config_2.46.dsc
 5cc0023215842587ad1f92aa653f675e 374956 base optional base-config_2.46.tar.gz
 c521b02cf1c902a8ddf149c9638ccccd 294270 base optional base-config_2.46_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBU/BM2tp5zXiKP0wRAk8BAKDKowggUt5g4JKpsRdyzcVuQa703wCgouU7
iGQtx+tV4erfl5PF+eoRq5o=
=8H/e
-----END PGP SIGNATURE-----



Reply to: