Bug 22838

Summary: Problem with xauth list
Product: Mageia Reporter: Herbert Poetzl <herbert>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: herbert, marja11, nicolas.salguero, ouaurelien
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: xauth, lxdm CVE:
Status comment:

Description Herbert Poetzl 2018-03-28 15:57:09 CEST
Description of problem:
When running 'xauth list' as user, there is a 20 second delay while xauth tries to 'lock the authority file' which ultimately fails because of wrong name or permission problem

Version-Release number of selected component (if applicable):
xauth-1.0.10-1.mga6
lxdm-0.5.3-5.mga6

How reproducible:
Always

Steps to Reproduce:
1. xauth list

xauth:  timeout in locking authority file /var/run/lxdm/lxdm-:0.auth

Note that strace shows a different file though:
open("/var/run/lxdm/lxdm-:0.auth-c", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({tv_sec=2, tv_nsec=0}, 0x7ffea92231b0) = 0

Also note that this affects every ssh/su with X11 forwarding ...
Comment 1 Herbert Poetzl 2018-03-28 15:58:28 CEST
ll -d /var/run/lxdm/lxdm*
-rw------- 1 bertl bertl 52 Mar 27 22:19 /var/run/lxdm/lxdm-:0.auth
srwxrwxrwx 1 root  root   0 Mar 27 12:54 /var/run/lxdm/lxdm.sock=

ll -d /var/run/lxdm
drwxr-xr-x 2 root root 80 Mar 27 22:19 /var/run/lxdm/

CC: (none) => herbert

Comment 2 Marja Van Waes 2018-03-30 17:49:31 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 3 David Walser 2018-03-31 23:12:12 CEST
Probably more an lxdm problem than an xauth problem.

Source RPM: xauth-1.0.10-1.mga6.src.rpm => xauth, lxdm
CC: (none) => nicolas.salguero

Comment 4 Aurelien Oudelet 2020-08-16 16:39:12 CEST
Mageia 6 changed to end-of-life (EOL) status on 2019-09-30. It is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan 
to fix it in a currently maintained version, simply change the 'version' to 
a later Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we 
weren't able to fix it before Mageia 6's end of life. If you are able to 
reproduce it against a later version of Mageia, you are encouraged to click 
on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a more recent
Mageia release includes newer upstream software that fixes bugs or makes them
obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Best regards,
Aurélien
Bugsquad Team

Resolution: (none) => OLD
CC: (none) => ouaurelien
Status: NEW => RESOLVED