Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 18:58:08 -0230
From:      Paul David Fardy <pdfardy@mac.com>
To:        stable@freebsd.ORG
Subject:   jail "make distribution" does not install /dev/MAKEDEV
Message-ID:  <A8563574-6393-11D6-87BA-0003938656E6@mac.com>

next in thread | raw e-mail | index | archive | help
With recent -stable ('supped in March, April, and 4.6-PRELEASE of May 6th)
, I've found
that /dev/MAKEDEV is not installed using the

    cd /usr/src/etc; make distribution DESTDIR=$D -DNO_MAKEDEV

instructions from jail(8).  It does however work in 4.5-RELEASE-p4.  A log 
of the
incomplete install is included below and I see that the log from 
4.5-RELEASE-p4
shows the install of MAKEDEV immediately after pwd_mkdb:

    pwd_mkdb -p -d /jail/tristram/etc /jail/tristram/etc/master.passwd;
    install -c -o root -g wheel -m 555  MAKEDEV.local MAKEDEV 
/jail/tristram/dev

BTW, the man page suggests "cd /usr/src; make world DESTDIR=$D".  It's more
than reasonable to update that, isn't it?

    cd /usr/src
    make buildworld
    make installworld DESTDIR=$D

It should be suggested that one can make several jails, ... without 
rebuilding world.

On a related note, can I, from the host environment install ports with a
similar command

     cd /usr/port/foo/bar; make install DESTDIR=/jail/path (/jail/path/usr/
local)?

Thanks much in advance,

Paul
--

--- a log of the make that failed to install MAKEDEV 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 #


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8563574-6393-11D6-87BA-0003938656E6>