Debian Bug report logs - #379198
/etc/X11/default-display-manager needs to be set so gdm does not complain every boot

version graph

Package: gdm; Maintainer for gdm is (unknown);

Reported by: zero79 <michael.s.gilbert@gmail.com>

Date: Sat, 22 Jul 2006 04:03:07 UTC

Severity: minor

Tags: d-i

Found in version gdm/2.14.5-1

Fixed in version gdm/2.16.1-1

Done: Ryan Murray <rmurray@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ryan Murray <rmurray@debian.org>:
Bug#379198; Package gdm. (full text, mbox, link).


Acknowledgement sent to zero79 <michael.s.gilbert@gmail.com>:
New Bug report received and forwarded. Copy sent to Ryan Murray <rmurray@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: zero79 <michael.s.gilbert@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/X11/default-display-manager needs to be set so gdm does not complain every boot
Date: Fri, 21 Jul 2006 19:50:28 -0400
Package: gdm
Version: 2.14.5-1
Severity: minor

i'm not sure which package should be in charge of this (maybe xorg), but
/etc/X11/default-display-manager should be defined.  the consequence is
that during every boot, gdm complains that the /etc/X11/default-display-manager has not been set.

even though the severity of this bug is minor, it should certainly be
cleaned up before the release of etch.

thanks for the hard work.

mike


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gdm depends on:
ii  adduser                   3.87           Add and remove users and groups
ii  debconf [debconf-2.0]     1.5.2          Debian configuration management sy
ii  gksu                      1.9.1-2        graphical frontend to su
ii  gnome-session             2.14.2-1       The GNOME 2 Session Manager
ii  gnome-terminal [x-termina 2.14.2-1       The GNOME 2 terminal emulator appl
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libatk1.0-0               1.11.4-2       The ATK accessibility toolkit
ii  libattr1                  2.4.32-1       Extended attribute shared library
ii  libc6                     2.3.6-15       GNU C Library: Shared libraries
ii  libcairo2                 1.2.0-3        The Cairo 2D vector graphics libra
ii  libdmx1                   1:1.0.1-3      X11 Distributed Multihead extensio
ii  libfontconfig1            2.3.2-7        generic font configuration library
ii  libglade2-0               1:2.5.1-2      library to load .glade files at ru
ii  libglib2.0-0              2.10.2-1       The GLib library of C routines
ii  libgnomecanvas2-0         2.14.0-2       A powerful object-oriented display
ii  libgtk2.0-0               2.8.18-1       The GTK+ graphical user interface 
ii  libpam-modules            0.79-3.1       Pluggable Authentication Modules f
ii  libpam-runtime            0.79-3.1       Runtime support for the PAM librar
ii  libpam0g                  0.79-3.1       Pluggable Authentication Modules l
ii  libpango1.0-0             1.12.3-1+b1    Layout and rendering of internatio
ii  libpopt0                  1.10-2         lib for parsing cmdline parameters
ii  librsvg2-2                2.14.4-2       SAX-based renderer library for SVG
ii  librsvg2-common           2.14.4-2       SAX-based renderer library for SVG
ii  libselinux1               1.30-1         SELinux shared libraries
ii  libwrap0                  7.6.dbs-9      Wietse Venema's TCP wrappers libra
ii  libx11-6                  2:1.0.0-7      X11 client-side library
ii  libxau6                   1:1.0.0-3      X11 authorisation library
ii  libxcursor1               1.1.5.2-5      X cursor management library
ii  libxdmcp6                 1:1.0.0-4      X11 Display Manager Control Protoc
ii  libxext6                  1:1.0.0-4      X11 miscellaneous extension librar
ii  libxfixes3                1:3.0.1.2-4    X11 miscellaneous 'fixes' extensio
ii  libxi6                    1:1.0.0-5      X11 Input extension library
ii  libxinerama1              1:1.0.1-4      X11 Xinerama extension library
ii  libxml2                   2.6.26.dfsg-2  GNOME XML library
ii  libxrandr2                2:1.1.0.2-4    X11 RandR extension library
ii  libxrender1               1:0.9.0.2-4    X Rendering Extension client libra
ii  lsb-base                  3.1-10         Linux Standard Base 3.1 init scrip
ii  metacity [x-window-manage 1:2.14.5-1     A lightweight GTK2 based Window Ma
ii  twm [x-window-manager]    1:1.0.1-4      Tab window manager
ii  xbase-clients             1:7.1.ds-2     miscellaneous X clients
ii  xfce4-terminal [x-termina 0.2.5.1beta1-1 Xfce terminal emulator
ii  xfwm4 [x-window-manager]  4.3.90.1-1     window manager of the Xfce project
ii  xterm [x-terminal-emulato 210-3          X terminal emulator
ii  zlib1g                    1:1.2.3-11     compression library - runtime

Versions of packages gdm recommends:
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
pn  gdm-themes                <none>         (no description available)
ii  whiptail                  0.52.2-4       Displays user-friendly dialog boxe
ii  zenity                    2.14.2-1       Display graphical dialog boxes fro

-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager:



Information forwarded to debian-bugs-dist@lists.debian.org, Ryan Murray <rmurray@debian.org>:
Bug#379198; Package gdm. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Ryan Murray <rmurray@debian.org>. (full text, mbox, link).


Message #10 received at 379198@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 379198@bugs.debian.org
Subject: seeing it too
Date: Wed, 11 Oct 2006 20:59:08 -0400
[Message part 1 (text/plain, inline)]
Seeing this too, also happens when it's restarted:

root@phoenix:/var/log>/etc/init.d/gdm restart
Stopping GNOME Display Manager: gdm.
cat: /etc/X11/default-display-manager: No such file or directory
Starting GNOME Display Manager: gdm.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Tags added: pending Request was from Ryan Murray <rmurray@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: d-i Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug 379198 cloned as bug 396147. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Ryan Murray <rmurray@debian.org>:
Bug#379198; Package gdm. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Ryan Murray <rmurray@debian.org>. (full text, mbox, link).


Message #21 received at 379198@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 379198@bugs.debian.org, Colin Watson <cjwatson@debian.org>
Subject: issue with noninteractive selects and debconf passhrough
Date: Sun, 29 Oct 2006 23:56:12 -0500
[Message part 1 (text/plain, inline)]
#379198 turns out to be due to a bug in the passthrough frontend, when
used with debconf-apt-progress to install gdm. This happens:

debconf (developer): <-- METAGET shared/default-x-display-manager owners
debconf (developer): --> 0 gdm
debconf (developer): <-- METAGET shared/default-x-display-manager choices
debconf (developer): --> 0 
debconf (developer): <-- SUBST shared/default-x-display-manager choices gdm
debconf (developer): --> 0
debconf (developer): <-- FSET shared/default-x-display-manager seen false
debconf (developer): --> 0 false
debconf (developer): <-- INPUT high shared/default-x-display-manager
debconf (developer): Not displaying select list shared/default-x-display-manager with 1 choice
debconf (developer): --> 30 question skipped
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): <-- GET shared/default-x-display-manager
debconf (developer): --> 0

The noninteractive select list handling should make the value be the
first item on the list, "gdm", but this doesn't happen. So this bug
could affect more than gdm; the reported but never really tracked down
issues with wordlist selection questions could also be caused by this.

I came up with the attached patch, which I've tested to work, and which
seems to make perfect sense to me..

-- 
see shy jo
[patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ryan Murray <rmurray@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to zero79 <michael.s.gilbert@gmail.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #26 received at 379198-close@bugs.debian.org (full text, mbox, reply):

From: Ryan Murray <rmurray@debian.org>
To: 379198-close@bugs.debian.org
Subject: Bug#379198: fixed in gdm 2.16.1-1
Date: Sun, 29 Oct 2006 22:32:14 -0800
Source: gdm
Source-Version: 2.16.1-1

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

gdm_2.16.1-1.diff.gz
  to pool/main/g/gdm/gdm_2.16.1-1.diff.gz
gdm_2.16.1-1.dsc
  to pool/main/g/gdm/gdm_2.16.1-1.dsc
gdm_2.16.1-1_i386.deb
  to pool/main/g/gdm/gdm_2.16.1-1_i386.deb
gdm_2.16.1.orig.tar.gz
  to pool/main/g/gdm/gdm_2.16.1.orig.tar.gz



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 379198@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ryan Murray <rmurray@debian.org> (supplier of updated gdm 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: Sun, 29 Oct 2006 22:02:36 -0800
Source: gdm
Binary: gdm
Architecture: source i386
Version: 2.16.1-1
Distribution: unstable
Urgency: high
Maintainer: Ryan Murray <rmurray@debian.org>
Changed-By: Ryan Murray <rmurray@debian.org>
Description: 
 gdm        - GNOME Display Manager
Closes: 240991 288286 291187 308825 339965 350940 362925 367232 372949 375281 377934 379198 382698 387043 389466 390414 392611 394881 395003
Changes: 
 gdm (2.16.1-1) unstable; urgency=high
 .
   * New upstream release
     + Fixes CVE-2006-2452 (closes: #375281)
     + Failsafe session no longer made default (closes: #382698)
     + Typo fixed in fr.po (closes: #392611)
     + multiple login dialog updated (closes: #395003)
     + SuspendCommand works (closes: #367232)
     + gdmsetup image screen scrolling works (closes: #288286)
   * Fix typo in fr.po (closes: #372949)
   * Set RelaxPermissions=1 by default (closes: #339965)
   * Don't close all descriptors before starting the slave. (closes: #308825)
   * Parse /etc/default/locale in gdm pam files, for now (closes: #389466)
   * Set console to utf-8 if needed in XKeepsCrashing (closes: #387043)
   * Remove OK and Cancel buttons from included themes (closes: #377934)
   * Add debian-moreblue theme from
     http://cdd.debian-br.org/~si0ux/artwork/debian/gdm/gdm-theme-debian-moreblue.tar.gz
   * Temporarily raise to Depends on gdm-themes, and make the debblue theme
     default for now (closes: #350940)
   * Add /var/lib/menu-xdg/xsessions to SessionDir (closes: #240991)
   * add acpid to Should-Start line of init.d script (closes: #390414)
   * Sync debconf templates against xdm 1.0.5-1
   * Sync locale.conf against locales 2.3.6.ds1-7
   * Stop installing factory-defaults.conf (closes: #394881)
   * Hide stderr from cat in init script, create /etc/X11/default-display-manager
     when the package is installed with tasksel (closes: #379198)
   * Hardcode StandardXServer to /usr/bin/X (closes: #362925)
   * Start gdm at S21 instead of S99 (closes: #291187)
Files: 
 d7a00ff3307cb384e2ed628910ed82aa 783 gnome optional gdm_2.16.1-1.dsc
 a2e68fac4763f1cf1050eeb19accb43f 4878838 gnome optional gdm_2.16.1.orig.tar.gz
 3025ca755c69b5ec801354d0f0458fc5 321935 gnome optional gdm_2.16.1-1.diff.gz
 11625612a577c2b1d55a9240b6991563 3992492 gnome optional gdm_2.16.1-1_i386.deb

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

iD8DBQFFRZrDN2Dbz/1mRasRAuioAJ9QxFrX+ZEulg556C7QCNV8/DwfHACg3U8a
Lk0MtuTYTfmIfd0Sdy4JomY=
=4u2z
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Ryan Murray <rmurray@debian.org>:
Bug#379198; Package gdm. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Ryan Murray <rmurray@debian.org>. (full text, mbox, link).


Message #31 received at 379198@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 379198@bugs.debian.org, Colin Watson <cjwatson@debian.org>
Subject: Re: Bug#379198: issue with noninteractive selects and debconf passhrough
Date: Mon, 30 Oct 2006 15:57:47 -0500
[Message part 1 (text/plain, inline)]
Joey Hess wrote:
> I came up with the attached patch, which I've tested to work, and which
> seems to make perfect sense to me..

Except that it seems possible that Colin might have rejected doing it
this way for some sensible reason that I'm not seeing. Colin, I hope you
can review this..

>  		} else {
> -			my $default='';
> -			$default=$element->question->value if defined $element->question->value;
> -			$element->value($default);
> +			# "show" noninteractive elements, which don't need
> +			# to pass through, but may do something when shown.
> +			$element->show;
>  		}
>  	}

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Ryan Murray <rmurray@debian.org>:
Bug#379198; Package gdm. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Ryan Murray <rmurray@debian.org>. (full text, mbox, link).


Message #36 received at 379198@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Joey Hess <joeyh@debian.org>
Cc: 379198@bugs.debian.org, 396147@bugs.debian.org, 393427@bugs.debian.org
Subject: Re: issue with noninteractive selects and debconf passhrough
Date: Tue, 31 Oct 2006 10:53:16 +0000
On Sun, Oct 29, 2006 at 11:56:12PM -0500, Joey Hess wrote:
> #379198 turns out to be due to a bug in the passthrough frontend, when
> used with debconf-apt-progress to install gdm. This happens:
> 
> debconf (developer): <-- METAGET shared/default-x-display-manager owners
> debconf (developer): --> 0 gdm
> debconf (developer): <-- METAGET shared/default-x-display-manager choices
> debconf (developer): --> 0 
> debconf (developer): <-- SUBST shared/default-x-display-manager choices gdm
> debconf (developer): --> 0
> debconf (developer): <-- FSET shared/default-x-display-manager seen false
> debconf (developer): --> 0 false
> debconf (developer): <-- INPUT high shared/default-x-display-manager
> debconf (developer): Not displaying select list shared/default-x-display-manager with 1 choice
> debconf (developer): --> 30 question skipped
> debconf (developer): <-- GO
> debconf (developer): --> 0 ok
> debconf (developer): <-- GET shared/default-x-display-manager
> debconf (developer): --> 0
> 
> The noninteractive select list handling should make the value be the
> first item on the list, "gdm", but this doesn't happen. So this bug
> could affect more than gdm; the reported but never really tracked down
> issues with wordlist selection questions could also be caused by this.
> 
> I came up with the attached patch, which I've tested to work, and which
> seems to make perfect sense to me..

Looks entirely correct to me, and I'm glad you spotted that. Not sure
why I did it this way to begin with; it's possible I simply hadn't quite
got the hang of debconf's object model yet.

This could also explain #393427, although I think the workaround (adding
a Default) was correct anyway.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 27 Jun 2007 08:32:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 15:11:04 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.