NetBSD-Bugs archive

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

xsrc/56993: xauth(1) broken



>Number:         56993
>Category:       xsrc
>Synopsis:       xauth(1) broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 03 06:20:00 +0000 2022
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.99
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD plug.duskware.de 9.99.99 NetBSD 9.99.99 (GENERIC64) #337: Fri Sep 2 11:30:06 CEST 2022 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

I updated this machine to -current yesterday and now xauth(1) misbehaves
and can't configure any authentication.

If I just invoke "xauth" it hangs indefinitely. Ktrace shows:

  1734   1734 xauth    CALL  __stat50(0xfffffff24650,0xfffffff245b8)
  1734   1734 xauth    NAMI  "/home/martin/.Xauthority-c"
  1734   1734 xauth    RET   __stat50 -1 errno 2 No such file or directory
  1734   1734 xauth    CALL  open(0xfffffff24650,0xa01,0x180)
  1734   1734 xauth    NAMI  "/home/martin/.Xauthority-c"
  1734   1734 xauth    RET   open -1 errno 13 Permission denied
  1734   1734 xauth    CALL  __nanosleep50(0xfffffff24550,0xfffffff24560)
  1734   1734 xauth    RET   __nanosleep50 0
  1734   1734 xauth    CALL  open(0xfffffff24650,0xa01,0x180)
  1734   1734 xauth    NAMI  "/home/martin/.Xauthority-c"
  1734   1734 xauth    RET   open -1 errno 13 Permission denied
  1734   1734 xauth    CALL  __nanosleep50(0xfffffff24550,0xfffffff24560)
  1734   1734 xauth    RET   __nanosleep50 0
  1734   1734 xauth    CALL  open(0xfffffff24650,0xa01,0x180)
  1734   1734 xauth    NAMI  "/home/martin/.Xauthority-c"
  1734   1734 xauth    RET   open -1 errno 13 Permission denied
  1734   1734 xauth    CALL  __nanosleep50(0xfffffff24550,0xfffffff24560)

<--- here I SIGINTed it

  1734   1734 xauth    RET   __nanosleep50 -1 errno 4 Interrupted system call
  1734   1734 xauth    PSIG  SIGINT caught handler=0xfc27760 mask=(): code=SI_NOINFO
  1734   1734 xauth    CALL  umask(0)
  1734   1734 xauth    RET   umask 2
  1734   1734 xauth    CALL  exit(0)

My homedir has the following .X* files:

-rw-rw-r--  1 martin  users    45 Oct  5  2003 .XSM-Default
-rw-------  1 martin  users   453 Sep  2 11:13 .Xauthority
-rw-r--r--  1 martin  users  1631 Feb 18  2000 .Xresources


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index