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

Re: Install fix for 2.3 -> 2.4



Hi,

Ignore the patch.  It sucks.  the part about the named in the passwd file 
still applies.  These are the directories mtree would fail to create.

missing: ./var/named (created)
missing: ./var/named/dev (created)
missing: ./var/named/etc (created)
missing: ./etc/afs (created)
missing: ./etc/ssl (created)
missing: ./etc/ssl/private (created)
missing: ./usr/obj (not created: File exists)
missing: ./usr/share/doc/html (created)
missing: ./usr/share/doc/html/lynx_help (created)
missing: ./usr/share/doc/html/lynx_help/keystrokes (created)
missing: ./usr/share/doc/usd/13.viref (created)
missing: ./usr/share/man/cat4/powerpc (created)
missing: ./usr/share/man/man4/alpha (created)
missing: ./usr/share/man/man4/pmax (created)
missing: ./usr/share/man/man4/powerpc (created)
missing: ./usr/share/tmac/mdoc (created)
missing: ./var/www/htdocs/manual/vhosts (created)
missing: ./usr/include/ssl (created)

Anybody have problems with these?  :-)

Regards,
-Chris

On Sat, Nov 07, 1998 at 12:00:08AM -0500, Christopher Turan wrote:
> Hi,
> 
> I believe I've found why so many people were having problems with the 
> 2.3 -> 2.4 make build.
> 
> (cd /usr/src/etc && make DESTDIR=/ distrib-dirs)
> install -d -o root -g wheel -m 755 /
> mtree -def mtree/4.4BSD.dist -p // -u
>   
> mtree: unknown user named
> mtree: failed at line 1632 of the specification
> *** Error code 1 (ignored)
> if [ ! -d //usr/src ]; then  install -d -o root -g wsrc -m 775 //usr/src;  fi
> cd /; rm -f sys; ln -s usr/src/sys sys
> 
> Mtree fails and can't create it's directories.  To fix, add 
> named:*:70:70::0:0:BIND Name Service Daemon:/var/named:/sbin/nologin
> to /etc/master.passwd using vipw.
> 
> Here is the fix to force the build to fail should this happen.  Most people
> people wouldn't notice this since the build would continue for like an hour 
> after this.
> 
> --- etc/Makefile.orig	Sun Sep 20 20:01:49 1998
> +++ etc/Makefile	Fri Nov  6 23:45:42 1998
> @@ -207,7 +207,7 @@
>  
>  distrib-dirs:
>  	${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}
> -	-mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u
> +	mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u
>  	if [ ! -d ${DESTDIR}/usr/src ]; then \
>  		${INSTALL} -d -o root -g wsrc -m 775 ${DESTDIR}/usr/src; \
>  	fi
> 
> Regards,
> -Chris


Visit your host, monkey.org