Your message dated Sat, 08 Nov 2008 17:47:08 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#503878: fixed in fglrx-driver 1:8-7-3
has caused the Debian Bug report #503878,
regarding fglrx-atieventsd: authatieventsd.sh uses finger without depending on
it and is unreliable
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
503878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503878
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: fglrx-atieventsd
Version: 1:8-7-2
Severity: serious
Tags: patch
Justification: Policy 3.5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The patched version of the authentication script we ship with the package uses
finger, without fglrx-atieventsd depending on it.
(Actually, I wrote that patch. Shame on me)
Moreover, the way it detects the X session owner has proved unreliable
(acpi-support-base used something similar, see bug #497220 for details), so I
rewrote the script using pinky (included in coreutils, which is required) and
taking care of avoiding the problems of the former approach.
I've been testing it for some days and it seems to work. It would be great if
you could test logging out and relogging in X, and restarting
/etc/init.d/atieventsd while running X, those were the problematic actions if I
recall well.
I've attached the modified script, to be diffed against the upstream one.
Cheers,
Luca
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (98, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fglrx-atieventsd depends on:
ii fglrx-glx 1:8-7-2 proprietary libGL for the non-free
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libgl1-mesa-glx [libgl1] 7.0.3-6 A free implementation of the OpenG
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxrandr2 2:1.2.3-1 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii xserver-xorg 1:7.3+18 the X.Org X server
Versions of packages fglrx-atieventsd recommends:
ii fglrx-driver 1:8-7-2 non-free AMD/ATI r5xx, r6xx displa
fglrx-atieventsd suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkHnSwACgkQ4OR+1T4ba9gQ5gCeIgjXpe/P9UsI8IEWE9OmbtG1
n0oAn1Sb/g+r8ZN+xmteU9mqnVrjLk8D
=EkZj
-----END PGP SIGNATURE-----
#!/bin/sh
#
# Control script grant/revoke access to X for the ATI External Events Daemon
#
# Distro maintainers may modify this reference script as necessary to conform
# to their distribution policies.
#
# Copyright (c) 2006, ATI Technologies Inc. All rights reserved.
#
#
# Parameters:
# $1 is a keyword, either "grant" or "revoke"
# $2 is the display name
# $3 is the X authorization file to be authorized
#
# Returns:
# 0 if authorization was successfully granted/revoked
# nonzero on failure
#
# Note:
# The third parameter only makes sense if xauth is being used. If another
# mechanism such as xhost is being used it can be ignored. For setups that
# do not do any form of authentication(!) this script can be trimmed down
# to just "exit 0" and the daemon will assume that it is always authorized.
#
GetServerAuthFile()
{
# Determine where the authorization key may be hiding. The location will
# vary depending upon whether X was started via xdm/kdm, gdm or startx, so
# check each one in turn.
# Check xdm/kdm
XDM_AUTH_MASK=/var/lib/xdm/authdir/authfiles/A$1*
XDM_AUTH_FILE=`ls -t $XDM_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file
if [ -n "$XDM_AUTH_FILE" ]; then
SERVER_AUTH_FILE=$XDM_AUTH_FILE
DISP_SEARCH_STRING="#ffff#"
return 0
fi
# Check for xauth
XAUTH_AUTH_MASK=/var/run/xauth/A$1*
XAUTH_AUTH_FILE=`ls -t $XAUTH_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file
if [ -n "$XAUTH_AUTH_FILE" ]; then
SERVER_AUTH_FILE=$XAUTH_AUTH_FILE
DISP_SEARCH_STRING="#ffff#"
return 0
fi
# Check gdm
GDM_AUTH_FILE=/var/lib/gdm/$1.Xauth
if [ -e $GDM_AUTH_FILE ]; then
SERVER_AUTH_FILE=$GDM_AUTH_FILE
DISP_SEARCH_STRING="$1"
return 0
fi
# Finally, check for startx
for XPID in `pidof X`; do
TRIAL_XAUTH_FILE=`tr '\0' '\n' < /proc/$XPID/environ | grep -e "^XAUTHORITY=" | cut -d= -f2`
if [ -n "$TRIAL_XAUTH_FILE" ]; then
TRIAL_XAUTH_KEY=`xauth -f $TRIAL_XAUTH_FILE list | grep "unix$1"`
if [ -n "$TRIAL_XAUTH_KEY" ]; then
SERVER_AUTH_FILE=$TRIAL_XAUTH_FILE
DISP_SEARCH_STRING="unix$1"
return 0
fi
fi
done
# Couldn't find the key
return -1
}
# Main part of script
#
# Since the daemon is usually started during init time before X comes up,
# $PATH may not yet contain the paths to the X binaries, particularly xauth.
# Add the usual location for where xauth may live and fail out if we still
# can't find it.
#
PATH=$PATH:/usr/bin:/usr/X11R6/bin
which xauth > /dev/null || exit -1
case "$1" in
grant)
GetServerAuthFile $2 || exit -1
DISP_AUTH_KEY=`xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{ print $3 }'`
if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
if [ -n "$DISP_AUTH_KEY" ]; then
su $user -c "xauth -f $3 add $2 . $DISP_AUTH_KEY" || exit -1
else
exit -1
fi
else
if [ -n "$DISP_AUTH_KEY" ]; then
xauth -f $3 add $2 . $DISP_AUTH_KEY || exit -1
else
exit -1
fi
fi
;;
revoke)
if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
su $user -c "xauth -f $3 remove $2" || exit -1
else
xauth -f $3 remove $2 || exit -1
fi
;;
*)
exit -1
;;
esac
exit 0
--- End Message ---
--- Begin Message ---
Source: fglrx-driver
Source-Version: 1:8-7-3
We believe that the bug you reported is fixed in the latest version of
fglrx-driver, which is due to be installed in the Debian FTP archive:
fglrx-amdcccle_8-7-3_all.deb
to pool/non-free/f/fglrx-driver/fglrx-amdcccle_8-7-3_all.deb
fglrx-atieventsd_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-atieventsd_8-7-3_amd64.deb
fglrx-control_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-control_8-7-3_amd64.deb
fglrx-driver_8-7-3.diff.gz
to pool/non-free/f/fglrx-driver/fglrx-driver_8-7-3.diff.gz
fglrx-driver_8-7-3.dsc
to pool/non-free/f/fglrx-driver/fglrx-driver_8-7-3.dsc
fglrx-driver_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-driver_8-7-3_amd64.deb
fglrx-glx-ia32_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-glx-ia32_8-7-3_amd64.deb
fglrx-glx_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-glx_8-7-3_amd64.deb
fglrx-kernel-src_8-7-3_all.deb
to pool/non-free/f/fglrx-driver/fglrx-kernel-src_8-7-3_all.deb
fglrx-source_8-7-3_amd64.deb
to pool/non-free/f/fglrx-driver/fglrx-source_8-7-3_amd64.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Romain Beauxis <[EMAIL PROTECTED]> (supplier of updated fglrx-driver 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 08 Nov 2008 18:11:19 +0100
Source: fglrx-driver
Binary: fglrx-driver fglrx-glx fglrx-glx-ia32 fglrx-source fglrx-kernel-src
fglrx-control fglrx-amdcccle fglrx-atieventsd
Architecture: source amd64 all
Version: 1:8-7-3
Distribution: unstable
Urgency: low
Maintainer: Fglrx packaging team <[EMAIL PROTECTED]>
Changed-By: Romain Beauxis <[EMAIL PROTECTED]>
Description:
fglrx-amdcccle - control panel for the non-free AMD/ATI r5xx, r6xx display
driver
fglrx-atieventsd - external events daemon for the non-free AMD/ATI r5xx, r6xx
displa
fglrx-control - control panel for the non-free AMD/ATI r5xx, r6xx display
driver
fglrx-driver - non-free AMD/ATI r5xx, r6xx display driver
fglrx-glx - proprietary libGL for the non-free AMD/ATI r5xx, r6xx display dri
fglrx-glx-ia32 - proprietary libGL for the non-free AMD/ATI r5xx, r6xx display
dri
fglrx-kernel-src - kernel module source for the non-free AMD/ATI r5xx, r6xx
display
fglrx-source - kernel module source for the non-free AMD/ATI r5xx, r6xx
display
Closes: 503878
Changes:
fglrx-driver (1:8-7-3) unstable; urgency=low
.
* Updated patch for authatieventsd.sh, fixes authentification
issues and missing dependency. Thanks to Luca Niccoli !
Closes: #503878
Checksums-Sha1:
2359be78149d01ec20cb7c202a654850cb6bc11e 1903 fglrx-driver_8-7-3.dsc
041ecc14cca78fc3c32d72ad8ee1b6ba0d3c9fdd 178306 fglrx-driver_8-7-3.diff.gz
77c3fdb650af7229c7bfdb5f15822808cce7f872 8182184 fglrx-driver_8-7-3_amd64.deb
649439850211af244b2da52d4d20bb6c028cdf51 5017094 fglrx-control_8-7-3_amd64.deb
22d7c70eb3d171871eb423d340a5e9cf471dd768 192894 fglrx-glx_8-7-3_amd64.deb
0d54fc262ba8fb6763dec0fd0f509fef0a227ca5 1338532 fglrx-source_8-7-3_amd64.deb
93f9ae9619f7bde36025aa1f8fa8fb41945d2de7 122486
fglrx-atieventsd_8-7-3_amd64.deb
ce151ae486909ff16c756dfbc8adfb7865ca5703 4823126 fglrx-glx-ia32_8-7-3_amd64.deb
617fdfc8c7aae5ec9481bef387cd986863607cde 18460 fglrx-amdcccle_8-7-3_all.deb
29b2a582c83fd9c4ad1eacdd7250abea90dd351b 18462 fglrx-kernel-src_8-7-3_all.deb
Checksums-Sha256:
fb58da2add05590836868b4a3ea055f4da655c3ddce0348ce59013d741630b8f 1903
fglrx-driver_8-7-3.dsc
bd3f1cf524ad9da10c155919bfa9e33eeab1844e3656316f7db423b9a3dd0369 178306
fglrx-driver_8-7-3.diff.gz
3b90562d2beb3f3ebee290aeb4f1ba9dd9263f29ef5843b04dc2c7908c7ba696 8182184
fglrx-driver_8-7-3_amd64.deb
898c5342f0274f6b64fd689c0267dba16531456e64e265c5f245b1abc168cc67 5017094
fglrx-control_8-7-3_amd64.deb
af3dc94415e82beeb138abb3a30c213de27211397842f3738ac9fd88159c3995 192894
fglrx-glx_8-7-3_amd64.deb
4ed743cc526773acc284b480acaa6390e931d08b23fa7cb6580d37e16f24d709 1338532
fglrx-source_8-7-3_amd64.deb
1506ee7ab274f6ecb607873eb1d21140e2345787ff5abea4d24d35e34540b792 122486
fglrx-atieventsd_8-7-3_amd64.deb
c7d38725de4d95db28914b39ced6b7fa145f14f9403ac9ae65776b54399c63a3 4823126
fglrx-glx-ia32_8-7-3_amd64.deb
2babc3657b3fc4bf9702c49a5788e4ad25a59bdaa0f203dad94c54373635db02 18460
fglrx-amdcccle_8-7-3_all.deb
ffbd293c9400fa7938734777b3ebdc025b1a153f57b09de1ec77c9186fc174c5 18462
fglrx-kernel-src_8-7-3_all.deb
Files:
cb1a878f97f3fce896a01c0f9e64b89c 1903 non-free/x11 extra fglrx-driver_8-7-3.dsc
7a385f189d491bc97ac36c704d51b31b 178306 non-free/x11 extra
fglrx-driver_8-7-3.diff.gz
21d479c28eb2c0ecb9435c4e2be110e2 8182184 non-free/x11 extra
fglrx-driver_8-7-3_amd64.deb
8b6909a7a204aba7db98846090cab38d 5017094 non-free/x11 extra
fglrx-control_8-7-3_amd64.deb
596c77e97c38ba1dd03c6f1992144230 192894 non-free/x11 extra
fglrx-glx_8-7-3_amd64.deb
02297750e2617a5e667188f59d7f71d6 1338532 non-free/x11 extra
fglrx-source_8-7-3_amd64.deb
0e6d54544e47ab16599713c5fa0411f2 122486 non-free/x11 extra
fglrx-atieventsd_8-7-3_amd64.deb
9dd5e7f53e5820e3566621a87fd7ced9 4823126 non-free/x11 extra
fglrx-glx-ia32_8-7-3_amd64.deb
8710d59dd3e9c2e55c25297b7b95f552 18460 non-free/x11 extra
fglrx-amdcccle_8-7-3_all.deb
af4b08b9a56858d2a29a99359da2733e 18462 non-free/x11 extra
fglrx-kernel-src_8-7-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAEBAgAGBQJJFc4/AAoJEAC5aaocqV0ZSwUIAIMNyUktgbrCJ4yIt8nwogO3
QkY1RgbLBYk4L5QKTh2rztZQkUklrnCWEgQxLKur6q5inO0CyK55+tNU5JAtxLYP
ZXflnz803lFNz4T4CSc1DMsAEmzrwnrrOA4Itq8rHvKSnpf0bcyJjDJzwqN7dE9V
k11bQima8fT1lL2WqYOdAIb1eONt6EfRNPB4iiDFaxLw4vs6DS/cujatzhwRvCrv
3ZvLX4VcJUGzt6NI5NEuKdk+eUPm8gLBVb2B/qlNhPPl2nyb4wxduG7NDoQmsXBa
aW9DnNlPfzxw6CzwwPCkehcs/keKwz+0N01Lk/qB+1hoZbZIfsyt61soq92Pjbo=
=PxFe
-----END PGP SIGNATURE-----
--- End Message ---