Bug#114592: marked as done (gdm: better contents of .gnome-errors file)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 26 Apr 2004 01:03:04 -0700


Your message dated Mon, 26 Apr 2004 00:47:43 -0700
with message-id <20040426074743.GS4494@cyberhqz.com>
and subject line Bug#114592: gdm: better contents of .gnome-errors file
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 maintonly) by bugs.debian.org; 5 Oct 2001 20:08:51 +0000
>From mmelchio@xs4all.nl Fri Oct 05 15:08:51 2001
Return-path: <mmelchio@xs4all.nl>
Received: from 1dyn120.maarssen.casema.net (p2pc.maarssen.nl) [212.64.52.120] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15pbH8-0001PW-00; Fri, 05 Oct 2001 15:08:51 -0500
Received: by xs4all.nl
	via sendmail from stdin
	id <m15pbH4-00039dC@p2pc.maarssen.nl> (Debian Smail3.2.0.111)
	for maintonly@bugs.debian.org; Fri, 5 Oct 2001 22:08:46 +0200 (CEST) 
Message-Id: <m15pbH4-00039dC@p2pc.maarssen.nl>
From: Matthijs Melchior <mmelchior@xs4all.nl>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: gdm: better contents of .gnome-errors file
X-Reportbug-Version: 1.29
X-Mailer: reportbug 1.29
Date: Fri, 05 Oct 2001 22:08:46 +0200
Bcc:
Delivered-To: maintonly@bugs.debian.org

Package: gdm
Version: 2.2.4.1-1
Severity: wishlist
Tags: patch



-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux p2pc 2.4.8-ac2 #3 SMP Tue Aug 14 00:00:05 CEST 2001 i686
Locale: LANG=english, LC_CTYPE=C

Versions of packages gdm depends on:
ii  adduser                       3.37       Add and remove users and groups to
ii  debconf                       1.0.02     Debian configuration management sy
ii  dpkg                          1.9.17     Package maintenance system for Deb
ii  gdk-imlib1                    1.9.11-3   Gdk-Imlib is an imaging library fo
ii  libart2                       1.4.1.2-1  The Gnome canvas widget
ii  libaudiofile0                 0.2.2-2    The Audiofile Library
ii  libc6                         2.2.3-7    GNU C Library: Shared libraries an
ii  libdb3                        3.2.9-10   Berkeley v3 Database Libraries [ru
ii  libesd0                       0.2.22-4   Enlightened Sound Daemon - Shared 
ii  libgdk-pixbuf2                0.11.0-2   The GdkPixBuf library.
ii  libglade-gnome0               0.16-4     Library to load .glade files at ru
ii  libglade0                     0.16-4     Library to load .glade files at ru
ii  libglib1.2                    1.2.10-1.1 The GLib library of C routines
ii  libgnome32                    1.4.1.2-1  The Gnome libraries
ii  libgnomesupport0              1.4.1.2-1  The Gnome libraries (Support libra
ii  libgnomeui32                  1.4.1.2-1  The Gnome libraries (User Interfac
ii  libgtk1.2                     1.2.10-1   The GIMP Toolkit set of widgets fo
ii  libpam-modules                0.72-24    Pluggable Authentication Modules f
ii  libpam0g                      0.72-24    Pluggable Authentication Modules l
ii  libwrap0                      7.6-7      Wietse Venema's TCP wrappers libra
ii  libxml1                       1:1.8.14-3 GNOME XML library
ii  scrollkeeper                  0.2-5      A free electronic cataloging syste
ii  xlibs                         4.1.0-6    X Window System client libraries
ii  zlib1g                        1:1.1.3-15 compression library - runtime


----------- Description -----------
    I have wanted to send this before.....

    This is a small extention of the Gnome Session start script.  Now it logs the
    results of the haveoption functions as well.  this gives better understanding
    of the ~/.gnome-errors file.

---------- Patch ----------------------------------------------------------------

--- /etc/gdm/Sessions/Gnome-ORG	Sat Sep  8 05:39:51 2001
+++ /etc/gdm/Sessions/Gnome	Fri Oct  5 21:31:34 2001
@@ -26,8 +26,14 @@
 
 haveloginoption() {
   optionname=$1
-  echo "$0: checking $logindefsfile for option $optionname" >&2
   grep -qs ^$optionname $logindefsfile
+  optionvalue=$?
+  case $optionvalue in
+    0) optiontext="YES" ;;
+    *) optiontext="NO"  ;;
+  esac
+  echo "$0: checking $logindefsfile for option $optionname: $optiontext" >&2
+  return $optionvalue
 }
 
 loginoptionvalue() {
@@ -81,8 +87,13 @@
 
 haveoption() {
   optionname=$1
-  echo "$0: checking $optionfile for option $optionname" >&2
   grep -qs ^$optionname $optionfile
+  optionvalue=$?
+  case $optionvalue in
+    0)	optiontext="YES" ;;
+    *)	optiontext="NO"  ;;
+  esac
+  echo "$0: checking $optionfile for option $optionname: $optiontext" >&2
 }
 
 sysmodmap=/etc/X11/Xmodmap
------------- EOF ----------------------------------------------------------



---------------------------------------
Received: (at 114592-done) by bugs.debian.org; 26 Apr 2004 07:47:51 +0000
>From rmurray@cyberhqz.com Mon Apr 26 00:47:51 2004
Return-path: <rmurray@cyberhqz.com>
Received: from (straylight.cyberhqz.com) [24.81.28.253] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BI0qF-0001uH-00; Mon, 26 Apr 2004 00:47:51 -0700
Received: from localhost (localhost [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP
	id 7A29454004; Mon, 26 Apr 2004 00:47:50 -0700 (PDT)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
	id A59CE54004; Mon, 26 Apr 2004 00:47:43 -0700 (PDT)
Date: Mon, 26 Apr 2004 00:47:43 -0700
From: Ryan Murray <rmurray@debian.org>
To: Matthijs Melchior <mmelchior@xs4all.nl>,
	114592-done@bugs.debian.org
Subject: Re: Bug#114592: gdm: better contents of .gnome-errors file
Message-ID: <20040426074743.GS4494@cyberhqz.com>
References: <m15pbH4-00039dC@p2pc.maarssen.nl>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="9+VnUxDxRuy97YQ+"
Content-Disposition: inline
In-Reply-To: <m15pbH4-00039dC@p2pc.maarssen.nl>
User-Agent: Mutt/1.3.28i
Delivered-To: 114592-done@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=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


--9+VnUxDxRuy97YQ+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 05, 2001 at 10:08:46PM +0200, Matthijs Melchior wrote:
>     This is a small extention of the Gnome Session start script.  Now it =
logs the
>     results of the haveoption functions as well.  this gives better under=
standing
>     of the ~/.gnome-errors file.

As gdm no longer has a Gnome session start script, nor creates .gnome-error=
s,
I'm closing this bug.  GDM now uses the standard Debian startup scripts for
all sessions, so look at the xfree86-common package if you want additional
logging by default.  (You could easily add your own script there to do logg=
ing,
and it would appear for all ways of starting an X session).

--=20
Ryan Murray, Debian Developer (rmurray@cyberhqz.com, rmurray@debian.org)
The opinions expressed here are my own.

--9+VnUxDxRuy97YQ+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAjL6fN2Dbz/1mRasRAvV4AJ94Iu5bpnlmLv7lphoPdiX8gXiVUACeM3uI
opA7DXNtgHfiUcTYQM15Cfk=
=dyWC
-----END PGP SIGNATURE-----

--9+VnUxDxRuy97YQ+--