Subject: Re: releng-current
To: MLH <mlh@goathill.org>
From: Jim Bernard <jbernard@mines.edu>
List: tech-x11
Date: 11/03/2003 15:57:40
On Mon, Nov 03, 2003 at 04:25:03PM -0600, MLH wrote:
> >
> > On Tue, Oct 28, 2003 at 05:31:02PM -0600, MLH wrote:
> > > -----------------------
> > > $ cat /var/log/xdm.log
> > >
> > > Fatal server error:
> > > Cannot open log file "/var/log/XFree86.0.log"
> > >
> > These sound like perhaps your server is not suid root.
>
> Close...
>
> The one that works:
> -rws--x--x 1 root wheel 1773111 Oct 29 17:23 /usr/X11R6/bin/XFree86
> The one that doesn't work:
> -rws--x--x 1 mlh wheel 1765687 Oct 28 16:04 /usr/X11R6/bin/XFree86
>
> (built from the same source code)
>
> Note the owner... make sets packages up the xsets as being owned
> by the builder, not root, so install, etc. extract them owned by
> that user. When I changed owner, it worked.
I had the impression you were having a problem with X sets downloaded
from releng.netbsd.org. I just checked, and those sets do have the proper
ownerships and permissions, so if you extract them (as root, of course, and
with permissions and ownerships preserved) you should have a working
installation.
If the problem is actually with X sets you've built yourself, then the
problem is evidently that you're not building as root. There is support
for nonroot (MKUNPRIVED) builds of the base system, but I'm unaware of any
support for that for xsrc. Perhaps that will come when the integration
of xsrc builds into the build.sh infrastructure is completed. If you're
determined not to build as root, you could download from releng and write
a script to extract the ownerships and permissions and transfer them to
the files you've installed. Or just install the releng sets and save
some work.