Date: Mon, 1 Jan 2001 22:11:05 -0500 From: "Dave VanAuken" <dave@hawk-systems.com> To: <freebsd-isp@FreeBSD.ORG> Subject: RE: Jail problems - Continued on fbsd 4.2 Release Message-ID: <DBEIKNMKGOBGNDHAAKGNOENNCKAA.dave@hawk-systems.com> In-Reply-To: <DBEIKNMKGOBGNDHAAKGNKENBCKAA.dave@hawk-systems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jail still not responding to telnet attempts. Have downloaded and completed a fresh install of FreeBSD 4.2 Release still had to run "make world" to get all the make builds to complete properly (following the man pages for "jail"). Annoying, but whatever. once complete, have gone through the steps for activating the jail... after ifconfiging the alias for the new IP addr, mounting the proc I run the jail and get teh following: **start screen dump** # jail /usr/home/lcadmin lewiscraft.ca 192.168.1.111 /bin/sh /etc/rc Skipping disk checks ... adjkerntz[269]: sysctl(set_disrtcset): Operation not permitted dmesg: short read dmesg: kvm_read: Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 Additional routing options: tcp extensions=NOsysctl: net.inet.tcp.rfc1323: Opera tion not permitted TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: Operation not permitted . routing daemons:. additional daemons: syslogd. Doing additional network setup:. Starting final network daemons:. setting ELF ldconfig path: /usr/lib /usr/lib/compat setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout starting standard daemons: inetd cron sendmail. Initial rc.i386 initialization:. rc.i386 configuring syscons: blank_time/etc/rc.i386: cannot open /dev/ttyv0: no such file . additional ABI support:. Local package initialization:. Additional TCP options:. Mon Jan 1 21:44:36 CST 2001 # **end screen dump** as you can see we are getting an operation not permitted error from the start, and from what I can discern, this is causing a cascade of the other errors. added the flags to the host machine rc.conf as indicated in man jail(8) used sysinstall witin the jail to set up user, root pw (worked this time)... Am not sure about the following as directed in the man jail(8) - created a blank file for the /etc/fstab within the jail - that right?? - disabled port mapper from within sysinstall(in jail) - ran newaliases - no problems - !!not sure what they want for disabling the interface configuration... - !!not sure what needs to be entered in /etc/resolve.conf for the jail's name resolution - root password set via sysinstall(in jail) - timezone set via sysinstall(in jail) - account added via sysinstall(in jail) - have not added any packages yet not sure where to look, appreciate feedback/advice/RTFM pointers :) Dave - what to set up for resolv.conf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNOENNCKAA.dave>