Subject: Re: /etc/rc.d/xdm hardcodes /usr/X11R6, i.e. conflicts with modular-x11
To: Luke Mewburn <lukem@netbsd.org>
From: Erik Bertelsen <bertelsen.erik@gmail.com>
List: current-users
Date: 08/30/2007 18:39:21
2007/8/29, Luke Mewburn <lukem@netbsd.org>:
> On Sat, Aug 25, 2007 at 07:33:04PM +0200, Erik Bertelsen wrote:
>   | It seems that /etc/rc.d/xdm as installed from
>   | ...src/NetBSD/src/etc/rc.d hardcodes
>   | the command to execute to be /usr/X11R6/bin/${name} and required_files
>   | to /etc/X11/xdm/xdm-config.
>   | This is on NetBSD-current and may also apply to NetBSD 4.
>
>
> Have you tried using the existing rc.conf(5) framework
> to override the 'command' variable in /etc/rc.d/xdm ?
>
>         echo 'command=/new/path/to/xdm' >> /etc/rc.conf.d/xdm

This does actually work, but I still wonder whether this is too kludgy
for a permanent solution -- at least the xdm package should mention
this.

Anyway thanks for suggesting a solution/work-around that is not
destroyed by postinstall :-)

- Erik