problem bei erstellung einer jail

From: J. Erik Heinz <list(at)jerik.de>
Date: Tue, 7 Feb 2006 21:43:17 +0100

Hi,

Ich versuche gerade eine jail zu erstellen. Dabei hänge ich am 'make
distirbution' part.

als OS hab ich 5.4-STABLE am laufen. Bei der vorgehensweise habe ich
mich an die manpage gehalten und ein bisschen die /etc/make.conf
erweitert.

Zur Zeit hänge ich an folgenden fehler:

root(at)develop# pwd
/usr/src/etc
root(at)develop# make distribution DESTDIR=/usr/local/jail/test
cd /usr/src/etc; install -o root -g wheel -m 644 amd.map apmd.conf
auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf
dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow
hosts.equiv hosts.lpd inetd.conf login.access login.conf mac.conf
motd netconfig network.subr networks newsyslog.conf pf.conf pf.os
phones profile protocols rc rc.bsdextended rc.firewall rc.firewall6
rc.sendmail rc.shutdown rc.subr remote rpc services shells
snmpd.config sysctl.conf syslog.conf usbd.conf 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
/usr/local/jail/test/etc; cap_mkdb
/usr/local/jail/test/etc/login.conf; install -o root -g wheel -m 755
netstart pccard_ether rc.suspend rc.resume /usr/local/jail/test/etc;
install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess
/usr/local/jail/test/etc; pwd_mkdb -p -d /usr/local/jail/test/etc
/usr/local/jail/test/etc/master.passwd
cd /usr/src/etc/bluetooth; make install
nstall -o root -g wheel -m 600 hcsecd.conf
/usr/local/jail/test/etc/bluetooth/hcsecd.conf
install -o root -g wheel -m 644 hosts
/usr/local/jail/test/etc/bluetooth/hosts
install -o root -g wheel -m 444 protocols
/usr/local/jail/test/etc/bluetooth
cd /usr/src/etc/defaults; make install
install -o root -g wheel -m 444 devfs.rules pccard.conf periodic.conf
rc.conf /usr/local/jail/test/etc/defaults
cd /usr/src/etc/periodic; make install
===> daily
install -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 300.calendar 310.accounting
330.news 400.status-disks 420.status-network 405.status-ata-raid
430.status-rwho 440.status-mailq 450.status-security
460.status-mail-rejects 470.status-named 500.queuerun 999.local
/usr/local/jail/test/etc/periodic/daily
===> security
install -o root -g wheel -m 755 100.chksetuid 200.chkmounts
300.chkuid0 400.passwdless 500.ipfwdenied 510.ipfdenied 520.pfdenied
550.ipfwlimit 600.ip6fwdenied 650.ip6fwlimit 700.kernelmsg
800.loginfail 900.tcpwrap security.functions
/usr/local/jail/test/etc/periodic/security
===> weekly
install -o root -g wheel -m 755 120.clean-kvmdb 310.locate 320.whatis
330.catman 340.noid 400.status-pkg 999.local
/usr/local/jail/test/etc/periodic/weekly
===> monthly
install -o root -g wheel -m 755 200.accounting 999.local
/usr/local/jail/test/etc/periodic/monthly
cd /usr/src/etc/rc.d; make install
install -o root -g wheel -m 555 DAEMON LOGIN NETWORKING SERVERS abi
accounting addswap adjkerntz amd apm apmd archdep atm1 atm2 atm3
bgfsck bootparams bsnmpd ccd cleanvar cleartmp cron devd devfs
dhclient dmesg dumpon early.sh fsck gbde gbde_swap hostname ike inetd
initdiskless initrandom ip6addrctl ip6fw ipfilter ipfs ipfw ipmon
ipnat ipsec ipxrouted isdnd jail kadmind kerberos keyserv kldxref
kpasswdd ldconfig local localpkg lpd mixer motd mountcritlocal
mountcritremote mountd moused mroute6d mrouted msgs named natd netif
netoptions network_ipv6 nfsclient nfsd nfslocking nfsserver nisdomain
nsswitch ntpd ntpdate othermta pccard pcvt pf pflog preseedrandom
powerd power_profile ppp-user pppoed pwcheck quota random rarpd
rcconf.sh resolv root route6d routed routing rpcbind rtadvd rwho
savecore securelevel sendmail serial sppp sshd swap1 syscons sysctl
syslogd timed tmp ugidfw usbd var vinum virecover watchdogd ypbind
yppasswdd ypserv ypset ypupdated ypxfrd /usr/local/jail/test/etc/rc.d
cd /usr/src/etc/../gnu/usr.bin/send-pr; make etc-gnats-freefall
install -o root -g wheel -m 0644
/usr/src/gnu/usr.bin/send-pr/categories
/usr/local/jail/test/etc/gnats/freefall
cd /usr/src/etc/../share/termcap; make etc-termcap
ln -fs /usr/share/misc/termcap /usr/local/jail/test/etc/termcap
cd /usr/src/etc/../usr.sbin/rmt; make etc-rmt
rm -f /usr/local/jail/test/etc/rmt
ln -s /usr/sbin/rmt /usr/local/jail/test/etc/rmt
cd /usr/src/etc/pam.d; make install
install -o root -g wheel -m 444 README
/usr/local/jail/test/etc/pam.d/README
install -o root -g wheel -m 644 ftpd gdm imap kde login other passwd
pop3 rexecd rsh sshd su system telnetd xdm
/usr/local/jail/test/etc/pam.d
/usr/local/jail/test/etc/pam.d/ftp ->
/usr/local/jail/test/etc/pam.d/ftpd
cd /usr/src/etc; install -o root -g wheel -m 644
/usr/local/jail/test/etc/ssh
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /usr/src/etc.

Im Moment habe ich noch keine ahnung warum der Fehler auftritt, da das
installkommando ja vorher auch funktioniert hat, wenn ich mir die
ausgabe anschauen. Was mich jedoch wundert ist, das bspw blootooth
installiert wird , obwohl ich das in der make.conf ausgescahltet habe
( ich habe die option aus
http://www.section6.net/wiki/index.php/Creating_a_FreeBSD_Jail für die
make.conf übernommen)

Hat einer eine Idee woran das liegen könnte.... ich glaub ich probiere
jetzt mal einen durchlauf ohne make.conf optionen...

Gruss Erik

-- 
J. Erik Heinz
Keyboard-samuraing in process
:: All non-mailinglist mail to this emailadress will be deleted.
OpenBC: https://www.openbc.com/hp/JErik_Heinz
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 07 Feb 2006 - 21:45:19 CET

search this site