Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 19:17:35 -0230 (NDT)
From:      Paul Fardy <pdf@mun.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/37909: make distribution DESTDIR=/path -DNO_MAKEDEV fails to install MAKEDEV
Message-ID:  <200205092147.g49LlZWL055009@salador.ucs.mun.ca>

next in thread | raw e-mail | index | archive | help

>Number:         37909
>Category:       conf
>Synopsis:       make distribution DESTDIR=/path -DNO_MAKEDEV fails to install MAKEDEV
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 09 15:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Fardy
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
Memorial University of Newfoundland
>Environment:

System: FreeBSD salador.ucs.mun.ca 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Tue May 7 12:20:29 NDT 2002 pdf@salador.ucs.mun.ca:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Probably not restricted to jail(8), but the jail installation is incomplete:

	cd /usr/src/etc; make distribution DESTDIR=/path/to/jail -DNO_MAKEDEV

	Should install /dev/MAKEDEV (or rather /path/to/jail/dev/MAKEDEV) but it doesn't.
	On FreeBSD 4.5-RELEASE-p4, make distribution reports the install of MAKEDEV in the
	first, albeit long, line, following the pwd_mkdb.

-- log of make follows --
salador # make distribution DESTDIR=/m1/jail/tristram -DNO_MAKEDEV
(cd /usr/src/etc;  install -c -o root -g wheel -m 644 amd.map apmd.conf auth.conf  crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf fbtab ftpusers gettytab group  hosts hosts.allow host.conf hosts.equiv hosts.lpd  inetd.conf login.access login.conf  motd modems networks newsyslog.conf  pam.conf phones printcap profile protocols  rc rc.atm rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  rc.syscons rc.sysctl remote rpc services shells sysctl.conf  syslog.conf usbd.conf  etc.i386/disktab  etc.i386/rc.i386  etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  /usr/src/etc/../usr.bin/mail/misc/mail.rc  /usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn /m1/jail/tristram/etc;  install -c -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /m1/jail/tristram/etc;  install -c -o root -g wheel -m 644 defaults/rc.conf /m1/jail/tristram/etc/defaults/;  install -c -o!
  root -g wheel -m 644 defaults/make.conf /m1/jail/tristram/etc/defaults/;  install -c -o root -g wheel -m 644 defaults/pccard.conf /m1/jail/tristram/etc/defaults/;  install -c -o root -g wheel -m 644 defaults/periodic.conf /m1/jail/tristram/etc/defaults/;  install -c -o root -g wheel -m 600 /dev/null  /m1/jail/tristram/var/log/cron;  install -c -o root -g wheel -m 600  master.passwd nsmb.conf /m1/jail/tristram/etc;  ( cd /usr/src/etc/periodic; make install );  ( cd /usr/src/etc/../gnu/usr.bin/send-pr; make etc-gnats-freefall );  ( cd /usr/src/etc/../share/termcap; make etc-termcap );  ( cd /usr/src/etc/../usr.sbin/rmt; make etc-rmt );  pwd_mkdb -p -d /m1/jail/tristram/etc /m1/jail/tristram/etc/master.passwd )
===> daily
install -c -o root -g wheel -m 755 100.clean-disks  110.clean-tmps  120.clean-preserve  130.clean-msgs  140.clean-rwho  150.clean-hoststat  200.backup-passwd  210.backup-aliases  220.backup-distfile  300.calendar  310.accounting  320.rdist  330.news  400.status-disks  420.status-network  430.status-rwho  440.status-mailq  450.status-security  460.status-mail-rejects  470.status-named  500.queuerun  999.local 340.uucp  410.status-uucp  /m1/jail/tristram/etc/periodic/daily
===> security
install -c -o root -g wheel -m 755 100.chksetuid  200.chkmounts  300.chkuid0  400.passwdless  500.ipfwdenied  550.ipfwlimit  600.ip6fwdenied  650.ip6fwlimit  700.kernelmsg  800.loginfail  900.tcpwrap  /m1/jail/tristram/etc/periodic/security
===> weekly
install -c -o root -g wheel -m 755 120.clean-kvmdb  310.locate  320.whatis  330.catman  340.noid  400.status-pkg  999.local 300.uucp  /m1/jail/tristram/etc/periodic/weekly
===> monthly
install -c -o root -g wheel -m 755 200.accounting  999.local  /m1/jail/tristram/etc/periodic/monthly
install -c -o root -g wheel -m 0644  /usr/src/gnu/usr.bin/send-pr/categories  /m1/jail/tristram/etc/gnats/freefall
ln -fs /usr/share/misc/termcap /m1/jail/tristram/etc/termcap
rm -f /m1/jail/tristram/etc/rmt
ln -s /usr/sbin/rmt /m1/jail/tristram/etc/rmt
( cd /usr/src/etc/isdn; make install )
for i in answer                  isdntel.sh              record                 tell                     tell-record             unknown_incoming ; do  install -c -o root -g wheel -m 700 $i /m1/jail/tristram/etc/isdn ;  done ;  for i in holidays.D          isdnd.rates.A           isdnd.rates.D           isdnd.rates.F  isdnd.rates.L            isdnd.rates.UK.BT       isdnd.rc.sample                isdntel.alias.sample ; do  install -c -o root -g wheel -m 600 $i /m1/jail/tristram/etc/isdn ;  done
( cd /usr/src/etc/sendmail; make distribution );
install -c -o root -g wheel -m 644 /usr/src/etc/sendmail/freebsd.mc  /m1/jail/tristram/etc/mail/freebsd.mc
install -c -o root -g wheel -m 644 freebsd.cf  /m1/jail/tristram/etc/mail/freebsd.cf
install -c -o root -g wheel -m 644 freebsd.cf  /m1/jail/tristram/etc/mail/sendmail.cf
install -c -o root -g wheel -m 444 /usr/src/etc/sendmail/../../contrib/sendmail/cf/cf/submit.mc  /m1/jail/tristram/etc/mail/freebsd.submit.mc
install -c -o root -g wheel -m 444 /usr/src/etc/sendmail/../../contrib/sendmail/cf/cf/submit.cf  /m1/jail/tristram/etc/mail/freebsd.submit.cf
install -c -o root -g wheel -m 444 /usr/src/etc/sendmail/../../contrib/sendmail/cf/cf/submit.cf  /m1/jail/tristram/etc/mail/submit.cf
install -c -o root -g wheel -m 444 /usr/src/etc/sendmail/../../contrib/sendmail/src/helpfile  /m1/jail/tristram/etc/mail/helpfile
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/log/sendmail.st
( cd /usr/src/etc/../gnu/libexec/uucp/sample; make install )
install -c -o root  -g wheel -m 444   call.sample  /m1/jail/tristram/etc/uucp/call.sample
install -c -o root  -g wheel -m 444   config.sample  /m1/jail/tristram/etc/uucp/config.sample
install -c -o root  -g wheel -m 444   dial.sample  /m1/jail/tristram/etc/uucp/dial.sample
install -c -o root  -g wheel -m 444   dialcode.sample  /m1/jail/tristram/etc/uucp/dialcode.sample
install -c -o root  -g wheel -m 444   passwd.sample  /m1/jail/tristram/etc/uucp/passwd.sample
install -c -o root  -g wheel -m 444   port.sample  /m1/jail/tristram/etc/uucp/port.sample
install -c -o root  -g wheel -m 444   sys1.sample  /m1/jail/tristram/etc/uucp/sys1.sample
install -c -o root  -g wheel -m 444   sys2.sample  /m1/jail/tristram/etc/uucp/sys2.sample
(cd /usr/src/etc; install -c -o root -g wheel -m 644 /usr/src/etc/../crypto/openssh/ssh_config  /usr/src/etc/../crypto/openssh/sshd_config  primes  /m1/jail/tristram/etc/ssh )
(cd /usr/src/etc; install -c -o root -g wheel -m 644 /usr/src/etc/../crypto/openssl/apps/openssl.cnf  /m1/jail/tristram/etc/ssl )
(cd /usr/src/etc/root;  install -c -o root -g wheel -m 644 dot.cshrc  /m1/jail/tristram/root/.cshrc;  install -c -o root -g wheel -m 644 dot.klogin  /m1/jail/tristram/root/.klogin;  install -c -o root -g wheel -m 644 dot.login  /m1/jail/tristram/root/.login;  install -c -o root -g wheel -m 644 dot.profile  /m1/jail/tristram/root/.profile;  rm -f /m1/jail/tristram/.cshrc /m1/jail/tristram/.profile;  ln /m1/jail/tristram/root/.cshrc /m1/jail/tristram/.cshrc;  ln /m1/jail/tristram/root/.profile /m1/jail/tristram/.profile)
cd /usr/src/etc/mtree; install -c -o root -g wheel -m 444  BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist  BSD.var.dist BSD.x11.dist BSD.x11-4.dist BSD.sendmail.dist /m1/jail/tristram/etc/mtree
cd /usr/src/etc/namedb; install -c -o root -g wheel -m 644  PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root  make-localhost /m1/jail/tristram/etc/namedb
cd /usr/src/etc/ppp; install -c -o root -g wheel -m 600  ppp.conf /m1/jail/tristram/etc/ppp
cd /usr/src/etc/mail; install -c -o root -g wheel -m 644  Makefile README mailer.conf access.sample virtusertable.sample  mailertable.sample aliases /m1/jail/tristram/etc/mail
+ ln -s mail/aliases /m1/jail/tristram/etc/aliases
install -c -o root -g operator -m 664 /dev/null  /m1/jail/tristram/etc/dumpdates
install -c -o nobody -g wheel -m 644 /dev/null  /m1/jail/tristram/var/db/locate.database
install -c -o root -g wheel -m 600 /dev/null  /m1/jail/tristram/var/log/auth.log
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/log/lpd-errs
install -c -o root -g wheel -m 640 /dev/null  /m1/jail/tristram/var/log/maillog
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/log/lastlog
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/log/messages
install -c -o root -g wheel -m 600 /dev/null  /m1/jail/tristram/var/log/security
install -c -o root -g network -m 640 /dev/null  /m1/jail/tristram/var/log/slip.log
install -c -o root -g network -m 640 /dev/null  /m1/jail/tristram/var/log/ppp.log
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/log/wtmp
install -c -o root -g wheel -m 644 /dev/null  /m1/jail/tristram/var/run/utmp
install -c -o root -g wheel -m 644 /usr/src/etc/minfree  /m1/jail/tristram/var/crash
(cd /usr/src/etc/..;  install -c -o root -g wheel -m 444  COPYRIGHT  /m1/jail/tristram/)
(cd /usr/src/etc/../share/man; make makedb; )
makewhatis /m1/jail/tristram/usr/share/man
makewhatis /m1/jail/tristram/usr/share/perl/man
salador # pwd
/usr/src/etc
salador # cd /m1/jail/tristram/dev
salador # ls
fd/
salador # 
>How-To-Repeat:

	D=/var/tmp/jail
	cd /usr/src
	make installworld DESTDIR=$D
	cd /usr/src/etc; make distribution DESTDIR=$D -DNO_MAKEDEV
	cd $D/dev
	ls -l MAKEDEV

>Fix:

	None to offer.  I suspect it's got something to do with -DNO_MAKEDEV and,
	perhaps, makefile mods anticipating DEVFS or something like that.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205092147.g49LlZWL055009>