Subject: xsrc/30489: /usr/X11R6/lib/X11/xdm/Xwilling must be executable
To: None <,,>
From: Rhialto <>
List: netbsd-bugs
Date: 06/10/2005 08:25:01
>Number:         30489
>Category:       xsrc
>Synopsis:       /usr/X11R6/lib/X11/xdm/Xwilling must be executable
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 10 08:25:01 +0000 2005
>Originator:     Rhialto
>Release:        NetBSD 2.0.2
System: NetBSD 2.0.2 NetBSD 2.0.2 (RADLs Doordringend Onjuiste Akkoord) #3: Wed Jun 8 23:15:34 CEST 2005 amd64
Architecture: x86_64
Machine: amd64
	If /usr/X11R6/lib/X11/xdm/Xwilling is not executable, remote
	logins via xdm will not work, and in fact, xdm will loop
	infinitely and use 100% cpu. At that point, it will not even
	terminate if interrupted.

radl:~$ sudo xdm -config /etc/X11/xdm-config -nodaemon -debug 10
DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value  /var/log/xdm
DisplayManager.daemonMode/DisplayManager.DaemonMode value  false
DisplayManager.pidFile/DisplayManager.PidFile value  /var/run/
DisplayManager.lockPidFile/DisplayManager.LockPidFile value true
DisplayManager.authDir/DisplayManager.authDir value /usr/X11R6/lib/X11/xdm
DisplayManager.autoRescan/DisplayManager.AutoRescan value true
DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true
DisplayManager.keyFile/DisplayManager.KeyFile value  /usr/X11R6/lib/X11/xdm/xdm-keys
DisplayManager.accessFile/DisplayManager.AccessFile value  /etc/X11/Xaccess
DisplayManager.exportList/DisplayManager.ExportList value 
DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/X11R6/lib/X11/xdm/
DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15
DisplayManager.sourceAddress/DisplayManager.SourceAddress value false
DisplayManager.willing/DisplayManager.Willing value  su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling
Created chooser socket 4
creating socket to listen on port 177 of address
select returns 1.  Rescan: 0  ChildReady: 0
header: 1 1 1
ConvertAddr returning 0 for family 2
all_query_respond: conntype=0, addr=, len=4
/usr/X11R6/lib/X11/xdm/Xwilling: Permission denied.
^CShutting down entire manager
^CShutting down entire manager

	(meanwhile xdm is NOT shutting down, it needs a kill -9)

	chmod a+x /usr/X11R6/lib/X11/xdm/Xwilling

	is merely a workaround, since xdm should not fail in this way if
	this script is not executable.

___ Olaf 'Rhialto' Seibert                            --  rhialto/at/
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!