Subject: misc/25649: xdm(1) config dir is /etc/X11/xdm
To: None <gnats-bugs@gnats.NetBSD.org>
From: Michael Lyngbol <lyngbol@bifrost.lyngbol.dk>
List: netbsd-bugs
Date: 05/20/2004 09:01:12
>Number:         25649
>Category:       misc
>Synopsis:       /etc/rc.d/xdm: xdm-config is located in /etc/X11/xdm/
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 20 07:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Lyngbol
>Release:        NetBSD 2.0E
>Organization:
	
>Environment:
System: NetBSD bifrost 2.0E NetBSD 2.0E (BIFROST) #0: Tue May 18 17:54:18 CEST 2004 root@bifrost:/usr/src/sys/arch/i386/compile/BIFROST i386
Architecture: i386
Machine: i386

Snapshot from ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/snapshot/20040517-2.0E

>Description:
	xdm(1) configuration file 'xdm-config' is located in /etc/X11/xdm and not /usr/X11R6/lib/X11/xdm as /etc/rc.d/xdm refers to.
>How-To-Repeat:
	lyngbol@bifrost$ grep xdm /etc/rc.conf                                         
	xdm=YES                 xdm_flags=""            # X11 display manager; needs

	# /etc/rc.d/xdm start

	lyngbol@bifrost$ grep xdm /var/log/messages                                    
	May 20 08:43:42 bifrost root: /etc/rc: WARNING: /usr/X11R6/lib/X11/xdm/xdm-config is not readable.


>Fix:

--- /tmp/xdm.orig	2004-05-20 08:51:43.000000000 +0200
+++ /etc/rc.d/xdm	2004-05-20 08:48:29.000000000 +0200
@@ -13,7 +13,7 @@
 rcvar=$name
 command="/usr/X11R6/bin/${name}"
 pidfile="/var/run/${name}.pid"
-required_files="/usr/X11R6/lib/X11/xdm/xdm-config"
+required_files="/etc/X11/xdm/xdm-config"
 extra_commands="reload"
 
 load_rc_config $name
>Release-Note:
>Audit-Trail:
>Unformatted: